com.threerings.jpkg.ant.dpkg.dependencies.conditions
Class Condition

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.threerings.antidote.field.BaseComponent
              extended by com.threerings.antidote.field.BaseField
                  extended by com.threerings.antidote.field.text.TextField
                      extended by com.threerings.antidote.field.text.SingleLineTextField
                          extended by com.threerings.antidote.field.text.SimpleTextField
                              extended by com.threerings.jpkg.ant.dpkg.dependencies.conditions.Condition
All Implemented Interfaces:
Field, ReferenceField, RequiresValidation, Cloneable
Direct Known Subclasses:
EqualOrGreaterThan, EqualOrLesserThan, EqualTo, GreaterThan, LesserThan

public abstract class Condition
extends SimpleTextField

A Field which holds condition information describing when a BaseDependency takes effect.

See Also:
AbstractDependency, DependencyRelationships

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
Condition()
           
 
Method Summary
abstract  DependencyRelationships getRelationship()
          Returns the DependencyRelationships enum for this condition.
 String getVersion()
          Return the package version the condition applies to as a string.
 
Methods inherited from class com.threerings.antidote.field.text.SimpleTextField
validateTextField
 
Methods inherited from class com.threerings.antidote.field.text.SingleLineTextField
getText, validateField
 
Methods inherited from class com.threerings.antidote.field.text.TextField
addText, scrubTextWhitespace, validateTextNotEmpty, validateTextWasSet
 
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
getFieldName, getLocation
 

Constructor Detail

Condition

public Condition()
Method Detail

getRelationship

public abstract DependencyRelationships getRelationship()
Returns the DependencyRelationships enum for this condition.


getVersion

public String getVersion()
Return the package version the condition applies to as a string.



Copyright © 2007-2008 Three Rings Design, Inc. All Rights Reserved. Released under a BSD license.