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()
Gets the actions.
String
getClassName()
Get the class of the permission
String
getName()
Get the name of the permission.
void
setActions(String actions)
Sets the actions.
void
setClass(String aClass)
Sets the class, mandatory.
void
setName(String aName)
Sets the name of the permission.
String
toString()
get a string description of the permissions

Method Details

getActions

public String getActions()
Gets 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)
Sets the actions.
Parameters:
actions - The actions of the permission.

setClass

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

setName

public void setName(String aName)
Sets 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

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.