Class PutDataSetServerPluginHolder
- java.lang.Object
-
- ch.systemsx.cisd.etlserver.AbstractTopLevelDataSetRegistrator
-
- ch.systemsx.cisd.etlserver.api.v1.PutDataSetServerPluginHolder
-
- All Implemented Interfaces:
ch.systemsx.cisd.common.filesystem.FaultyPathDirectoryScanningHandler.IFaultyPathDirectoryScanningHandlerDelegate
,ch.systemsx.cisd.common.filesystem.IPathHandler
,ch.systemsx.cisd.common.filesystem.IStopSignaler
,ch.systemsx.cisd.common.utilities.ISelfTestable
,ch.systemsx.cisd.etlserver.ITopLevelDataSetRegistrator
public class PutDataSetServerPluginHolder extends ch.systemsx.cisd.etlserver.AbstractTopLevelDataSetRegistrator
Not a real top-level data set registrator. It is just a placeholder to make it possible to extract the IETLServerPlugin.
-
-
Constructor Summary
Constructors Constructor Description PutDataSetServerPluginHolder(TopLevelDataSetRegistratorGlobalState globalState)
The designated constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check()
ch.systemsx.cisd.etlserver.IETLServerPlugin
getPlugin()
java.util.concurrent.locks.Lock
getRegistrationLock()
void
handle(java.io.File path)
void
handle(java.io.File file, java.lang.String userSessionToken, ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation callerDataSetInformation, ch.systemsx.cisd.etlserver.ITopLevelDataSetRegistratorDelegate delegate)
boolean
isRemote()
boolean
isStopped()
boolean
shouldNotAddToFaultyPathsOrNull(java.io.File storeItem)
-
-
-
Constructor Detail
-
PutDataSetServerPluginHolder
public PutDataSetServerPluginHolder(TopLevelDataSetRegistratorGlobalState globalState)
The designated constructor.- Parameters:
globalState
-
-
-
Method Detail
-
getPlugin
public ch.systemsx.cisd.etlserver.IETLServerPlugin getPlugin()
-
getRegistrationLock
public java.util.concurrent.locks.Lock getRegistrationLock()
-
handle
public void handle(java.io.File file, java.lang.String userSessionToken, ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation callerDataSetInformation, ch.systemsx.cisd.etlserver.ITopLevelDataSetRegistratorDelegate delegate)
-
handle
public void handle(java.io.File path)
-
isStopped
public boolean isStopped()
-
isRemote
public boolean isRemote()
-
check
public void check() throws ch.systemsx.cisd.common.exceptions.EnvironmentFailureException, ch.systemsx.cisd.common.exceptions.ConfigurationFailureException
- Throws:
ch.systemsx.cisd.common.exceptions.EnvironmentFailureException
ch.systemsx.cisd.common.exceptions.ConfigurationFailureException
-
shouldNotAddToFaultyPathsOrNull
public boolean shouldNotAddToFaultyPathsOrNull(java.io.File storeItem)
-
-