public abstract class Command extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ActivityRepository |
activityRepository |
protected ActivityRunningService |
activityService |
protected CommandHelperService |
commandHelperService |
protected CommandService |
commandService |
protected ConnectionCapManager |
connectionCapManager |
protected javax.persistence.EntityManager |
em |
protected TopProcessGroupManager |
groupManager |
protected org.springframework.transaction.PlatformTransactionManager |
txManager |
| Constructor and Description |
|---|
Command() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute() |
protected TopProcessGroupLauncher |
getLauncher(TopProcessMetaModel topProcess) |
int |
getPriority() |
boolean |
isRemoveSameCommands() |
boolean |
needTransaction()
Determine si le système doit ouvrir une TX ou non avant de démarrer la commande
|
protected boolean |
runActivity(DbActivity acti) |
protected boolean |
runActivity(DbActivity aActivity,
ActivityMetaModel meta,
TopProcessMetaModel topProcess) |
void |
setActivityRepository(ActivityRepository activityRepository) |
String |
toString() |
@Autowired protected ActivityRepository activityRepository
@Autowired protected org.springframework.transaction.PlatformTransactionManager txManager
@Autowired protected javax.persistence.EntityManager em
@Autowired protected TopProcessGroupManager groupManager
@Autowired protected ConnectionCapManager connectionCapManager
@Autowired protected CommandService commandService
@Autowired protected CommandHelperService commandHelperService
@Autowired protected ActivityRunningService activityService
public abstract void execute()
protected TopProcessGroupLauncher getLauncher(TopProcessMetaModel topProcess)
protected boolean runActivity(DbActivity acti)
protected boolean runActivity(DbActivity aActivity, ActivityMetaModel meta, TopProcessMetaModel topProcess)
public boolean needTransaction()
public void setActivityRepository(ActivityRepository activityRepository)
public int getPriority()
public boolean isRemoveSameCommands()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.