org.schmant.task.xml.catalog
Class AddSystemIdToCatalogTask
java.lang.Object
org.schmant.support.AbstractArgumentChecker
org.schmant.task.stub.AbstractTask<T>
org.schmant.task.stub.AbstractActionTask<T>
org.schmant.task.xml.catalog.AbstractXmlCatalogActionTask<AddSystemIdToCatalogTask>
org.schmant.task.xml.catalog.AddSystemIdToCatalogTask
- All Implemented Interfaces:
- TaskDependency, ActionTaskConfigurable<AddSystemIdToCatalogTask>, ActionTaskSpec<AddSystemIdToCatalogTask>, LoggingConfigurable<AddSystemIdToCatalogTask>, SourceConfigurable<AddSystemIdToCatalogTask>, SourceConfigured, Task, TaskRunnable, TaskSpecification<AddSystemIdToCatalogTask>
public final class AddSystemIdToCatalogTask
- extends AbstractXmlCatalogActionTask<AddSystemIdToCatalogTask>
See AddSystemIdToCatalogTF.
- Since:
- 0.5
- Author:
- Karl Gustafsson
- Task_package:
- org.schmant.task.base
Methods inherited from class org.schmant.task.stub.AbstractActionTask |
addSource, addSources, clearSources, getRelativeToBase, getSource, getSources, isMoreThanOneSourceAllowed, isSourcesMandatory, setRelativeToBase, setSource, setSources |
Methods inherited from class org.schmant.task.stub.AbstractTask |
cancel, createTask, getDefaultLogFooter, getDefaultLogHeader, getDependencyForTasksScheduledByThisTask, getDependencyObservable, getFailureCause, getLogFooter, getLogHeader, getSatisfiedStateLock, getThis, isCancelled, isDone, isInterrupted, isRunning, isSatisfied, isSuccessful, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging |
runInternal
protected void runInternal(Report r)
- Description copied from class:
AbstractTask
- Subclasses implement this. The task is
AbstractTask.validate(Report)
:d before
this method is called, see AbstractTask.run()
.
- Specified by:
runInternal
in class AbstractTask<AddSystemIdToCatalogTask>
- Parameters:
r
- The current thread's Report
.
copyProperties
public void copyProperties(AddSystemIdToCatalogTask spec)
- Description copied from class:
AbstractActionTask
- Override the implementation from
AbstractTask
to copy the
source properties. Subclasses must override this to copy their own
properties.
- Specified by:
copyProperties
in interface TaskSpecification<AddSystemIdToCatalogTask>
- Overrides:
copyProperties
in class AbstractXmlCatalogActionTask<AddSystemIdToCatalogTask>
- Parameters:
spec
- The specification to copy properties to.
toString
public String toString()
- Description copied from class:
AbstractTask
- Default implementation for tasks. Task implementations may override this.
It is used in the default log header that is written (level INFO) before
a task is run.
This implementation just returns the class name.
- Overrides:
toString
in class AbstractActionTask<AddSystemIdToCatalogTask>