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 Type
    Method
    Description
    @Pattern(regexp="[0-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) String
    Gets the value of initialDelay
    @Pattern(regexp="[1-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) String
    Gets the value of inMemoryRetentionPeriod property
    @Pattern(regexp="[0-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) String
    Gets the value of jobRetentionPeriod
    boolean
    Gets the value of persistingEnabled property
    @Pattern(regexp="[0-9]\\d*([hms]|[HMS])",message="{invalid.time.period.specified}",payload=ManagedJobConfig.class) String
    Gets the value of pollInterval property
    void
    Sets the value of the initialDelay property.
    void
    Sets the value of the inMemoryRetentionPeriod property.
    void
    Sets the value of the jobRetentionPeriod property.
    void
    setPersistingEnabled(boolean value)
    Sets the value of the persistingenabled property.
    void
    Sets the value of the pollInterval property.

    Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy

    createChild, deepCopy, getParent, getParent

    Methods 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

      void setInMemoryRetentionPeriod(String value) throws PropertyVetoException
      Sets the value of the inMemoryRetentionPeriod property.
      Parameters:
      value - allowed object is String
      Throws:
      PropertyVetoException
    • getJobRetentionPeriod

      @Pattern(regexp="[0-9]\\d*([hms]|[HMS])", message="{invalid.time.period.specified}", payload=ManagedJobConfig.class) @Pattern(regexp="[0-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 is String
      Throws:
      PropertyVetoException
    • getPersistingEnabled

      boolean getPersistingEnabled()
      Gets the value of persistingEnabled property
      Returns:
    • setPersistingEnabled

      void setPersistingEnabled(boolean value) throws PropertyVetoException
      Sets the value of the persistingenabled property.
      Parameters:
      value - allowed object is String
      Throws:
      PropertyVetoException
    • getPollInterval

      @Pattern(regexp="[0-9]\\d*([hms]|[HMS])", message="{invalid.time.period.specified}", payload=ManagedJobConfig.class) @Pattern(regexp="[0-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 is String
      Throws:
      PropertyVetoException
    • getInitialDelay

      @Pattern(regexp="[0-9]\\d*([hms]|[HMS])", message="{invalid.time.period.specified}", payload=ManagedJobConfig.class) @Pattern(regexp="[0-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 is String
      Throws:
      PropertyVetoException