Package com.signadot.model
Class ForkEndpoint
- java.lang.Object
-
- com.signadot.model.ForkEndpoint
-
public class ForkEndpoint extends Object
ForkEndpoint
-
-
Constructor Summary
Constructors Constructor Description ForkEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
Name of the endpointInteger
getPort()
Port it will map to on the forked workloadString
getProtocol()
Protocol that this endpoint usesint
hashCode()
ForkEndpoint
name(String name)
ForkEndpoint
port(Integer port)
ForkEndpoint
protocol(String protocol)
void
setName(String name)
void
setPort(Integer port)
void
setProtocol(String protocol)
String
toString()
-
-
-
Method Detail
-
name
public ForkEndpoint name(String name)
-
getName
public String getName()
Name of the endpoint- Returns:
- name
-
setName
public void setName(String name)
-
port
public ForkEndpoint port(Integer port)
-
getPort
public Integer getPort()
Port it will map to on the forked workload- Returns:
- port
-
setPort
public void setPort(Integer port)
-
protocol
public ForkEndpoint protocol(String protocol)
-
getProtocol
public String getProtocol()
Protocol that this endpoint uses- Returns:
- protocol
-
setProtocol
public void setProtocol(String protocol)
-
-