次の方法で共有


EndpointResourceDescription Class

  • java.lang.Object
    • system.fabric.description.EndpointResourceDescription

public class EndpointResourceDescription

Describes the endpoint resource.

Method Summary

Modifier and Type Method and Description
EndPointType getEndpointType()

Gets the type of the endpoint.

String getName()

Gets the name of the endpoint.

int getPort()

Gets the port assigned for this endpoint.

EndPointProtocol getProtocol()

Gets the protocol used by this endpoint.

void setEndpointType(EndPointType endpointType)

Sets the type of the endpoint.

void setName(String name)

Sets the name of the endpoint.

void setProtocol(EndPointProtocol protocol)

Sets the protocol used by this endpoint.

String toString()

Method Details

getEndpointType

public EndPointType getEndpointType()

Gets the type of the endpoint.

Returns:

The type of the endpoint.

getName

public String getName()

Gets the name of the endpoint.

Returns:

The name of the endpoint.

getPort

public int getPort()

Gets the port assigned for this endpoint.

Returns:

The port assigned for this endpoint.

getProtocol

public EndPointProtocol getProtocol()

Gets the protocol used by this endpoint.

Returns:

The protocol used by this endpoint.

setEndpointType

public void setEndpointType(EndPointType endpointType)

Sets the type of the endpoint.

Parameters:

endpointType - The type of the endpoint.

setName

public void setName(String name)

Sets the name of the endpoint.

Parameters:

name - The name of the endpoint.

setProtocol

public void setProtocol(EndPointProtocol protocol)

Sets the protocol used by this endpoint.

Parameters:

protocol - The protocol used by this endpoint.

toString

public String toString()

Applies to