Class PollableOptions.ConstantPollStrategy
- java.lang.Object
-
- com.broadleafcommerce.metadata.dsl.core.extension.PollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
- com.broadleafcommerce.metadata.dsl.core.extension.PollableOptions.ConstantPollStrategy
-
- All Implemented Interfaces:
Copyable<PollableOptions.ConstantPollStrategy>,Serializable
- Enclosing class:
- PollableOptions
public static class PollableOptions.ConstantPollStrategy extends PollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
This represents thePollableOptions.PollStrategyType.CONSTANTpolling strategy. This strategy applies a constant interval when polling, for example: `I = C`.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstantPollStrategy(int interval)ConstantPollStrategy(PollableOptions.ConstantPollStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)PollableOptions.ConstantPollStrategycopy()booleanequals(Object o)intgetInterval()inthashCode()-
Methods inherited from class com.broadleafcommerce.metadata.dsl.core.extension.PollableOptions.PollStrategy
getType
-
-
-
-
Constructor Detail
-
ConstantPollStrategy
public ConstantPollStrategy(int interval)
-
ConstantPollStrategy
public ConstantPollStrategy(PollableOptions.ConstantPollStrategy strategy)
-
-
Method Detail
-
copy
public PollableOptions.ConstantPollStrategy copy()
- Returns:
- a deep copy of this instance
-
getInterval
public int getInterval()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
-