Interface ManagedJobConfig
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,DomainExtension,jakarta.validation.Payload,org.jvnet.hk2.config.types.PropertyBag
public interface ManagedJobConfig
extends DomainExtension, org.jvnet.hk2.config.types.PropertyBag, jakarta.validation.Payload
This config bean will define parameters for Managed jobs A Managed job is a commands which is annotated with
either @ManagedJob,@Progress or running with --detach
- Author:
- Bhakti Mehta
-
Method Summary
Modifier and TypeMethodDescription@Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) StringGets the value of initialDelay@Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) StringGets the value of inMemoryRetentionPeriod property@Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) StringGets the value of jobRetentionPeriodbooleanGets the value of persistingEnabled property@Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) StringGets the value of pollInterval propertyvoidsetInitialDelay(String value) Sets the value of the initialDelay property.voidsetInMemoryRetentionPeriod(String value) Sets the value of the inMemoryRetentionPeriod property.voidsetJobRetentionPeriod(String value) Sets the value of the jobRetentionPeriod property.voidsetPersistingEnabled(boolean value) Sets the value of the persistingenabled property.voidsetPollInterval(String value) Sets the value of the pollInterval property.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Method Details
-
getInMemoryRetentionPeriod
@Pattern(regexp="[1-9]\\d*([hms]|[HMS])", message="{invalid.time.period.specified}", payload=ManagedJobConfig.class) @Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) String getInMemoryRetentionPeriod()Gets the value of inMemoryRetentionPeriod property- Returns:
- possible object is
String
-
setInMemoryRetentionPeriod
Sets the value of the inMemoryRetentionPeriod property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getJobRetentionPeriod
@Pattern(regexp="[1-9]\\d*([hms]|[HMS])", message="{invalid.time.period.specified}", payload=ManagedJobConfig.class) @Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) String getJobRetentionPeriod()Gets the value of jobRetentionPeriod- Returns:
-
setJobRetentionPeriod
Sets the value of the jobRetentionPeriod property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getPersistingEnabled
boolean getPersistingEnabled()Gets the value of persistingEnabled property- Returns:
-
setPersistingEnabled
Sets the value of the persistingenabled property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getPollInterval
@Pattern(regexp="[1-9]\\d*([hms]|[HMS])", message="{invalid.time.period.specified}", payload=ManagedJobConfig.class) @Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) String getPollInterval()Gets the value of pollInterval property- Returns:
- possible object is
String
-
setPollInterval
Sets the value of the pollInterval property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getInitialDelay
@Pattern(regexp="[1-9]\\d*([hms]|[HMS])", message="{invalid.time.period.specified}", payload=ManagedJobConfig.class) @Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) String getInitialDelay()Gets the value of initialDelay- Returns:
-
setInitialDelay
Sets the value of the initialDelay property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-