Class KnativeEnvironment.KnativeServiceDefinition
- java.lang.Object
-
- org.apache.camel.impl.cloud.DefaultServiceDefinition
-
- org.apache.camel.component.knative.spi.KnativeEnvironment.KnativeServiceDefinition
-
- All Implemented Interfaces:
org.apache.camel.cloud.ServiceDefinition
- Enclosing class:
- KnativeEnvironment
public static final class KnativeEnvironment.KnativeServiceDefinition extends org.apache.camel.impl.cloud.DefaultServiceDefinition
-
-
Constructor Summary
Constructors Constructor Description KnativeServiceDefinition(Knative.Type type, String name, String host, Integer port, Map<String,String> metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEventType()
String
getPath()
String
getPathOrDefault(String path)
int
getPortOrDefault(int port)
Knative.Type
getType()
-
Methods inherited from class org.apache.camel.impl.cloud.DefaultServiceDefinition
builder, equals, getHealth, getHost, getId, getMetadata, getName, getPort, hashCode, parse, toString
-
-
-
-
Method Detail
-
getType
public Knative.Type getType()
-
getPath
public String getPath()
-
getEventType
public String getEventType()
-
getPortOrDefault
public int getPortOrDefault(int port)
-
-