java.lang.Object
io.github.projectunified.cronutils.model.field.expression.FieldExpression
io.github.projectunified.cronutils.model.field.expression.And
All Implemented Interfaces:
Serializable

public class And extends FieldExpression
Represents a conjunction of cron expressions for a field.
See Also:
  • Constructor Details

    • And

      public And()
  • Method Details

    • and

      public And and(FieldExpression exp)
      Overrides:
      and in class FieldExpression
    • accept

      public FieldExpression accept(FieldExpressionVisitor visitor)
      Description copied from class: FieldExpression
      Accept 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:
      accept in class FieldExpression
      Parameters:
      visitor - - FieldExpressionVisitor instance, never null
      Returns:
      FieldExpression copied instance with visitor action performed.
    • asString

      public String asString()
      Description copied from class: FieldExpression
      Represents FieldExpression as string.
      Specified by:
      asString in class FieldExpression
      Returns:
      String representation, never null.
    • getExpressions

      public List<FieldExpression> getExpressions()