public abstract class ResourceManipulator extends Object
ResourceMirror.| Constructor and Description |
|---|
ResourceManipulator() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cleanupDrain(ProcessScript<?> script)
Cleanups the drain of this resource.
|
abstract void |
cleanupSource(ProcessScript<?> script)
Cleanups the source of this resource.
|
abstract <T> DrainDriver<T> |
createDrainForDrain(ProcessScript<T> script)
Creates a new drain driver for the drain of this resource.
|
abstract <T> DrainDriver<T> |
createDrainForSource(ProcessScript<T> script)
Creates a new drain driver for the source of this resource.
|
abstract <T> SourceDriver<T> |
createSourceForDrain(ProcessScript<T> script)
Creates a new source driver for the drain of this resource.
|
abstract <T> SourceDriver<T> |
createSourceForSource(ProcessScript<T> script)
Creates a new source driver for the source of this resource.
|
abstract String |
getName()
Returns the name of this resource.
|
public abstract String getName()
public abstract void cleanupSource(ProcessScript<?> script) throws IOException
script - target processIOException - if failed to cleanup this resourceIllegalArgumentException - if some parameters were nullpublic abstract void cleanupDrain(ProcessScript<?> script) throws IOException
script - target processIOException - if failed to cleanup this resourceIllegalArgumentException - if some parameters were nullpublic abstract <T> SourceDriver<T> createSourceForSource(ProcessScript<T> script) throws IOException
T - target data model typescript - target processIOException - if failed to open this resourceIllegalArgumentException - if any parameter is nullpublic abstract <T> DrainDriver<T> createDrainForSource(ProcessScript<T> script) throws IOException
T - target data model typescript - target processIOException - if failed to open this resourceIllegalArgumentException - if any parameter is nullpublic abstract <T> SourceDriver<T> createSourceForDrain(ProcessScript<T> script) throws IOException
T - target data model typescript - target processIOException - if failed to open this resourceIllegalArgumentException - if any parameter is nullpublic abstract <T> DrainDriver<T> createDrainForDrain(ProcessScript<T> script) throws IOException
T - target data model typescript - target processIOException - if failed to open this resourceIllegalArgumentException - if any parameter is nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.