com.threerings.jpkg.ant.dpkg.dependencies
Class Conflict

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.jpkg.ant.dpkg.dependencies.BaseDependency<PackageConflict>
                      extended by com.threerings.jpkg.ant.dpkg.dependencies.Conflict
All Implemented Interfaces:
Field, ReferenceField, RequiresValidation, PackageInfoDependency, Cloneable

public class Conflict
extends BaseDependency<PackageConflict>

The <dependencies> <conflict> field. Indicates a package conflict.


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
Conflict()
           
 
Method Summary
 void addToPackageInfo(PackageInfo info)
          Add this object to the supplied PackageInfo object as an AbstractDependency type.
protected  PackageConflict createDependency(StringProperty packageName)
          Construct an instance of the AbstractDependency defined in this field with just the package name defined.
protected  PackageConflict createDependency(StringProperty packageName, Condition condition)
          Construct an instance of the AbstractDependency defined in this field with a package name and condition defined.
 String getFieldName()
          Returns the unique name of this Field.
 
Methods inherited from class com.threerings.jpkg.ant.dpkg.dependencies.BaseDependency
add, getDependency, setPackage, validateField
 
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.ReferenceField
getReferencedField, isReference
 
Methods inherited from interface com.threerings.antidote.field.Field
getLocation
 
Methods inherited from interface com.threerings.antidote.RequiresValidation
validate
 

Constructor Detail

Conflict

public Conflict()
Method Detail

getFieldName

public String getFieldName()
Description copied from interface: Field
Returns the unique name of this Field.


addToPackageInfo

public void addToPackageInfo(PackageInfo info)
Description copied from interface: PackageInfoDependency
Add this object to the supplied PackageInfo object as an AbstractDependency type.


createDependency

protected PackageConflict createDependency(StringProperty packageName)
Description copied from class: BaseDependency
Construct an instance of the AbstractDependency defined in this field with just the package name defined.

Specified by:
createDependency in class BaseDependency<PackageConflict>

createDependency

protected PackageConflict createDependency(StringProperty packageName,
                                           Condition condition)
Description copied from class: BaseDependency
Construct an instance of the AbstractDependency defined in this field with a package name and condition defined.

Specified by:
createDependency in class BaseDependency<PackageConflict>


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