Package org.apache.tools.ant.types
Class Permissions.Permission
java.lang.Object
org.apache.tools.ant.types.Permissions.Permission
- Enclosing class:
Permissions
Represents a permission.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the actions.Get the class of the permission.getName()
Get the name of the permission.void
setActions
(String actions) Set the actions.void
Set the class, mandatory.void
Set the name of the permission.toString()
Get a string description of the permissions.
-
Constructor Details
-
Permission
public Permission()
-
-
Method Details
-
setClass
Set the class, mandatory.- Parameters:
aClass
- The class name of the permission.
-
getClassName
Get the class of the permission.- Returns:
- The class name of the permission.
-
setName
Set the name of the permission.- Parameters:
aName
- The name of the permission.
-
getName
Get the name of the permission.- Returns:
- The name of the permission.
-
setActions
Set the actions.- Parameters:
actions
- The actions of the permission.
-
getActions
Get the actions.- Returns:
- The actions of the permission.
-
toString
Get a string description of the permissions.
-