|
|||||||||
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.BaseField
com.threerings.jpkg.ant.dpkg.Package
public class Package
The <dpkg> task <package> field. Holds all information needed to generate a given package.
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 | |
---|---|
Package()
|
Method Summary | |
---|---|
void |
addDependencies(Dependencies dependencies)
Ant adder field: Set the list of package dependencies. |
void |
addInfo(Info info)
Ant adder field: Set the package meta information. |
void |
addPermissions(Permissions permissions)
Ant adder field: Set the list of path permissions. |
void |
addScripts(Scripts scripts)
Ant adder field: Set the list of maintainer scripts. |
PackageInfo |
createPackageInfo(String distribution,
String prefix)
Returns the user data converted into a PackageInfo object. |
File |
getDestroot()
Returns the destroot to use for this package. |
String |
getFieldName()
Returns the unique name of this Field. |
String |
getFilename()
Returns the filename to use for this package. |
void |
setDestroot(String value)
Ant setter field: destroot. |
void |
setFilename(String value)
Ant setter field: filename. |
protected void |
validateField()
Give each subclass a chance to do field specific validation. |
Methods inherited from class com.threerings.antidote.field.BaseField |
---|
execute, init, reconfigure, setRefid |
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 Package()
Method Detail |
---|
public String getFieldName()
Field
public void addInfo(Info info)
public void addScripts(Scripts scripts)
public void addPermissions(Permissions permissions)
public void addDependencies(Dependencies dependencies)
public void setDestroot(String value)
public void setFilename(String value)
public PackageInfo createPackageInfo(String distribution, String prefix)
PackageInfo
object. Cannot be called before validate().
public File getDestroot()
public String getFilename()
protected void validateField()
BaseComponent
validateField
in class BaseComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |