|
|||||||||
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.info.Info
public class Info
The <dpkg> task <package> <info> field. Used to keep track of all package meta-information.
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 | |
---|---|
Info()
|
Method Summary | |
---|---|
void |
addArch(Arch arch)
Ant adder field: Set the package architecture. |
void |
addDescription(Description description)
Ant adder field: Set the package description. |
void |
addMaintainer(Maintainer maintainer)
Ant adder field: Set the package maintainer. |
void |
addName(Name name)
Ant adder field: Set the package name. |
void |
addPriority(Priority priority)
Ant adder field: Set the package priority. |
void |
addSection(Section section)
Ant adder field: Set the package section. |
void |
addVersion(Version version)
Ant adder field: Set the package version. |
String |
getFieldName()
Returns the unique name of this Field. |
PackageInfo |
getPackageInfo()
Returns the user data converted into a PackageInfo object. |
String |
getPackageNameAsString()
Returns the user data for the package name. |
String |
getVersionAsString()
Returns the user data for the package version. |
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 Info()
Method Detail |
---|
public String getFieldName()
Field
public void addName(Name name)
public void addVersion(Version version)
public void addArch(Arch arch)
public void addDescription(Description description)
public void addMaintainer(Maintainer maintainer)
public void addPriority(Priority priority)
public void addSection(Section section)
public PackageInfo getPackageInfo()
PackageInfo
object. Cannot be called before validate().
public String getPackageNameAsString()
public String getVersionAsString()
protected void validateField()
BaseComponent
validateField
in class BaseComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |