Class MyServiceDescriptor
java.lang.Object
de.iip_ecosphere.platform.services.AbstractServiceDescriptor<MyArtifactDescriptor>
test.de.iip_ecosphere.platform.services.MyServiceDescriptor
- All Implemented Interfaces:
de.iip_ecosphere.platform.services.ServiceDescriptor
class MyServiceDescriptor
extends de.iip_ecosphere.platform.services.AbstractServiceDescriptor<MyArtifactDescriptor>
A test service descriptor.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.services.ServiceDescriptor
de.iip_ecosphere.platform.services.ServiceDescriptor.Action -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMyServiceDescriptor(String id, String name, String description, de.iip_ecosphere.platform.support.Version version) Creates an instance with empty application id.protectedMyServiceDescriptor(String id, String appId, String name, String description, de.iip_ecosphere.platform.support.Version version) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInputDataConnector(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor input) voidaddOutputDataConnector(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor output) voidaddParameter(de.iip_ecosphere.platform.services.TypedDataDescriptor parameter) protected Class<MyArtifactDescriptor> de.iip_ecosphere.platform.services.ServiceDescriptorde.iip_ecosphere.platform.support.aas.InvocablesCreator(package private) voidsetEnsembleLeader(MyServiceDescriptor ensembleLeader) Sets the ensemble leader.toString()Methods inherited from class de.iip_ecosphere.platform.services.AbstractServiceDescriptor
attachAction, connectorIds, ensemble, ensembleConnectorNames, executeAction, getAdditionalArguments, getApplicationId, getArtifact, getDataConnectors, getDescription, getId, getInputDataConnectors, getKind, getName, getOutputDataConnectors, getParameters, getState, getStub, getVersion, instantiateFrom, instantiateFrom, internalConnectorNames, isDeployable, isTopLevel, setAdditionalArguments, setArtifact, setClassification, setState, setStubMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.services.ServiceDescriptor
getApplicationInstanceId, getServiceId
-
Field Details
-
ensembleLeader
-
-
Constructor Details
-
MyServiceDescriptor
protected MyServiceDescriptor(String id, String name, String description, de.iip_ecosphere.platform.support.Version version) Creates an instance with empty application id. CallAbstractServiceDescriptor.setClassification(de.iip_ecosphere.platform.services.environment.ServiceKind, boolean, boolean)afterwards.- Parameters:
id- the service idname- the name of this servicedescription- the description of the serviceversion- the version
-
MyServiceDescriptor
protected MyServiceDescriptor(String id, String appId, String name, String description, de.iip_ecosphere.platform.support.Version version) Creates an instance. CallAbstractServiceDescriptor.setClassification(de.iip_ecosphere.platform.services.environment.ServiceKind, boolean, boolean)afterwards.- Parameters:
id- the service idappId- the application id, may be emptyname- the name of this servicedescription- the description of the serviceversion- the version
-
-
Method Details
-
addParameter
public void addParameter(de.iip_ecosphere.platform.services.TypedDataDescriptor parameter) - Overrides:
addParameterin classde.iip_ecosphere.platform.services.AbstractServiceDescriptor<MyArtifactDescriptor>
-
addInputDataConnector
public void addInputDataConnector(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor input) - Overrides:
addInputDataConnectorin classde.iip_ecosphere.platform.services.AbstractServiceDescriptor<MyArtifactDescriptor>
-
addOutputDataConnector
public void addOutputDataConnector(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor output) - Overrides:
addOutputDataConnectorin classde.iip_ecosphere.platform.services.AbstractServiceDescriptor<MyArtifactDescriptor>
-
getEnsembleLeader
public de.iip_ecosphere.platform.services.ServiceDescriptor getEnsembleLeader()- Specified by:
getEnsembleLeaderin interfacede.iip_ecosphere.platform.services.ServiceDescriptor- Overrides:
getEnsembleLeaderin classde.iip_ecosphere.platform.services.AbstractServiceDescriptor<MyArtifactDescriptor>
-
setEnsembleLeader
Sets the ensemble leader.- Parameters:
ensembleLeader- the ensemble leader
-
toString
-
getArtifactDescriptorClass
- Specified by:
getArtifactDescriptorClassin classde.iip_ecosphere.platform.services.AbstractServiceDescriptor<MyArtifactDescriptor>
-
getInvocablesCreator
public de.iip_ecosphere.platform.support.aas.InvocablesCreator getInvocablesCreator()
-