com.threerings.jpkg.ant.dpkg.scripts.standard
Class HelloWorld
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.antidote.field.BaseComponent
com.threerings.antidote.field.BaseField
com.threerings.jpkg.ant.dpkg.scripts.BaseTemplateScript
com.threerings.jpkg.ant.dpkg.scripts.TemplateScript
com.threerings.jpkg.ant.dpkg.scripts.standard.HelloWorld
- All Implemented Interfaces:
- Field, ReferenceField, RequiresValidation, PackageScript, ValidationScript, VelocityTemplate, Cloneable
public class HelloWorld
- extends TemplateScript
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 |
HelloWorld
public HelloWorld()
getFieldName
public String getFieldName()
- Description copied from interface:
Field
- Returns the unique name of this Field.
getFriendlyName
public String getFriendlyName()
- Description copied from interface:
PackageScript
- Returns a human readable name for this script.
failOnError
public boolean failOnError()
- Description copied from interface:
PackageScript
- Whether to report the failure of this script to the package system. If true, then a failure
in this script will fail the package installation or removal.
getTemplateName
public String getTemplateName()
- Description copied from interface:
VelocityTemplate
- Returns the name of the template, as found in the classpath.
setWorld
public void setWorld(String value)
- Ant setter field: world.
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.