Class And
java.lang.Object
io.github.projectunified.cronutils.model.field.expression.FieldExpression
io.github.projectunified.cronutils.model.field.expression.And
- All Implemented Interfaces:
Serializable
Represents a conjunction of cron expressions for a field.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(FieldExpressionVisitor visitor) Accept a visitor to perform some action on the instance.and(FieldExpression exp) asString()Represents FieldExpression as string.Methods inherited from class io.github.projectunified.cronutils.model.field.expression.FieldExpression
always, questionMark
-
Constructor Details
-
And
public And()
-
-
Method Details
-
and
- Overrides:
andin classFieldExpression
-
accept
Description copied from class:FieldExpressionAccept a visitor to perform some action on the instance. Current instance is cloned, so that we ensure immutability. Clone of this instance is returned after visitor.visit(clone) was invoked.- Specified by:
acceptin classFieldExpression- Parameters:
visitor- - FieldExpressionVisitor instance, never null- Returns:
- FieldExpression copied instance with visitor action performed.
-
asString
Description copied from class:FieldExpressionRepresents FieldExpression as string.- Specified by:
asStringin classFieldExpression- Returns:
- String representation, never null.
-
getExpressions
-