Class StartupOperation

java.lang.Object
dev.getelements.elements.rt.manifest.startup.StartupOperation

public class StartupOperation extends Object
Represents a single operation performed by a startup function.
  • Constructor Details

    • StartupOperation

      public StartupOperation()
  • Method Details

    • getName

      public String getName()
      The name of the operation.
      Returns:
      the String representing the name of the operation
    • setName

      public void setName(String name)
      Sets the name of the operation.
      Parameters:
      name - the String representing the name of the operation
    • getMethod

      public String getMethod()
      Gets the underlying method to call when servicing the request.
      Returns:
      the method.
    • setMethod

      public void setMethod(String method)
      Sets the underlying method to call when servicing the request.
      Parameters:
      method - the method name.
    • getParameters

      public Map<String,Type> getParameters()
      Gets the parameters this operation accepts by type.
      Returns:
      a Map<String,Type> containing the parameter metadata
    • setParameters

      public void setParameters(Map<String,Type> parameters)
      Sets the parameters this operation accepts by type.
      Parameters:
      parameters - a Map<String,Type> containing the parameter metadata
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object