Class SocketCartridgesIdentifier

java.lang.Object
com.nt.udc.testnodechain.utils.SocketCartridgesIdentifier

public class SocketCartridgesIdentifier extends Object
Title: Socket Cartridges Identifier Description: This class is responsible for reading nodeTypeMapper.yaml and identifying if cartridges are socket based using nodeContext
  • Constructor Details

    • SocketCartridgesIdentifier

      public SocketCartridgesIdentifier()
  • Method Details

    • readMapper

      public Map<String,Object> readMapper()
      Used to read nodeTypeMapper.yaml into a hashmap
      Returns:
      Mapinvalid input: '<'String, Object>
    • isInputFileBased

      public boolean isInputFileBased(String nodeContext)
      Returns If inputType for a node based on nodeContext is NA or not
      Parameters:
      nodeContext -
      Returns:
      boolean
    • isOutputFileBased

      public boolean isOutputFileBased(String nodeContext)
      Returns If outputType for a node based on nodeContext is NA or not
      Parameters:
      nodeContext -
      Returns:
      boolean