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.CONSTANT
polling 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 boolean
canEqual(Object other)
PollableOptions.ConstantPollStrategy
copy()
boolean
equals(Object o)
int
getInterval()
int
hashCode()
-
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:
equals
in classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
-