Package org.apache.camel.impl.cloud
Class DefaultServiceDefinition
java.lang.Object
org.apache.camel.impl.cloud.DefaultServiceDefinition
- All Implemented Interfaces:
org.apache.camel.cloud.ServiceDefinition
public class DefaultServiceDefinition
extends Object
implements org.apache.camel.cloud.ServiceDefinition
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFluent builder to construct ServiceDefinition. -
Field Summary
Fields inherited from interface org.apache.camel.cloud.ServiceDefinition
SERVICE_META_HOST, SERVICE_META_ID, SERVICE_META_NAME, SERVICE_META_PATH, SERVICE_META_PORT, SERVICE_META_PREFIX, SERVICE_META_PROTOCOL, SERVICE_META_ZONE -
Constructor Summary
ConstructorsConstructorDescriptionDefaultServiceDefinition(String name, String host, int port) DefaultServiceDefinition(String name, String host, int port, Map<String, String> meta, org.apache.camel.cloud.ServiceHealth health) DefaultServiceDefinition(String name, String host, int port, org.apache.camel.cloud.ServiceHealth health) DefaultServiceDefinition(String id, String name, String host, int port) DefaultServiceDefinition(String id, String name, String host, int port, Map<String, String> meta, org.apache.camel.cloud.ServiceHealth health) DefaultServiceDefinition(String id, String name, String host, int port, org.apache.camel.cloud.ServiceHealth health) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.cloud.ServiceDefinition
matches
-
Constructor Details
-
DefaultServiceDefinition
-
DefaultServiceDefinition
-
DefaultServiceDefinition
-
DefaultServiceDefinition
-
DefaultServiceDefinition
-
DefaultServiceDefinition
-
DefaultServiceDefinition
-
DefaultServiceDefinition
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceorg.apache.camel.cloud.ServiceDefinition
-
getName
- Specified by:
getNamein interfaceorg.apache.camel.cloud.ServiceDefinition
-
getHost
- Specified by:
getHostin interfaceorg.apache.camel.cloud.ServiceDefinition
-
getPort
public int getPort()- Specified by:
getPortin interfaceorg.apache.camel.cloud.ServiceDefinition
-
getHealth
public org.apache.camel.cloud.ServiceHealth getHealth()- Specified by:
getHealthin interfaceorg.apache.camel.cloud.ServiceDefinition
-
getMetadata
- Specified by:
getMetadatain interfaceorg.apache.camel.cloud.ServiceDefinition
-
toString
-
equals
-
hashCode
public int hashCode() -
parse
-
builder
-