Package org.apache.ivy.ant
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 org.apache.ivy.ant.IvyTask
ANT_PROJECT_CONTEXT_KEY
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
The real logic of task execution after project has been set in the context.boolean
Iterator
<org.apache.tools.ant.types.Resource> iterator()
void
setCache
(boolean b) void
setDescription
(String desc) void
setLocation
(org.apache.tools.ant.Location location) void
setProject
(org.apache.tools.ant.Project project) void
setRefid
(org.apache.tools.ant.types.Reference ref) int
size()
Methods inherited from class org.apache.ivy.ant.IvyCacheTask
getArtifactReports
Methods inherited from class org.apache.ivy.ant.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, setUseOrigin
Methods inherited from class org.apache.ivy.ant.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, toString
Methods 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, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods 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:
setLocation
in classorg.apache.tools.ant.ProjectComponent
-
setProject
public void setProject(org.apache.tools.ant.Project project) - Overrides:
setProject
in classorg.apache.tools.ant.ProjectComponent
-
setDescription
- Overrides:
setDescription
in 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:
isFilesystemOnly
in interfaceorg.apache.tools.ant.types.ResourceCollection
-
iterator
-
size
public int size()- Specified by:
size
in interfaceorg.apache.tools.ant.types.ResourceCollection
-
doExecute
public void doExecute() throws org.apache.tools.ant.BuildExceptionDescription copied from class:IvyTask
The real logic of task execution after project has been set in the context. MUST be implemented by subclasses
-