|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.ivy.IvyBuildProxy.Filter<CORE>
public abstract static class IvyBuildProxy.Filter<CORE extends IvyBuildProxy>
Filter for IvyBuildProxy.
Meant to be useful as the base class for other filters.
| Nested Class Summary | |
|---|---|
protected static class |
IvyBuildProxy.Filter.AsyncInvoker
Callable for invoking IvyBuildProxy.BuildCallable asynchronously. |
| Nested classes/interfaces inherited from interface hudson.ivy.IvyBuildProxy |
|---|
IvyBuildProxy.BuildCallable<V,T extends java.lang.Throwable>, IvyBuildProxy.Filter<CORE extends IvyBuildProxy> |
| Field Summary | |
|---|---|
protected CORE |
core
|
| Constructor Summary | |
|---|---|
protected |
IvyBuildProxy.Filter(CORE core)
|
| Method Summary | ||
|---|---|---|
|
execute(IvyBuildProxy.BuildCallable<V,T> program)
Executes the given IvyBuildProxy.BuildCallable on the master, where one
has access to IvyBuild and all the other Hudson objects. |
|
void |
executeAsync(IvyBuildProxy.BuildCallable<?,?> program)
Executes the given IvyBuildProxy.BuildCallable asynchronously on the master. |
|
hudson.FilePath |
getArtifactsDir()
|
|
long |
getMilliSecsSinceBuildStart()
# of milliseconds elapsed since IvyBuildProxy.getTimestamp(). |
|
hudson.FilePath |
getModuleSetRootDir()
Root directory of the owner IvyModuleSet |
|
hudson.FilePath |
getProjectRootDir()
Root directory of the parent of this build. |
|
hudson.FilePath |
getRootDir()
Root directory of the build. |
|
java.util.Calendar |
getTimestamp()
|
|
boolean |
isArchivingDisabled()
If true, artifacts will not actually be archived to master. |
|
void |
registerAsAggregatedProjectAction(IvyReporter reporter)
Nominates that the reporter will contribute a project action for this build by using IvyReporter.getAggregatedProjectAction(IvyModuleSet). |
|
void |
registerAsProjectAction(IvyReporter reporter)
Nominates that the reporter will contribute a project action for this build by using IvyReporter.getProjectAction(IvyModule). |
|
void |
setResult(hudson.model.Result result)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final CORE extends IvyBuildProxy core
| Constructor Detail |
|---|
protected IvyBuildProxy.Filter(CORE core)
| Method Detail |
|---|
public <V,T extends java.lang.Throwable> V execute(IvyBuildProxy.BuildCallable<V,T> program)
throws T extends java.lang.Throwable,
java.io.IOException,
java.lang.InterruptedException
IvyBuildProxyIvyBuildProxy.BuildCallable on the master, where one
has access to IvyBuild and all the other Hudson objects.
The parameter, return value, and exception are all transfered by using Java serialization.
execute in interface IvyBuildProxyIvyBuildProxy.BuildCallable returned.
T - if IvyBuildProxy.BuildCallable throws this exception.
java.io.IOException - if the remoting failed.
java.lang.InterruptedException - if the remote execution is aborted.
T extends java.lang.ThrowableIvyBuildProxy.executeAsync(BuildCallable)
public void executeAsync(IvyBuildProxy.BuildCallable<?,?> program)
throws java.io.IOException
IvyBuildProxyIvyBuildProxy.BuildCallable asynchronously on the master.
This method works like IvyBuildProxy.execute(BuildCallable) except that
the method returns immediately and doesn't wait for the completion of the program.
The completions of asynchronous executions are accounted for before the build completes. If they throw exceptions, they'll be reported and the build will be marked as a failure.
executeAsync in interface IvyBuildProxyjava.io.IOExceptionpublic hudson.FilePath getRootDir()
IvyBuildProxy
getRootDir in interface IvyBuildProxyRun.getRootDir()public hudson.FilePath getProjectRootDir()
IvyBuildProxy
getProjectRootDir in interface IvyBuildProxypublic hudson.FilePath getModuleSetRootDir()
IvyBuildProxyIvyModuleSet
getModuleSetRootDir in interface IvyBuildProxypublic hudson.FilePath getArtifactsDir()
getArtifactsDir in interface IvyBuildProxyRun.getArtifactsDir()public void setResult(hudson.model.Result result)
setResult in interface IvyBuildProxyRun.setResult(Result)public java.util.Calendar getTimestamp()
getTimestamp in interface IvyBuildProxyRun.getTimestamp()public long getMilliSecsSinceBuildStart()
IvyBuildProxyIvyBuildProxy.getTimestamp().
Where the clock skew is involved between the master and the Ivy JVM, comparing
current time on Ivy JVM with IvyBuildProxy.getTimestamp() could be problematic,
but this value is more robust.
getMilliSecsSinceBuildStart in interface IvyBuildProxypublic boolean isArchivingDisabled()
IvyBuildProxyIvyModuleSet.isArchivingDisabled().
isArchivingDisabled in interface IvyBuildProxypublic void registerAsProjectAction(IvyReporter reporter)
IvyBuildProxyIvyReporter.getProjectAction(IvyModule).
The specified IvyReporter object will be transfered to the master
and will become a persisted part of the IvyBuild.
registerAsProjectAction in interface IvyBuildProxypublic void registerAsAggregatedProjectAction(IvyReporter reporter)
IvyBuildProxyIvyReporter.getAggregatedProjectAction(IvyModuleSet).
The specified IvyReporter object will be transfered to the master
and will become a persisted part of the IvyModuleSetBuild.
registerAsAggregatedProjectAction in interface IvyBuildProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||