Class Permissions.Permission

java.lang.Object
org.apache.tools.ant.types.Permissions.Permission
Enclosing class:
Permissions

public static class Permissions.Permission extends Object
Represents a permission.
  • Constructor Details

    • Permission

      public Permission()
  • Method Details

    • setClass

      public void setClass(String aClass)
      Set the class, mandatory.
      Parameters:
      aClass - The class name of the permission.
    • getClassName

      public String getClassName()
      Get the class of the permission.
      Returns:
      The class name of the permission.
    • setName

      public void setName(String aName)
      Set the name of the permission.
      Parameters:
      aName - The name of the permission.
    • getName

      public String getName()
      Get the name of the permission.
      Returns:
      The name of the permission.
    • setActions

      public void setActions(String actions)
      Set the actions.
      Parameters:
      actions - The actions of the permission.
    • getActions

      public String getActions()
      Get the actions.
      Returns:
      The actions of the permission.
    • toString

      public String toString()
      Get a string description of the permissions.
      Overrides:
      toString in class Object
      Returns:
      string description of the permissions.