public class OutputLimitSpec extends java.lang.Object implements MetaDefItem, java.io.Serializable
Constructor and Description |
---|
OutputLimitSpec(java.lang.Double rate,
java.lang.String variableForRate,
OutputLimitRateType rateType,
OutputLimitLimitType displayLimit,
ExprNode whenExpressionNode,
java.util.List<OnTriggerSetAssignment> thenExpressions,
java.util.List<ExprNode> crontabAtSchedule,
ExprTimePeriod timePeriodExpr,
ExprTimePeriod afterTimePeriodExpr,
java.lang.Integer afterNumberOfEvents,
boolean andAfterTerminate,
ExprNode andAfterTerminateExpr,
java.util.List<OnTriggerSetAssignment> andAfterTerminateSetExpressions) |
OutputLimitSpec(OutputLimitLimitType displayLimit,
OutputLimitRateType rateType) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAfterNumberOfEvents()
Returns the after-keyword number of events.
|
ExprTimePeriod |
getAfterTimePeriodExpr()
Returns the after-keyword time period.
|
ExprNode |
getAndAfterTerminateExpr() |
java.util.List<OnTriggerSetAssignment> |
getAndAfterTerminateThenExpressions() |
java.util.List<ExprNode> |
getCrontabAtSchedule()
Returns crontab parameters, or null if not using crontab-at output.
|
OutputLimitLimitType |
getDisplayLimit()
Returns the type of output limit.
|
java.lang.Double |
getRate()
Returns the rate, or null or -1 if a variable is used instead
|
OutputLimitRateType |
getRateType()
Returns the type of rate.
|
java.util.List<OnTriggerSetAssignment> |
getThenExpressions()
Returns a list of variable assignments, or null if none made.
|
ExprTimePeriod |
getTimePeriodExpr()
Returns time period expression or null if none used.
|
java.lang.String |
getVariableName()
Returns the variable name if set, or null if a fixed rate
|
ExprNode |
getWhenExpressionNode()
Returns the when-keyword trigger expression, or null if not using when.
|
boolean |
isAndAfterTerminate() |
void |
setAfterTimePeriodExpr(ExprTimePeriod afterTimePeriodExpr) |
void |
setAndAfterTerminateExpr(ExprNode andAfterTerminateExpr) |
void |
setAndAfterTerminateThenExpressions(java.util.List<OnTriggerSetAssignment> andAfterTerminateThenExpressions) |
void |
setTimePeriodExpr(ExprTimePeriod timePeriodExpr) |
void |
setWhenExpressionNode(ExprNode whenExpressionNode)
Sets a new when-keyword trigger expression.
|
public OutputLimitSpec(java.lang.Double rate, java.lang.String variableForRate, OutputLimitRateType rateType, OutputLimitLimitType displayLimit, ExprNode whenExpressionNode, java.util.List<OnTriggerSetAssignment> thenExpressions, java.util.List<ExprNode> crontabAtSchedule, ExprTimePeriod timePeriodExpr, ExprTimePeriod afterTimePeriodExpr, java.lang.Integer afterNumberOfEvents, boolean andAfterTerminate, ExprNode andAfterTerminateExpr, java.util.List<OnTriggerSetAssignment> andAfterTerminateSetExpressions)
public OutputLimitSpec(OutputLimitLimitType displayLimit, OutputLimitRateType rateType)
public OutputLimitLimitType getDisplayLimit()
public OutputLimitRateType getRateType()
public java.lang.Double getRate()
public java.lang.String getVariableName()
public ExprNode getWhenExpressionNode()
public java.util.List<ExprNode> getCrontabAtSchedule()
public void setWhenExpressionNode(ExprNode whenExpressionNode)
whenExpressionNode
- to setpublic java.util.List<OnTriggerSetAssignment> getThenExpressions()
public ExprTimePeriod getTimePeriodExpr()
public ExprTimePeriod getAfterTimePeriodExpr()
public java.lang.Integer getAfterNumberOfEvents()
public ExprNode getAndAfterTerminateExpr()
public void setAndAfterTerminateExpr(ExprNode andAfterTerminateExpr)
public boolean isAndAfterTerminate()
public java.util.List<OnTriggerSetAssignment> getAndAfterTerminateThenExpressions()
public void setAndAfterTerminateThenExpressions(java.util.List<OnTriggerSetAssignment> andAfterTerminateThenExpressions)
public void setAfterTimePeriodExpr(ExprTimePeriod afterTimePeriodExpr)
public void setTimePeriodExpr(ExprTimePeriod timePeriodExpr)