Base Implementations refactoring
This commit is contained in:
parent
9921dec9ed
commit
724a6bcfff
|
@ -45,12 +45,12 @@ public abstract class AbstractLifeCycleManager extends AbstractPlugin implements
|
|||
protected void setEvent(GuardedEventManager m){
|
||||
OperationDescriptor op= m.getOp();
|
||||
DESCRIPTOR.getSupportedEvents().put(op.getId(),op);
|
||||
registeredEvent.put(op.getDescription(),m);
|
||||
registeredEvent.put(op.getId(),m);
|
||||
}
|
||||
protected void setStep(GuardedStepExecution e){
|
||||
OperationDescriptor op= e.getOp();
|
||||
DESCRIPTOR.getSupportedSteps().put(op.getId(),op);
|
||||
registeredSteps.put(op.getDescription(),e);
|
||||
registeredSteps.put(op.getId(),e);
|
||||
}
|
||||
|
||||
public AbstractLifeCycleManager() {
|
||||
|
|
|
@ -26,7 +26,7 @@ import java.util.Collections;
|
|||
public class SimpleLifeCycleManager extends AbstractLifeCycleManager implements LifecycleManager {
|
||||
|
||||
public SimpleLifeCycleManager() {
|
||||
DESCRIPTOR.setId("DEFAULT-SINGLE-PHASE");
|
||||
DESCRIPTOR.setId("DEFAULT-SINGLE-STEP");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
package org.gcube.application.geoportal.service;
|
||||
|
||||
public class PluginsTests {
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"_id" : "basic",
|
||||
"_version" : "1.0.0",
|
||||
"_name" : "Concessione",
|
||||
"_name" : "Basic Use Case Descriptor",
|
||||
|
||||
"_schema" : {},
|
||||
|
||||
|
|
Loading…
Reference in New Issue