|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.schmant.support.AbstractArgumentChecker
org.schmant.task.stub.AbstractTask<T>
org.schmant.task.svnkit.AbstractSvnTask<SvnExportTask>
org.schmant.task.svnkit.SvnExportTask
public final class SvnExportTask
See SvnExportTF
| Field Summary |
|---|
| Fields inherited from interface org.schmant.task.confable.OverwriteConfigurable |
|---|
DEFAULT_OVERWRITE_STRATEGY |
| Method Summary | |
|---|---|
void |
copyProperties(SvnExportTask spec)
Copy the properties to the target object. |
protected String |
getDefaultLogFooter()
Get the default log footer to log after the task has been successfully run if no other log footer is set. |
protected String |
getDefaultLogHeader()
Get the default log header to log (to level INFO) before the task is run if the task user has not set a custom header. |
Object |
getTarget()
Get the target. |
protected void |
runInternal(Report r)
Subclasses implement this. |
SvnExportTask |
setOverwrite(boolean b)
Should things be overwritten? If this is set to true, it is
equivalent to setting the overwrite strategy to
DoOverwriteAndLogWarning. |
SvnExportTask |
setOverwriteStrategy(OverwriteStrategy strat)
Set a strategy for how to react to existing entities in locations where the task wants to write. |
SvnExportTask |
setTarget(Object o)
Set the target. |
String |
toString()
Default implementation for tasks. |
protected Collection<String> |
validate(Report r)
This method may be overridden by subclasses to validate their configuration (including their TaskFactory:s) before the task is
run. |
| Methods inherited from class org.schmant.task.svnkit.AbstractSvnTask |
|---|
getAuthenticationManager, getAuthenticationProvider, getRepositoryLocation |
| Methods inherited from class org.schmant.task.stub.AbstractTask |
|---|
cancel, createTask, getDependencyForTasksScheduledByThisTask, getDependencyObservable, getFailureCause, getLogFooter, getLogHeader, getSatisfiedStateLock, getThis, isCancelled, isDone, isInterrupted, isRunning, isSatisfied, isSuccessful, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging |
| Methods inherited from class org.schmant.support.AbstractArgumentChecker |
|---|
check, check, check, check |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.schmant.task.TaskSpecification |
|---|
createTask |
| Methods inherited from interface org.schmant.task.confable.LoggingConfigurable |
|---|
setLogFooter, setLogHeader, setReportLevel, setTraceLogging |
| Method Detail |
|---|
public SvnExportTask setTarget(Object o)
TargetConfigurable
setTarget in interface TargetConfigurable<SvnExportTask>o - The target.
thispublic Object getTarget()
TargetConfigured
getTarget in interface TargetConfigurednull if it is not set.public SvnExportTask setOverwrite(boolean b)
OverwriteConfigurabletrue, it is
equivalent to setting the overwrite strategy to
DoOverwriteAndLogWarning. If this is set to false, it is
equivalent to setting the overwrite strategy to
DontOverwriteAndLogWarning.
setOverwrite in interface OverwriteConfigurable<SvnExportTask>b - Should things be overwritten?
thispublic SvnExportTask setOverwriteStrategy(OverwriteStrategy strat)
OverwriteConfigurable
setOverwriteStrategy in interface OverwriteConfigurable<SvnExportTask>strat - The overwrite strategy.
thisprotected String getDefaultLogHeader()
AbstractTaskThis is called after validating the task.
Return null to disable logging.
getDefaultLogHeader in class AbstractTask<SvnExportTask>protected String getDefaultLogFooter()
AbstractTasknull (= no logging). Subclasses may override this to return something
else.
getDefaultLogFooter in class AbstractTask<SvnExportTask>nullprotected Collection<String> validate(Report r)
AbstractTaskTaskFactory:s) before the task is
run.
Validation errors are collected as strings. If this method is overridden,
always call super.validate.
validate in class AbstractSvnTask<SvnExportTask>r - A report to log warning and debug messages to. Validation errors
should not be logged, though. They are logged later.
protected void runInternal(Report r)
AbstractTaskAbstractTask.validate(Report):d before
this method is called, see AbstractTask.run().
runInternal in class AbstractTask<SvnExportTask>r - The current thread's Report.public void copyProperties(SvnExportTask spec)
AbstractTask
Subclasses must override this to copy their properties. The
overriding method must call super.copyProperties.
copyProperties in interface TaskSpecification<SvnExportTask>copyProperties in class AbstractSvnTask<SvnExportTask>spec - The specification to copy properties to.public String toString()
AbstractTaskThis implementation just returns the class name.
toString in class AbstractTask<SvnExportTask>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||