TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.automation.core
Interface Service.Discoverable

All Known Subinterfaces:
AutomationClient
All Known Implementing Classes:
AutomationClient.Default, AutomationServer
Enclosing interface:
Service

public static interface Service.Discoverable

The nested interface used to discover if this service exists and is runnable or not


Method Summary
 java.util.List discover()
          Discover published services available for command, other peer methods will be added to constrain the list membership returned.
 boolean discover(java.lang.String identifier)
          Discover the given service on the server (within Eclipse)
 

Method Detail

discover

java.util.List discover()
Discover published services available for command, other peer methods will be added to constrain the list membership returned.

Returns:
the list of services available for command, the list contains the service identifiers available and not the services themselves -- a service identifier can then be requested and executed once an identifier is known

discover

boolean discover(java.lang.String identifier)
Discover the given service on the server (within Eclipse)

Parameters:
identifier - the service identifier
Returns:
true if the service is available

TPTP 4.6.0 Platform Project
Public API Specification