com.threerings.jpkg.ant.dpkg.permissions
Class Permissions
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.antidote.field.BaseComponent
com.threerings.antidote.field.ListComponent<V>
com.threerings.antidote.field.ListField<Permission>
com.threerings.jpkg.ant.dpkg.permissions.Permissions
- All Implemented Interfaces:
- Field, ReferenceField, RequiresValidation, Cloneable
public class Permissions
- extends ListField<Permission>
The <dpkg> task <package> <permissions> field. Used to add package permission maps.
- See Also:
PathPermissions
,
PermissionsMap
Methods inherited from class com.threerings.antidote.field.BaseComponent |
appendViolation, appendViolationList, getReferencedField, isReference, registerField, reportConflictingProperties, reportUnsetDependentFields, reportUnsetDependentProperties, reportUnsetField, setReference, validate, validateChildFields, validateChildFields, validateOptionalProperties, validateProperties, validateProperties |
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from interface com.threerings.antidote.field.Field |
getLocation |
Permissions
public Permissions()
getFieldName
public String getFieldName()
- Description copied from interface:
Field
- Returns the unique name of this Field.
getChildFieldName
public String getChildFieldName()
- Description copied from class:
ListComponent
- Returns the name of the child fields of this ListField.
- Specified by:
getChildFieldName
in class ListComponent<Permission>
addPermission
public void addPermission(Permission permission)
- Ant adder field: Add a
Permission
.
getPermissionsMap
public PermissionsMap getPermissionsMap(String prefix)
- Return the list of <permission> fields defined in this section.
validateField
protected void validateField()
- Description copied from class:
BaseComponent
- Give each subclass a chance to do field specific validation.
- Specified by:
validateField
in class BaseComponent
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.