public abstract class ModuleDefinition extends java.lang.Object implements ElementDefinition, java.lang.Cloneable
Constructor and Description |
---|
ModuleDefinition(ApplicationDefinition appli,
java.lang.String name,
long id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addArrayProperty(java.net.URL dir,
java.lang.String key,
java.lang.Class<?> type,
boolean isMandatory)
Add an array property type.
|
void |
addArrayProperty(java.net.URL dir,
java.lang.String key,
java.lang.Class<?> type,
boolean isMandatory,
boolean allowConfigVariables)
Add an array property type.
|
void |
addArrayProperty(java.net.URL dir,
java.lang.String key,
java.lang.Class<?> type,
short unit,
boolean isMandatory)
Add an array property type.
|
void |
addArrayProperty(java.net.URL dir,
java.lang.String key,
java.lang.Class<?> type,
short unit,
boolean isMandatory,
boolean allowConfigVariables)
Add an array property type.
|
void |
addAutoProperty(java.lang.String key,
org.da.protoframework.model.def.Value<?> autoValue)
Add an auto property.
|
void |
addCyclicMethod(org.da.protoframework.model.def.CyclicMethodDefinition method)
Add a cyclic method declaration.
|
void |
addProperty(org.da.protoframework.model.def.SimpleProperty property)
Add an existing property to the module.
|
void |
addProperty(org.da.protoframework.model.def.SimpleProperty property,
boolean isDefault)
Add an existing property to the module.
|
short |
addProperty(java.net.URL dir,
java.lang.String key,
java.lang.Class<?> type,
java.lang.String defaultValue,
boolean isMandatory,
boolean inArray)
Add a property type.
|
short |
addProperty(java.net.URL dir,
java.lang.String key,
java.lang.Class<?> type,
java.lang.String defaultValue,
boolean isMandatory,
boolean inArray,
boolean allowConfigVariables)
Add a property type.
|
short |
addProperty(java.net.URL dir,
java.lang.String key,
java.lang.Class<?> type,
java.lang.String defaultValue,
short unit,
boolean isMandatory,
boolean inArray)
Add a property type.
|
short |
addProperty(java.net.URL dir,
java.lang.String key,
java.lang.Class<?> type,
java.lang.String defaultValue,
short unit,
boolean isMandatory,
boolean inArray,
boolean allowConfigVariables)
Add a property type.
|
void |
addPropertyParent(org.da.protoframework.model.def.PropertyParent parent)
Add a PropertyParent.
|
void |
addProviderInterface(InterfaceDefinition serviceInt)
Add a provider interface for a Service to the Module.
|
void |
addSubscriberInterface(InterfaceDefinition serviceInt)
Add a subscriber interface for a Service to the Module.
|
ModuleDefinition |
clone() |
int |
countProperties()
Count the number of properties.
|
ModuleIDKey |
createModuleIDKey()
Create an unique key for the module.
|
ModuleKey |
createModuleKey()
Create an unique key for the module.
|
ApplicationDefinition |
getApplicationDefinition()
Return the Application Definition.
|
java.lang.String |
getAttachEntryPoint()
Return the default attach / detach entryPoint path for the module.
|
java.util.List<org.da.protoframework.model.def.CyclicMethodDefinition> |
getCyclicMethods()
Return a cyclic method declarations.
|
org.da.protoframework.model.def.ChannelDefinition |
getDefaultChannelDefinition()
Return the default channel definition for the module.
|
java.lang.String |
getDescription()
Return the service description (may be null).
|
java.net.URL |
getDirectory()
Return the module directory.
|
java.lang.String |
getEndEntryPoint()
Return the end entryPoint path for the module.
|
java.lang.String |
getFinishInvokeEntryPoint()
Return the default receive finishInvoke path for the module.
|
long |
getID()
Return the module ID.
|
java.lang.String |
getInitEntryPoint()
Return the init entryPoint of the module.
|
java.net.URL |
getInstanceDirectory()
Return the module instance directory.
|
java.lang.String |
getLibraryName()
Return the module library name (may be null).
|
java.lang.String |
getLibraryVersion()
Return the application library version.
|
ModuleIDKey |
getModuleIDKey()
Return this Module ID key.
|
ModuleKey |
getModuleKey()
Return this Module key.
|
java.lang.String |
getName()
Return the module name.
|
org.da.protoframework.model.def.NamedProperty |
getNamedProperty(java.lang.String key)
Return a property.
|
java.lang.String |
getNotNullPropertyStringValue(java.lang.String key)
Return the value of a property as a String.
|
java.lang.String |
getPath()
Return the module main class path.
|
java.lang.String |
getPreConfigureEntryPoint()
Return the init entryPoint of the module.
|
java.util.Map<java.lang.String,org.da.protoframework.model.def.SimpleProperty> |
getProperties()
Return the properties.
|
java.util.List<java.lang.Object> |
getPropertyArrayValue(java.lang.String key)
Return the value of a property as an array.
|
java.util.List<java.lang.Boolean> |
getPropertyBooleanArrayValue(java.lang.String key)
Return the value of a property as a boolean array.
|
boolean |
getPropertyBooleanValue(java.lang.String key)
Return the value of a property as a boolean.
|
java.util.List<java.time.Duration> |
getPropertyDurationArrayValue(java.lang.String key)
Return the value of a property as a Duration array.
|
java.time.Duration |
getPropertyDurationValue(java.lang.String key)
Return the value of a property as a Duration.
|
java.util.List<java.io.File> |
getPropertyFileArrayValue(java.lang.String key)
Return the value of a property as a File array.
|
java.io.File |
getPropertyFileValue(java.lang.String key)
Return the value of a property as a File.
|
java.util.List<java.lang.Float> |
getPropertyFloatArrayValue(java.lang.String key)
Return the value of a property as a float array.
|
float |
getPropertyFloatValue(java.lang.String key)
Return the value of a property as a float.
|
float |
getPropertyFloatValue(java.lang.String key,
short unit)
Return the value of a property as a float.
|
java.util.List<org.da.protoframework.model.def.PropertyGroup> |
getPropertyGroups()
Return the list of PropertyParents.
|
java.util.List<java.lang.Integer> |
getPropertyIntArrayValue(java.lang.String key)
Return the value of a property as an int array.
|
int |
getPropertyIntValue(java.lang.String key)
Return the value of a property as an int.
|
int |
getPropertyIntValue(java.lang.String key,
short unit)
Return the value of a property as an int.
|
java.util.Map<java.lang.String,java.lang.String> |
getPropertyMapValue(java.lang.String key)
Return the value of a property as a Map.
|
java.util.List<org.da.protoframework.model.def.PropertyParent> |
getPropertyParents()
Return the list of PropertyParents.
|
ScreenPosition |
getPropertyPositionValue(java.lang.String key)
Return the value of a property as a position.
|
java.util.List<java.lang.String> |
getPropertyStringArrayValue(java.lang.String key)
Return the value of a property as a String array.
|
java.lang.String |
getPropertyStringValue(java.lang.String key)
Return the value of a property as a String.
|
java.net.URI |
getPropertyURIValue(java.lang.String key)
Return the value of a property as an URI.
|
java.net.URI |
getPropertyURIValue(java.lang.String key,
boolean exists)
Return the value of a property as an URI.
|
java.util.List<java.net.URL> |
getPropertyURLArrayValue(java.lang.String key)
Return the value of a property as an URL array.
|
java.util.List<java.net.URL> |
getPropertyURLArrayValue(java.lang.String key,
boolean exists)
Return the value of a property as an URL array.
|
java.net.URL |
getPropertyURLValue(java.lang.String key)
Return the value of a property as an URL.
|
java.net.URL |
getPropertyURLValue(java.lang.String key,
boolean exists)
Return the value of a property as an URL.
|
java.lang.Object |
getPropertyValue(java.lang.String key)
Return the value of a module property.
|
java.lang.Object |
getPropertyValue(java.lang.String key,
short unit)
Return the value of a module property.
|
InterfaceDefinition |
getProviderInterfaceDefinition(NamespaceKey key)
Return the provider interface definition for a Service name.
|
java.util.Map<NamespaceKey,InterfaceDefinition> |
getProviderInterfaces()
Return the provider Service interfaces for the Module.
|
java.lang.String |
getReceiveEntryPoint()
Return the default receive entryPoint path for the module.
|
java.lang.String |
getSendEntryPoint()
Return the default send entryPoint path for the module.
|
org.da.protoframework.model.def.SimpleProperty |
getSimpleProperty(java.lang.String key)
Return a property.
|
java.lang.String |
getStartEntryPoint()
Return the start entryPoint of the module.
|
org.da.protoframework.model.def.Value.Duration |
getStartEntryPointDelay()
Return the start entryPoint delay.
|
int |
getStartEntryPointDelayMS()
Return the start entryPoint delay in ms.
|
InterfaceDefinition |
getSubscriberInterfaceDefinition(NamespaceKey key)
Return the subscriber interface definition for a Service.
|
java.util.Map<NamespaceKey,InterfaceDefinition> |
getSubscriberInterfaces()
Return the subscriber Service interfaces for the Module.
|
java.lang.String |
getTriggerEntryPoint()
Return the default trigger entryPoint path for the module.
|
int |
getUpdateCap()
Return the update cap value in ms.
|
boolean |
hasAllUpdateCap()
Return true if the Module has an update cap for all output services.
|
boolean |
hasDefaultName()
Return true if the name of the module is the default name for a library.
|
boolean |
hasDefinedProperty(java.lang.String key)
Return true if there is a property for a specified key.
|
boolean |
hasImplementation()
Return true if the Module has an implementation.
|
boolean |
hasInterface(NamespaceKey key)
Return true if there is an interface for a Service to the Module.
|
boolean |
hasLibraryVersion()
Return true if the application has a library version.
|
boolean |
hasMandatoryProperties()
Return true if the module has at least one mandatory property.
|
boolean |
hasNamedProperty(java.lang.String key)
Return true if there is a named property with a specified key.
|
boolean |
hasProperties()
Return true if the module has properties.
|
boolean |
hasProviderInterface(NamespaceKey key)
Return true if there is a provider interface for a Service to the Module.
|
boolean |
hasPublishUpdateCap()
Return true if the Module has an update cap for publish output services.
|
boolean |
hasServiceInterfaces()
Return true if there is at least one Service interface for the module.
|
boolean |
hasSimpleProperty(java.lang.String key)
Return true if there is a simple property with a specified key.
|
boolean |
hasSubscriberInterface(NamespaceKey key)
Return true if there is a subscriber interface for a Service to the Module.
|
boolean |
isEnabled()
Return if the module is enabled.
|
boolean |
isInstance()
Return true if the module is an instance of a template module.
|
boolean |
isKeepingInterfaces()
Return true if the interfaces of the module should be kept by default when instanciating a library.
|
boolean |
isMaster()
Return true if the module is a master module.
|
void |
keepInterfaces(boolean isKeepingInterfaces)
Set if the interfaces of the module should be kept by default when instanciating a library.
|
void |
merge(ModuleDefinition module)
Merge the definition of another module with this one.
|
void |
removeProviderInterface(NamespaceKey key)
Removes a provider interface.
|
void |
removeSubscriberInterface(NamespaceKey key)
Removes a subscriber interface.
|
void |
setApplication(ApplicationDefinition appli)
Set the Module associated application.
|
void |
setAttachEntryPoint(java.lang.String entryPoint)
Set the default receive attach / detach path for the module.
|
void |
setDefaultChannelDefinition(org.da.protoframework.model.def.ChannelDefinition channelDef)
Set the default channel definition for the module.
|
void |
setDefaultName(boolean isDefaultName)
Set true if the name of the module is the default name for a library.
|
void |
setDescription(java.lang.String desc)
Set the service description.
|
void |
setDirectory(java.net.URL dir)
Set the module directory.
|
void |
setEnabled(boolean isEnabled)
Set if the module is enabled.
|
void |
setEndEntryPoint(java.lang.String entryPoint)
Set the end entryPoint path for the module.
|
void |
setFinishInvokeEntryPoint(java.lang.String entryPoint)
Set the default finishInvoke path for the module.
|
void |
setID(long id)
Set the Module ID.
|
void |
setInitEntryPoint(java.lang.String entryPoint)
Set the init entryPoint path of the module. if will be called for the
Module.init() . |
void |
setLibraryName(java.lang.String libraryName)
Set the module library name.
|
void |
setLibraryVersion(java.lang.String version)
Set the application library version.
|
void |
setMaster(boolean isMaster)
Set if the module is a master module.
|
void |
setName(java.lang.String name)
Set the module name.
|
void |
setPath(java.lang.String path)
Set the module main class path.
|
void |
setPreconfigureEntryPoint(java.lang.String entryPoint)
Set the init entryPoint path of the module. if will be called for the
Module.preConfigure() . |
short |
setPropertyValue(java.net.URL dir,
java.lang.String key,
java.lang.String value)
Set the value of a module property.
|
short |
setPropertyValue(java.net.URL dir,
java.lang.String key,
java.lang.String value,
short unit)
Set the value of a module property.
|
void |
setReceiveEntryPoint(java.lang.String entryPoint)
Set the default receive entryPoint path for the module.
|
void |
setSendEntryPoint(java.lang.String entryPoint)
Set the default send entryPoint path for the module.
|
void |
setStartEntryPoint(java.lang.String entryPoint,
org.da.protoframework.model.def.Value.Duration delayMS)
Set the start entryPoint path of the module. if will be called for the
Module.start() . |
void |
setTriggerEntryPoint(java.lang.String entryPoint)
Set the default trigger entryPoint path for the module.
|
java.lang.String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hasID
public ModuleDefinition(ApplicationDefinition appli, java.lang.String name, long id)
appli
- the application definitionname
- the module nameid
- the module IDpublic void setName(java.lang.String name)
name
- the namepublic void setDescription(java.lang.String desc)
setDescription
in interface org.da.protoframework.model.def.DescriptedElement
desc
- the service descriptionpublic java.lang.String getDescription()
getDescription
in interface org.da.protoframework.model.def.DescriptedElement
public void setLibraryName(java.lang.String libraryName)
libraryName
- the library namepublic java.lang.String getLibraryName()
public void setDefaultName(boolean isDefaultName)
isDefaultName
- true if the name of the module is the default name for a librarypublic boolean hasDefaultName()
public void setApplication(ApplicationDefinition appli)
appli
- the application definitionpublic void setLibraryVersion(java.lang.String version)
version
- the application library versionpublic boolean hasLibraryVersion()
public java.lang.String getLibraryVersion()
public void keepInterfaces(boolean isKeepingInterfaces)
isKeepingInterfaces
- true if the interfaces of the module should be kept by defaultpublic boolean isKeepingInterfaces()
public void setID(long id)
setID
in interface ElementDefinition
id
- the Module IDpublic ModuleDefinition clone()
clone
in class java.lang.Object
public void setMaster(boolean isMaster)
isMaster
- true if the module is a master modulepublic boolean isMaster()
public void setEnabled(boolean isEnabled)
isEnabled
- true if the module is a enabledpublic boolean isEnabled()
public boolean isInstance()
public void setDirectory(java.net.URL dir)
dir
- the module directorypublic java.net.URL getDirectory()
public java.net.URL getInstanceDirectory()
public final ModuleKey createModuleKey()
public final ModuleIDKey createModuleIDKey()
public ModuleKey getModuleKey()
public ModuleIDKey getModuleIDKey()
public void setDefaultChannelDefinition(org.da.protoframework.model.def.ChannelDefinition channelDef)
channelDef
- the default channel definitionpublic org.da.protoframework.model.def.ChannelDefinition getDefaultChannelDefinition()
public ApplicationDefinition getApplicationDefinition()
public long getID()
getID
in interface ElementDefinition
public java.lang.String getName()
getName
in interface ElementDefinition
public java.util.List<org.da.protoframework.model.def.PropertyParent> getPropertyParents()
public java.util.List<org.da.protoframework.model.def.PropertyGroup> getPropertyGroups()
public void addPropertyParent(org.da.protoframework.model.def.PropertyParent parent)
parent
- the PropertyParentpublic void addArrayProperty(java.net.URL dir, java.lang.String key, java.lang.Class<?> type, short unit, boolean isMandatory)
dir
- the base directorykey
- the property keytype
- the property typeunit
- the property unitisMandatory
- true if the property is mandatorypublic void addArrayProperty(java.net.URL dir, java.lang.String key, java.lang.Class<?> type, short unit, boolean isMandatory, boolean allowConfigVariables)
dir
- the base directorykey
- the property keytype
- the property typeunit
- the property unitisMandatory
- true if the property is mandatoryallowConfigVariables
- true if configuration variables patterns are allowedpublic void addArrayProperty(java.net.URL dir, java.lang.String key, java.lang.Class<?> type, boolean isMandatory)
dir
- the base directorykey
- the property keytype
- the property typeisMandatory
- true if the property is mandatorypublic void addArrayProperty(java.net.URL dir, java.lang.String key, java.lang.Class<?> type, boolean isMandatory, boolean allowConfigVariables)
dir
- the base directorykey
- the property keytype
- the property typeisMandatory
- true if the property is mandatoryallowConfigVariables
- true if configuration variable patterns are allowedpublic void addProperty(org.da.protoframework.model.def.SimpleProperty property)
property
- the propertypublic void addProperty(org.da.protoframework.model.def.SimpleProperty property, boolean isDefault)
addProperty(org.da.protoframework.model.def.SimpleProperty)
by default.property
- the propertyisDefault
- true for a default propertypublic short addProperty(java.net.URL dir, java.lang.String key, java.lang.Class<?> type, java.lang.String defaultValue, short unit, boolean isMandatory, boolean inArray, boolean allowConfigVariables)
dir
- the base directorykey
- the property keytype
- the property typedefaultValue
- the property default valueunit
- the property unitisMandatory
- true if the property is mandatoryinArray
- true if the property is in an arrayallowConfigVariables
- true if configuration variables patterns will be allowed in the property valuepublic short addProperty(java.net.URL dir, java.lang.String key, java.lang.Class<?> type, java.lang.String defaultValue, short unit, boolean isMandatory, boolean inArray)
dir
- the base directorykey
- the property keytype
- the property typedefaultValue
- the property default valueunit
- the property unitisMandatory
- true if the property is mandatoryinArray
- true if the property is in an arraypublic short addProperty(java.net.URL dir, java.lang.String key, java.lang.Class<?> type, java.lang.String defaultValue, boolean isMandatory, boolean inArray)
dir
- the base directorykey
- the property keytype
- the property typedefaultValue
- the property default valueisMandatory
- true if the property is mandatoryinArray
- true if the property is in in arraypublic short addProperty(java.net.URL dir, java.lang.String key, java.lang.Class<?> type, java.lang.String defaultValue, boolean isMandatory, boolean inArray, boolean allowConfigVariables)
dir
- the base directorykey
- the property keytype
- the property typedefaultValue
- the property default valueisMandatory
- true if the property is mandatoryinArray
- true if the property is in in arrayallowConfigVariables
- true if configuration variable patterns are allowedpublic void addAutoProperty(java.lang.String key, org.da.protoframework.model.def.Value<?> autoValue)
key
- the property keyautoValue
- the auto-proertypublic java.util.Map<java.lang.String,org.da.protoframework.model.def.SimpleProperty> getProperties()
public boolean hasProperties()
public int countProperties()
public boolean hasSimpleProperty(java.lang.String key)
key
- the PropertyElement keypublic boolean hasMandatoryProperties()
public boolean hasNamedProperty(java.lang.String key)
key
- the PropertyElement keypublic org.da.protoframework.model.def.SimpleProperty getSimpleProperty(java.lang.String key)
key
- the property keypublic org.da.protoframework.model.def.NamedProperty getNamedProperty(java.lang.String key)
key
- the property keypublic boolean hasDefinedProperty(java.lang.String key)
key
- the the property keypublic int getPropertyIntValue(java.lang.String key)
key
- the property keypublic int getPropertyIntValue(java.lang.String key, short unit)
key
- the property keyunit
- the unitpublic java.util.List<java.lang.Integer> getPropertyIntArrayValue(java.lang.String key)
key
- the property keypublic boolean getPropertyBooleanValue(java.lang.String key)
key
- the property keypublic java.util.List<java.lang.Boolean> getPropertyBooleanArrayValue(java.lang.String key)
key
- the property keypublic float getPropertyFloatValue(java.lang.String key)
key
- the property keypublic float getPropertyFloatValue(java.lang.String key, short unit)
key
- the property keyunit
- the unitpublic java.util.List<java.lang.Float> getPropertyFloatArrayValue(java.lang.String key)
key
- the property keypublic java.lang.String getNotNullPropertyStringValue(java.lang.String key)
key
- the property keypublic java.lang.String getPropertyStringValue(java.lang.String key)
key
- the property keypublic java.util.List<java.lang.String> getPropertyStringArrayValue(java.lang.String key)
key
- the property keypublic java.util.List<java.lang.Object> getPropertyArrayValue(java.lang.String key)
key
- the property keypublic java.net.URL getPropertyURLValue(java.lang.String key)
getPropertyURLValue(java.lang.String, boolean)
with the exist
parameter
set to false.key
- the property keypublic java.net.URL getPropertyURLValue(java.lang.String key, boolean exists)
exist
arugment is true, and the URL does not existkey
- the property keyexists
- true if the URL must existpublic java.net.URI getPropertyURIValue(java.lang.String key, boolean exists)
exist
arugment is true, and the URL does not existkey
- the property keyexists
- true if the URL must existpublic java.net.URI getPropertyURIValue(java.lang.String key)
getPropertyURIValue(java.lang.String, boolean)
with the exists
arugment
set to true.key
- the property keypublic java.util.List<java.net.URL> getPropertyURLArrayValue(java.lang.String key)
key
- the property keypublic java.util.List<java.net.URL> getPropertyURLArrayValue(java.lang.String key, boolean exists)
key
- the property keyexists
- true if the URLs will be put in the list only if they existpublic java.io.File getPropertyFileValue(java.lang.String key)
key
- the property keypublic java.util.List<java.io.File> getPropertyFileArrayValue(java.lang.String key)
key
- the property keypublic java.time.Duration getPropertyDurationValue(java.lang.String key)
key
- the property keypublic java.util.List<java.time.Duration> getPropertyDurationArrayValue(java.lang.String key)
key
- the property keypublic ScreenPosition getPropertyPositionValue(java.lang.String key)
key
- the property keypublic java.util.Map<java.lang.String,java.lang.String> getPropertyMapValue(java.lang.String key)
key
- the property keypublic boolean hasPublishUpdateCap()
public boolean hasAllUpdateCap()
public int getUpdateCap()
public short setPropertyValue(java.net.URL dir, java.lang.String key, java.lang.String value)
dir
- the base directorykey
- the property keyvalue
- the property value as a Stringpublic short setPropertyValue(java.net.URL dir, java.lang.String key, java.lang.String value, short unit)
dir
- the base directorykey
- the property keyvalue
- the property value as a Stringunit
- the unitpublic java.lang.Object getPropertyValue(java.lang.String key)
key
- the property keypublic java.lang.Object getPropertyValue(java.lang.String key, short unit)
key
- the property keyunit
- the unitpublic void setPath(java.lang.String path)
path
- the module main class pathpublic java.lang.String getPath()
public void setPreconfigureEntryPoint(java.lang.String entryPoint)
Module.preConfigure()
.entryPoint
- the entryPointpublic java.lang.String getPreConfigureEntryPoint()
public void setInitEntryPoint(java.lang.String entryPoint)
Module.init()
.entryPoint
- the entryPointpublic java.lang.String getInitEntryPoint()
public void setStartEntryPoint(java.lang.String entryPoint, org.da.protoframework.model.def.Value.Duration delayMS)
Module.start()
.entryPoint
- the entryPointdelayMS
- the delay in ms after the start of the Application when the method should be calledpublic java.lang.String getStartEntryPoint()
public int getStartEntryPointDelayMS()
public org.da.protoframework.model.def.Value.Duration getStartEntryPointDelay()
public void setAttachEntryPoint(java.lang.String entryPoint)
entryPoint
- the default attach / detach entryPoint pathpublic java.lang.String getAttachEntryPoint()
public void setFinishInvokeEntryPoint(java.lang.String entryPoint)
entryPoint
- the default finishInvoke entryPoint pathpublic java.lang.String getFinishInvokeEntryPoint()
public void setReceiveEntryPoint(java.lang.String entryPoint)
ServiceInstance.notified(char)
.entryPoint
- the default receive entryPoint pathpublic java.lang.String getReceiveEntryPoint()
public void setSendEntryPoint(java.lang.String entryPoint)
ServiceInstance.invoke()
.entryPoint
- the default send entryPoint pathpublic java.lang.String getSendEntryPoint()
public void setTriggerEntryPoint(java.lang.String entryPoint)
entryPoint
- the default trigger entryPoint pathpublic java.lang.String getTriggerEntryPoint()
public void setEndEntryPoint(java.lang.String entryPoint)
Module.shutdown()
.entryPoint
- the end entryPoint pathpublic java.lang.String getEndEntryPoint()
public void addProviderInterface(InterfaceDefinition serviceInt)
serviceInt
- the provider interfacepublic void removeProviderInterface(NamespaceKey key)
key
- the interface keypublic java.util.Map<NamespaceKey,InterfaceDefinition> getProviderInterfaces()
public void addCyclicMethod(org.da.protoframework.model.def.CyclicMethodDefinition method)
method
- the cyclic method declarationpublic java.util.List<org.da.protoframework.model.def.CyclicMethodDefinition> getCyclicMethods()
public boolean hasServiceInterfaces()
public void addSubscriberInterface(InterfaceDefinition serviceInt)
serviceInt
- the subscriber interfacepublic void removeSubscriberInterface(NamespaceKey key)
key
- the interface keypublic java.util.Map<NamespaceKey,InterfaceDefinition> getSubscriberInterfaces()
public void merge(ModuleDefinition module)
module
- the other modulepublic boolean hasImplementation()
public boolean hasProviderInterface(NamespaceKey key)
key
- the Service keypublic InterfaceDefinition getProviderInterfaceDefinition(NamespaceKey key)
key
- the Service keypublic boolean hasSubscriberInterface(NamespaceKey key)
key
- the Service keypublic boolean hasInterface(NamespaceKey key)
key
- the Service keypublic InterfaceDefinition getSubscriberInterfaceDefinition(NamespaceKey key)
key
- the Service keypublic java.lang.String toString()
toString
in class java.lang.Object
Copyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence