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

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final String
     
    private static de.iip_ecosphere.platform.support.json.JsonResultWrapper
     
    private static de.iip_ecosphere.platform.support.json.JsonResultWrapper
     
    private static de.iip_ecosphere.platform.support.json.JsonResultWrapper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    void
    contributeTo(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder)
     
    (package private) static de.iip_ecosphere.platform.support.json.JsonResultWrapper
    de.iip_ecosphere.platform.support.iip_aas.AasContributor.Kind
     
    (package private) static de.iip_ecosphere.platform.support.json.JsonResultWrapper
    Returns the setConfigMock.
    (package private) static de.iip_ecosphere.platform.support.json.JsonResultWrapper
    Returns the updateRuntimeMock.
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.iip_ecosphere.platform.support.iip_aas.AasContributor

    exists, getAasAuthentication, getSubmodelAuthentication
  • Field Details

    • A_DEVICE

      static final String 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 the updateRuntimeMock.
      Returns:
      the mock
    • getSetConfigMock

      static de.iip_ecosphere.platform.support.json.JsonResultWrapper getSetConfigMock()
      Returns the setConfigMock.
      Returns:
      the mock
    • getCreateRemoteConnectionCredentialsMock

      static de.iip_ecosphere.platform.support.json.JsonResultWrapper getCreateRemoteConnectionCredentialsMock()
      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:
      contributeTo in interface de.iip_ecosphere.platform.support.iip_aas.AasContributor
    • contributeTo

      public void contributeTo(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder)
      Specified by:
      contributeTo in interface de.iip_ecosphere.platform.support.iip_aas.AasContributor
    • getKind

      public de.iip_ecosphere.platform.support.iip_aas.AasContributor.Kind getKind()
      Specified by:
      getKind in interface de.iip_ecosphere.platform.support.iip_aas.AasContributor
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface de.iip_ecosphere.platform.support.iip_aas.AasContributor