public class ScheduledServerActionManager extends Object implements de.cismet.connectioncontext.ConnectionContextProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
COLUMN_ABORTED |
static String |
COLUMN_BODY |
static String |
COLUMN_EXECUTION |
static String |
COLUMN_GROUPNAME |
static String |
COLUMN_ID |
static String |
COLUMN_KEY |
static String |
COLUMN_PARAMS |
static String |
COLUMN_RESULT |
static String |
COLUMN_RULE |
static String |
COLUMN_START |
static String |
COLUMN_TASKNAME |
static String |
COLUMN_USERNAME |
static String |
SEQUENCE_ID |
static String |
SSA_TABLE |
| Constructor and Description |
|---|
ScheduledServerActionManager(DomainServerImpl domainserver,
DBConnection dbConnection,
UserServer userServer,
String domain)
Creates a new ScheduledServerActionManager object.
|
| Modifier and Type | Method and Description |
|---|---|
static Date |
calculateExecutionDate(Date startDate,
String executionRule)
DOCUMENT ME!
|
ScheduledServerActionInfo |
cancelAction(String key)
DOCUMENT ME!
|
void |
createDbEntry(ScheduledServerActionInfo info)
DOCUMENT ME!
|
ScheduledServerActionInfo |
createInfo(String key,
String taskName,
String userName,
String groupName,
Object body,
ServerActionParameter[] params,
Date startTime,
String scheduleRule)
DOCUMENT ME!
|
de.cismet.connectioncontext.ConnectionContext |
getConnectionContext() |
ScheduledServerActionInfo |
getInfoByKey(String key)
DOCUMENT ME!
|
List<String> |
getResumableKeys()
DOCUMENT ME!
|
static boolean |
isScheduledServerActionFeatureSupported(DBConnection dbConnection)
DOCUMENT ME!
|
void |
resumeAll()
DOCUMENT ME!
|
ScheduledServerActionInfo |
scheduleAction(User user,
String key,
ScheduledServerAction serverAction,
Object body,
ServerActionParameter... origParams)
DOCUMENT ME!
|
public static final String SSA_TABLE
public static final String SEQUENCE_ID
public static final String COLUMN_ID
public static final String COLUMN_KEY
public static final String COLUMN_TASKNAME
public static final String COLUMN_USERNAME
public static final String COLUMN_GROUPNAME
public static final String COLUMN_BODY
public static final String COLUMN_PARAMS
public static final String COLUMN_START
public static final String COLUMN_RULE
public static final String COLUMN_EXECUTION
public static final String COLUMN_ABORTED
public static final String COLUMN_RESULT
public ScheduledServerActionManager(DomainServerImpl domainserver, DBConnection dbConnection, UserServer userServer, String domain)
domainserver - DOCUMENT ME!dbConnection - DOCUMENT ME!userServer - DOCUMENT ME!domain - DOCUMENT ME!public static boolean isScheduledServerActionFeatureSupported(DBConnection dbConnection)
dbConnection - DOCUMENT ME!public de.cismet.connectioncontext.ConnectionContext getConnectionContext()
getConnectionContext in interface de.cismet.connectioncontext.ConnectionContextProviderpublic void resumeAll()
public ScheduledServerActionInfo getInfoByKey(String key) throws Exception
key - DOCUMENT ME!Exception - DOCUMENT ME!public ScheduledServerActionInfo scheduleAction(User user, String key, ScheduledServerAction serverAction, Object body, ServerActionParameter... origParams) throws Exception
user - DOCUMENT ME!key - DOCUMENT ME!serverAction - DOCUMENT ME!body - DOCUMENT ME!origParams - DOCUMENT ME!Exception - DOCUMENT ME!public ScheduledServerActionInfo createInfo(String key, String taskName, String userName, String groupName, Object body, ServerActionParameter[] params, Date startTime, String scheduleRule) throws Exception
key - DOCUMENT ME!taskName - serverAction DOCUMENT ME!userName - DOCUMENT ME!groupName - DOCUMENT ME!body - DOCUMENT ME!params - DOCUMENT ME!startTime - DOCUMENT ME!scheduleRule - DOCUMENT ME!Exception - DOCUMENT ME!public static Date calculateExecutionDate(Date startDate, String executionRule) throws ParseException
startDate - DOCUMENT ME!executionRule - DOCUMENT ME!ParseException - DOCUMENT ME!public ScheduledServerActionInfo cancelAction(String key) throws Exception
key - DOCUMENT ME!Exception - DOCUMENT ME!public void createDbEntry(ScheduledServerActionInfo info) throws IOException
info - DOCUMENT ME!IOException - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.