|
|||||||||
| 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<T>
org.schmant.task.svnkit.AbstractSvnCommitTask<SvnUrlToUrlCopyTask>
org.schmant.task.svnkit.SvnUrlToUrlCopyTask
public final class SvnUrlToUrlCopyTask
Copy the contents from one repository URL to another within the same Subversion repository.
| Method Summary | |
|---|---|
void |
copyProperties(SvnUrlToUrlCopyTask 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. |
protected void |
runInternal(Report r)
Subclasses implement this. |
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.AbstractSvnCommitTask |
|---|
getCommitMessage |
| 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 |
| Method Detail |
|---|
protected String getDefaultLogHeader()
AbstractTaskThis is called after validating the task.
Return null to disable logging.
getDefaultLogHeader in class AbstractTask<SvnUrlToUrlCopyTask>protected String getDefaultLogFooter()
AbstractTasknull (= no logging). Subclasses may override this to return something
else.
getDefaultLogFooter in class AbstractTask<SvnUrlToUrlCopyTask>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<SvnUrlToUrlCopyTask>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<SvnUrlToUrlCopyTask>r - The current thread's Report.public void copyProperties(SvnUrlToUrlCopyTask spec)
AbstractTask
Subclasses must override this to copy their properties. The
overriding method must call super.copyProperties.
copyProperties in interface TaskSpecification<SvnUrlToUrlCopyTask>copyProperties in class AbstractSvnCommitTask<SvnUrlToUrlCopyTask>spec - The specification to copy properties to.public String toString()
AbstractTaskThis implementation just returns the class name.
toString in class AbstractTask<SvnUrlToUrlCopyTask>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||