|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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<Path>
com.threerings.jpkg.ant.dpkg.permissions.Permission
public class Permission
The <permission> child field type for the <dpkg> <permissions> field. Describes permissions for the permissions map.
PathPermissions
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
Permission()
|
Method Summary | |
---|---|
void |
addPath(Path path)
Ant adder field: Add a Path . |
String |
getChildFieldName()
Returns the name of the child fields of this ListField. |
String |
getFieldName()
Returns the unique name of this Field. |
PathPermissions |
getPathPermissions()
Return the user supplied fields as a PathPermissions object. |
List<Path> |
getPaths()
Return the list of Paths declared for this Permission. |
void |
setGroup(String value)
Ant setter field: group. |
void |
setGroupId(String value)
Ant setter field: groupId. |
void |
setMode(String value)
Ant setter field: mode. |
void |
setRecursive(String value)
Ant setter field: recursive. |
void |
setUser(String value)
Ant setter field: user. |
void |
setUserId(String value)
Ant setter field: userId. |
protected void |
validateField()
Give each subclass a chance to do field specific validation. |
Methods inherited from class com.threerings.antidote.field.ListField |
---|
execute, init, reconfigure, setRefid |
Methods inherited from class com.threerings.antidote.field.ListComponent |
---|
appendRequiresValidation, getValidatedFieldList, noChildFieldsDefined, requireChildFieldValidation, validateFieldList |
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 class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.threerings.antidote.field.Field |
---|
getLocation |
Constructor Detail |
---|
public Permission()
Method Detail |
---|
public String getFieldName()
Field
public String getChildFieldName()
ListComponent
getChildFieldName
in class ListComponent<Path>
public void setUser(String value)
public void setGroup(String value)
public void setUserId(String value)
public void setGroupId(String value)
public void setMode(String value)
public void setRecursive(String value)
public void addPath(Path path)
Path
.
public PathPermissions getPathPermissions()
PathPermissions
object.
public List<Path> getPaths()
protected void validateField()
BaseComponent
validateField
in class BaseComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |