Class Mechanism

java.lang.Object
com.tivoli.am.fim.registrations.Mechanism
Direct Known Subclasses:
CloudMechanism, LocalMechanism

public abstract class Mechanism extends Object
The parent class for each type of registered Mechanism.
  • Constructor Details

    • Mechanism

      public Mechanism()
  • Method Details

    • toJson

      public abstract JSONObject toJson()
      Get a JSON formatted representation of this Mechanism. Each Mechanism that derives from this class will return a JSON representation unique to that particular Mechanism.
      Returns:
      A JSONObject representation of this Mechanism.
      See Also:
    • getMechURI

      public String getMechURI()
      Getter for the mechanism URI of this Mechanism.
      Returns:
      The mechanism URI as a String if this object is a LocalMechanism. "CI_MECHANISM" if this object is a CloudMechanism.
    • toString

      public String toString()
      Overrides:
      toString in class Object