Class IvyResources
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.IvyTask
org.apache.ivy.ant.IvyPostResolveTask
org.apache.ivy.ant.IvyCacheTask
org.apache.ivy.ant.IvyResources
- All Implemented Interfaces:
Cloneable, Iterable<org.apache.tools.ant.types.Resource>, org.apache.tools.ant.types.ResourceCollection
public class IvyResources
extends IvyCacheTask
implements org.apache.tools.ant.types.ResourceCollection
-
Field Summary
Fields inherited from class IvyTask
ANT_PROJECT_CONTEXT_KEYFields inherited from class org.apache.tools.ant.Task
target, taskName, taskTypeFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe real logic of task execution after project has been set in the context.booleanIterator<org.apache.tools.ant.types.Resource> iterator()voidsetCache(boolean b) voidsetDescription(String desc) voidsetLocation(org.apache.tools.ant.Location location) voidsetProject(org.apache.tools.ant.Project project) voidsetRefid(org.apache.tools.ant.types.Reference ref) intsize()Methods inherited from class IvyCacheTask
getArtifactReportsMethods inherited from class IvyPostResolveTask
createConflict, createDependency, createExclude, ensureResolved, getArtifactFilter, getBranch, getConf, getConfsToResolve, getConfsToResolve, getFile, getLog, getModule, getOrganisation, getResolvedModuleId, getResolvedMrid, getResolvedReport, getResolveId, getResolveMode, getRevision, getType, isChanging, isHaltonfailure, isInline, isKeep, isRefresh, isTransitive, isUseOrigin, prepareAndCheck, setBranch, setCache, setChanging, setConf, setFile, setHaltonfailure, setInline, setKeep, setLog, setModule, setOrganisation, setRefresh, setResolveId, setResolveMode, setRevision, setTransitive, setType, setupResolve, setUseOriginMethods inherited from class IvyTask
cacheAttributeNotSupported, doValidate, execute, finalizeTask, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, getSettingsRef, isValidate, mergeConfs, prepareTask, setResolved, setResolved, setSettingsRef, setValidate, splitConfs, toStringMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProjectMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface org.apache.tools.ant.types.ResourceCollection
isEmpty, stream
-
Constructor Details
-
IvyResources
public IvyResources()
-
-
Method Details
-
setLocation
public void setLocation(org.apache.tools.ant.Location location) - Overrides:
setLocationin classorg.apache.tools.ant.ProjectComponent
-
setProject
public void setProject(org.apache.tools.ant.Project project) - Overrides:
setProjectin classorg.apache.tools.ant.ProjectComponent
-
setDescription
- Overrides:
setDescriptionin classorg.apache.tools.ant.ProjectComponent
-
setRefid
public void setRefid(org.apache.tools.ant.types.Reference ref) -
setCache
public void setCache(boolean b) -
isFilesystemOnly
public boolean isFilesystemOnly()- Specified by:
isFilesystemOnlyin interfaceorg.apache.tools.ant.types.ResourceCollection
-
iterator
-
size
public int size()- Specified by:
sizein interfaceorg.apache.tools.ant.types.ResourceCollection
-
doExecute
public void doExecute() throws org.apache.tools.ant.BuildExceptionDescription copied from class:IvyTaskThe real logic of task execution after project has been set in the context. MUST be implemented by subclasses
-