org.apache.tools.ant.types

Class Permissions.Permission

public static class Permissions.Permission extends Object

Represents a permission.
Method Summary
StringgetActions()
Gets the actions.
StringgetClassName()
Get the class of the permission
StringgetName()
Get the name of the permission.
voidsetActions(String actions)
Sets the actions.
voidsetClass(String aClass)
Sets the class, mandatory.
voidsetName(String aName)
Sets the name of the permission.
StringtoString()
get a string description of the permissions

Method Detail

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-2007 Apache Software Foundation. All Rights Reserved.