Class GovernanceActionTypeProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class GovernanceActionTypeProperties
    extends ReferenceableProperties
    GovernanceActionTypeProperties provides a structure for carrying the properties for a governance action type.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      java.lang.String getDescription()
      Return the description of the governance action.
      java.lang.String getDisplayName()
      Return the display name for the governance action.
      int getDomainIdentifier()
      Return the identifier of the governance domain that this action belongs to (0=ALL/ANY).
      java.lang.String getGovernanceEngineGUID()
      Return the unique identifier of governance engine that is processing the governance action.
      java.util.Map<java.lang.String,​java.lang.String> getRequestParameters()
      Return the parameters to pass onto the governance service.
      java.lang.String getRequestType()
      Return the request type associated with this governance action.
      java.util.List<java.lang.String> getSupportedGuards()
      Return the list of guards provided by the previous governance service.
      int hashCode()
      Return hash code for this object
      void setDescription​(java.lang.String description)
      Set up the description of the governance action.
      void setDisplayName​(java.lang.String displayName)
      Set up the display name for the governance action.
      void setDomainIdentifier​(int domainIdentifier)
      Set up the identifier of the governance domain that this action belongs to (0=ALL/ANY).
      void setGovernanceEngineGUID​(java.lang.String governanceEngineGUID)
      Set up the unique identifier of governance engine that is processing the governance action.
      void setRequestParameters​(java.util.Map<java.lang.String,​java.lang.String> requestParameters)
      Set up the parameters to pass onto the governance service.
      void setRequestType​(java.lang.String requestType)
      Set up the request type associated with this governance action, used to identify ths governance service to run.
      void setSupportedGuards​(java.util.List<java.lang.String> supportedGuards)
      Set up the list of guards provided by the previous governance service.
      java.lang.String toString()
      JSON-style toString.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GovernanceActionTypeProperties

        public GovernanceActionTypeProperties()
        Default constructor
      • GovernanceActionTypeProperties

        public GovernanceActionTypeProperties​(GovernanceActionTypeProperties template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getDomainIdentifier

        public int getDomainIdentifier()
        Return the identifier of the governance domain that this action belongs to (0=ALL/ANY).
        Returns:
        int
      • setDomainIdentifier

        public void setDomainIdentifier​(int domainIdentifier)
        Set up the identifier of the governance domain that this action belongs to (0=ALL/ANY).
        Parameters:
        domainIdentifier - int
      • getDisplayName

        public java.lang.String getDisplayName()
        Return the display name for the governance action.
        Returns:
        string name
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
        Set up the display name for the governance action.
        Parameters:
        displayName - string name
      • getDescription

        public java.lang.String getDescription()
        Return the description of the governance action.
        Returns:
        string text
      • setDescription

        public void setDescription​(java.lang.String description)
        Set up the description of the governance action.
        Parameters:
        description - string text
      • getSupportedGuards

        public java.util.List<java.lang.String> getSupportedGuards()
        Return the list of guards provided by the previous governance service.
        Returns:
        list of guards
      • setSupportedGuards

        public void setSupportedGuards​(java.util.List<java.lang.String> supportedGuards)
        Set up the list of guards provided by the previous governance service.
        Parameters:
        supportedGuards - list of guards
      • getGovernanceEngineGUID

        public java.lang.String getGovernanceEngineGUID()
        Return the unique identifier of governance engine that is processing the governance action.
        Returns:
        string guid
      • setGovernanceEngineGUID

        public void setGovernanceEngineGUID​(java.lang.String governanceEngineGUID)
        Set up the unique identifier of governance engine that is processing the governance action.
        Parameters:
        governanceEngineGUID - string guid
      • getRequestType

        public java.lang.String getRequestType()
        Return the request type associated with this governance action.
        Returns:
        string name
      • setRequestType

        public void setRequestType​(java.lang.String requestType)
        Set up the request type associated with this governance action, used to identify ths governance service to run.
        Parameters:
        requestType - string name
      • getRequestParameters

        public java.util.Map<java.lang.String,​java.lang.String> getRequestParameters()
        Return the parameters to pass onto the governance service.
        Returns:
        map of properties
      • setRequestParameters

        public void setRequestParameters​(java.util.Map<java.lang.String,​java.lang.String> requestParameters)
        Set up the parameters to pass onto the governance service.
        Parameters:
        requestParameters - map of properties
      • toString

        public java.lang.String toString()
        JSON-style toString.
        Overrides:
        toString in class ReferenceableProperties
        Returns:
        list of properties and their values.
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class ReferenceableProperties
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison