Class Always
java.lang.Object
io.github.projectunified.cronutils.model.field.expression.FieldExpression
io.github.projectunified.cronutils.model.field.expression.Always
- All Implemented Interfaces:
Serializable
Represents a star (*) value on cron expression field.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaccept(FieldExpressionVisitor visitor) Accept a visitor to perform some action on the instance.asString()Represents FieldExpression as string.toString()Methods inherited from class io.github.projectunified.cronutils.model.field.expression.FieldExpression
always, and, questionMark
-
Method Details
-
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.
-
toString
-