Interface Connection
- All Superinterfaces:
DeletableResource
- All Known Implementing Classes:
ConnectionWrapper
- Author:
- ianjones
-
Method Summary
Modifier and TypeMethodDescriptiondelete()getASide()getHref()getName()getOrder()getState()getType()getUuid()getZSide()performOperation(ConnectionOperationType connectionOperation) performOperation(ConnectionOperationType connectionOperation, String description) performOperation(ConnectionOperationType connectionOperation, String description, Object bodyObject) Performs a connection action (accept, reject, retry...) and returns the action result (spec schemaConnectionAction).voidrefresh()update()Methods inherited from interface DeletableResource
isDeletedModifier and TypeMethodDescriptionbooleanReturns whetherdelete(...)was called successfully on this model instance.
-
Method Details
-
getUuid
String getUuid() -
getType
ConnectionType getType() -
getHref
String getHref() -
getName
String getName() -
getDescription
String getDescription() -
getState
ConnectionState getState() -
getGeoScope
GeoScopeType getGeoScope() -
getOrder
Order getOrder() -
getOperation
ConnectionOperation getOperation() -
getNotifications
List<Notification> getNotifications() -
getAccount
Account getAccount() -
getChangeLog
ChangeLog getChangeLog() -
getBandwidth
Integer getBandwidth() -
getRedundancy
Redundancy getRedundancy() -
getIsRemote
Boolean getIsRemote() -
getDirection
Direction getDirection() -
getASide
ConnectionSide getASide() -
getZSide
ConnectionSide getZSide() -
getAdditionalInfo
List<KeyValuePair> getAdditionalInfo() -
getMarketplaceSubscription
MarketplaceSubscriptionRef getMarketplaceSubscription() -
getProject
Project getProject() -
getChange
Change getChange() -
performOperation
ConnectionAction performOperation(ConnectionOperationType connectionOperation, String description, Object bodyObject) Performs a connection action (accept, reject, retry...) and returns the action result (spec schemaConnectionAction). Callrefresh()afterwards to re-read the connection's updated state.- Parameters:
connectionOperation- the action typedescription- action description (e.g. rejection reason)bodyObject- optional action data- Returns:
- the
ConnectionActionreturned by the API
-
performOperation
-
performOperation
-
update
ConnectionOperator.ConnectionUpdater update() -
delete
Boolean delete() -
refresh
void refresh()
-