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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) StringgetInitialDelay()Gets the value of initialDelay@Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) StringgetInMemoryRetentionPeriod()Gets the value of inMemoryRetentionPeriod property@Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) StringgetJobRetentionPeriod()Gets the value of jobRetentionPeriodbooleangetPersistingEnabled()Gets the value of persistingEnabled property@Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) StringgetPollInterval()Gets 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.
-
-
-
Method Detail
-
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
void setInMemoryRetentionPeriod(String value) throws PropertyVetoException
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
void setJobRetentionPeriod(String value) throws PropertyVetoException
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
void setPersistingEnabled(boolean value) throws PropertyVetoExceptionSets 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
void setPollInterval(String value) throws PropertyVetoException
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
void setInitialDelay(String value) throws PropertyVetoException
Sets the value of the initialDelay property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
-