Package org.mycore.pi
Class MCRPIRegisterJobAction
java.lang.Object
org.mycore.services.queuedjob.MCRJobAction
org.mycore.pi.MCRPIRegisterJobAction
-
Field Summary
Fields inherited from class org.mycore.services.queuedjob.MCRJobAction
job
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRPIRegisterJobAction
public MCRPIRegisterJobAction() -
MCRPIRegisterJobAction
-
-
Method Details
-
isActivated
public boolean isActivated()Description copied from class:MCRJobAction
Returns if this action is activated.- Specified by:
isActivated
in classMCRJobAction
- Returns:
true
if activated,false
if isn't
-
name
Description copied from class:MCRJobAction
Returns the name of the action.- Specified by:
name
in classMCRJobAction
- Returns:
- the name
-
execute
Description copied from class:MCRJobAction
Does the work for givenMCRJob
.- Specified by:
execute
in classMCRJobAction
- Throws:
ExecutionException
-
rollback
public void rollback()Description copied from class:MCRJobAction
When errors occurs during executing it can be necessary to rollback performed actions- Specified by:
rollback
in classMCRJobAction
-