Class InWorkerServiceTypeDetails

java.lang.Object
com.illumon.iris.controller.InWorkerServiceTypeDetails
All Implemented Interfaces:
Serializable

public class InWorkerServiceTypeDetails
extends Object
implements Serializable
Container for details on an in-worker service type.
See Also:
Serialized Form
  • Method Details

    • hasScript

      public boolean hasScript()
      Return whether this in-worker service type has a script.
      Returns:
      true if the in-worker service has a script, false otherwise
    • getRoutingServiceType

      @NotNull public InWorkerServiceTypeDetails.RoutingServiceType getRoutingServiceType()
      Return the InWorkerServiceTypeDetails.RoutingServiceType used by this in-worker service.
      Returns:
      the InWorkerServiceTypeDetails.RoutingServiceType
    • getRoutingServiceTag

      @Nullable public String getRoutingServiceTag()
      Return the allowed routing service tag for this in-worker service.
      Returns:
      the allowed routing service tag allowed for this in-worker service, or null if none are defined
    • getRoutingServiceExcludeTags

      @NotNull public List<String> getRoutingServiceExcludeTags()
      Return a List of the routing tag values not allowed for this in-worker service.
      Returns:
      a List of the routing tag values not allowed for this in-worker service
    • getConfigContextValues

      @NotNull public List<String> getConfigContextValues()
      Return a List of the configuration context values allowed for this in-worker service.
      Returns:
      a List of the configuration context values allowed for this in-worker service
    • getDbServerClasses

      @NotNull public List<String> getDbServerClasses()
      Return a List of the server classes allowed for this in-worker service.
      Returns:
      a List of the server classes allowed for this in-worker service
    • getAllowedGroups

      @NotNull public List<String> getAllowedGroups()
      Return a List of the groups allowed to run this in-worker service.
      Returns:
      a List of the groups allowed to run this in-worker service
    • getScriptUpdateClass

      @Nullable public String getScriptUpdateClass()
      Return the script update class for this in-worker service.
      Returns:
      the script update class for this in-worker service, or null if none is provided
    • getCustomFieldName

      @Nullable public String getCustomFieldName()
      Provide the name of an optional custom text field.
      Returns:
      the text field's name, or null if none is required
    • getCustomFieldValues

      @NotNull public List<String> getCustomFieldValues()
      Provide the available values for an optional text field.
      Returns:
      the available values, or null if none are provided
    • isCustomFieldEditable

      public boolean isCustomFieldEditable()
      Indicate whether or not the custom field is editable (allows the user to provide their own values).
      Returns:
      true if the custom field is editable, false otherwise