Class StubEcsAas
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.StubEcsAas
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.iip_aas.AasContributor
public class StubEcsAas
extends Object
implements de.iip_ecosphere.platform.support.iip_aas.AasContributor
A faked ECS AAS for testing.
- Author:
- Dennis Pidun, University of Hildesheim
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.iip_aas.AasContributor
de.iip_ecosphere.platform.support.iip_aas.AasContributor.Kind -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Stringprivate static de.iip_ecosphere.platform.support.json.JsonResultWrapperprivate static de.iip_ecosphere.platform.support.json.JsonResultWrapperprivate static de.iip_ecosphere.platform.support.json.JsonResultWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.iip_ecosphere.platform.support.aas.AascontributeTo(de.iip_ecosphere.platform.support.aas.Aas.AasBuilder aasBuilder, de.iip_ecosphere.platform.support.aas.InvocablesCreator iCreator) voidcontributeTo(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder) (package private) static de.iip_ecosphere.platform.support.json.JsonResultWrapperReturns thecreateRemoteConnectionCredentialsMock.de.iip_ecosphere.platform.support.iip_aas.AasContributor.KindgetKind()(package private) static de.iip_ecosphere.platform.support.json.JsonResultWrapperReturns thesetConfigMock.(package private) static de.iip_ecosphere.platform.support.json.JsonResultWrapperReturns theupdateRuntimeMock.booleanisValid()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.support.iip_aas.AasContributor
exists, getAasAuthentication, getSubmodelAuthentication
-
Field Details
-
A_DEVICE
- See Also:
-
updateRuntimeMock
private static de.iip_ecosphere.platform.support.json.JsonResultWrapper updateRuntimeMock -
setConfigMock
private static de.iip_ecosphere.platform.support.json.JsonResultWrapper setConfigMock -
createRemoteConnectionCredentialsMock
private static de.iip_ecosphere.platform.support.json.JsonResultWrapper createRemoteConnectionCredentialsMock
-
-
Constructor Details
-
StubEcsAas
public StubEcsAas()
-
-
Method Details
-
getUpdateRuntimeMock
static de.iip_ecosphere.platform.support.json.JsonResultWrapper getUpdateRuntimeMock()Returns theupdateRuntimeMock.- Returns:
- the mock
-
getSetConfigMock
static de.iip_ecosphere.platform.support.json.JsonResultWrapper getSetConfigMock()Returns thesetConfigMock.- Returns:
- the mock
-
getCreateRemoteConnectionCredentialsMock
static de.iip_ecosphere.platform.support.json.JsonResultWrapper getCreateRemoteConnectionCredentialsMock()Returns thecreateRemoteConnectionCredentialsMock.- Returns:
- the mock
-
contributeTo
public de.iip_ecosphere.platform.support.aas.Aas contributeTo(de.iip_ecosphere.platform.support.aas.Aas.AasBuilder aasBuilder, de.iip_ecosphere.platform.support.aas.InvocablesCreator iCreator) - Specified by:
contributeToin interfacede.iip_ecosphere.platform.support.iip_aas.AasContributor
-
contributeTo
public void contributeTo(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder) - Specified by:
contributeToin interfacede.iip_ecosphere.platform.support.iip_aas.AasContributor
-
getKind
public de.iip_ecosphere.platform.support.iip_aas.AasContributor.Kind getKind()- Specified by:
getKindin interfacede.iip_ecosphere.platform.support.iip_aas.AasContributor
-
isValid
public boolean isValid()- Specified by:
isValidin interfacede.iip_ecosphere.platform.support.iip_aas.AasContributor
-