com.kuka.nav.fleet.actions
Interface CustomActionRegistry

All Known Subinterfaces:
FleetManager

public interface CustomActionRegistry

Interface providing methods to handle custom node and edge actions.


Method Summary
 void addEdgeCustomAction(String identifier, CustomEdgeAction action)
          Registers a edge custom action at the fleet manager.
 void addNodeCustomAction(String identifier, CustomNodeAction action)
          Registers a node custom action at the fleet manager.
 CustomEdgeAction getEdgeCustomAction(String identifier)
          Gets a registered edge custom action.
 CustomNodeAction getNodeCustomAction(String identifier)
          Gets a registered node custom action.
 

Method Detail

addNodeCustomAction

void addNodeCustomAction(String identifier,
                         CustomNodeAction action)
Registers a node custom action at the fleet manager. It is not allowed to use the identifier TopologyGraph.GRAPH_TRANSITION.

Parameters:
identifier - the identifier for the action (must be different from TopologyGraph.GRAPH_TRANSITION)
action - the custom action

getNodeCustomAction

CustomNodeAction getNodeCustomAction(String identifier)
Gets a registered node custom action.

Parameters:
identifier - the identifier for the action
Returns:
the custom action or null

addEdgeCustomAction

void addEdgeCustomAction(String identifier,
                         CustomEdgeAction action)
Registers a edge custom action at the fleet manager. It is not allowed to use the identifier TopologyGraph.GRAPH_TRANSITION.

Parameters:
identifier - the identifier for the action (must be different from TopologyGraph.GRAPH_TRANSITION)
action - the custom action

getEdgeCustomAction

CustomEdgeAction getEdgeCustomAction(String identifier)
Gets a registered edge custom action.

Parameters:
identifier - the identifier for the action
Returns:
the custom action or null


Copyright © 2019. All rights reserved.