com.threerings.jpkg.ant.dpkg
Class Dpkg
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.ListTask<Package>
com.threerings.jpkg.ant.dpkg.Dpkg
- All Implemented Interfaces:
- Field, ReferenceField, RequiresValidation, Cloneable
public class Dpkg
- extends ListTask<Package>
Field Summary |
static String |
CHAR_ENCODING
All user supplied data will be assumed to be in this character encoding, e.g. |
Constructor Summary |
Dpkg()
|
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, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from interface com.threerings.antidote.field.Field |
getLocation |
CHAR_ENCODING
public static final String CHAR_ENCODING
- All user supplied data will be assumed to be in this character encoding, e.g. maintainer
script source.
- See Also:
- Constant Field Values
Dpkg
public Dpkg()
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<Package>
init
public void init()
- Overrides:
init
in class Task
execute
public void execute()
- Overrides:
execute
in class Task
setOutput
public void setOutput(String value)
- Ant setter field: output. The directory to create all packages in.
setPrefix
public void setPrefix(String value)
- Ant setter field: prefix. The prefix, or root, of all defined packages.
setDistribution
public void setDistribution(String value)
- Ant setter field: distribution. The Apt distribution these packages will be apart of.
addPackage
public void addPackage(Package pkg)
- Ant adder field: Add a <package> definition.
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.