org.apache.tools.ant.types

Class Permissions.Permission

Enclosing Class:
Permissions

public static class Permissions.Permission
extends java.lang.Object

Represents a permission.

Method Summary

String
getActions()
Get the actions.
String
getClassName()
Get the class of the permission.
String
getName()
Get the name of the permission.
void
setActions(String actions)
Set the actions.
void
setClass(String aClass)
Set the class, mandatory.
void
setName(String aName)
Set the name of the permission.
String
toString()
Get a string description of the permissions.

Method Details

getActions

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

getClassName

public String getClassName()
Get the class of the permission.
Returns:
The class 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.

setClass

public void setClass(String aClass)
Set the class, mandatory.
Parameters:
aClass - 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.

toString

public String toString()
Get a string description of the permissions.
Returns:
string description of the permissions.