Package com.vmware.aria.operations
Class EndpointResult
-
- All Implemented Interfaces:
@Serializable() public final class EndpointResult
Class for managing the results of an adapter's getEndpointURLs call
The result of is a set of urls that the adapter will connect to. Aria Operations will then attempt to connect to each of these urls securely, and prompt the user to accept or reject the certificate presented by each URL.
-
-
Field Summary
Fields Modifier and Type Field Description private final JsonElement
json
-
Constructor Summary
Constructors Constructor Description EndpointResult()
-
Method Summary
Modifier and Type Method Description final JsonElement
getJson()
final EndpointResult
withEndpoint(String endpoint)
Adds an endpoint to the set of endpoints Aria Operations will test for certificate validation. final Unit
sendResults(String outputPipe)
Opens the output pipe and sends results directly back to the server This method can only be called once per collection. final Unit
sendResults()
Opens the output pipe and sends results directly back to the server This method can only be called once per collection. -
-
Method Detail
-
getJson
final JsonElement getJson()
-
withEndpoint
final EndpointResult withEndpoint(String endpoint)
Adds an endpoint to the set of endpoints Aria Operations will test for certificate validation.
If this method is called multiple times, each url will be called by Aria Operations.
- Parameters:
endpoint
- A string containing the url
-
sendResults
final Unit sendResults(String outputPipe)
Opens the output pipe and sends results directly back to the server This method can only be called once per collection.
- Parameters:
outputPipe
- The path to the output pipe.
-
sendResults
final Unit sendResults()
Opens the output pipe and sends results directly back to the server This method can only be called once per collection.
-
-
-
-