public enum NoOpDeclareResourceRequirementServiceConnectionManager extends Enum<NoOpDeclareResourceRequirementServiceConnectionManager> implements DeclareResourceRequirementServiceConnectionManager
DeclareResourceRequirementServiceConnectionManager
.DeclareResourceRequirementServiceConnectionManager.DeclareResourceRequirementsService
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the service connection manager.
|
void |
connect(DeclareResourceRequirementServiceConnectionManager.DeclareResourceRequirementsService declareResourceRequirementsService)
Connect to the given service.
|
void |
declareResourceRequirements(ResourceRequirements resourceRequirements)
Declares the given resource requirements at the connected service.
|
void |
disconnect()
Disconnect from the current service.
|
static NoOpDeclareResourceRequirementServiceConnectionManager |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoOpDeclareResourceRequirementServiceConnectionManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoOpDeclareResourceRequirementServiceConnectionManager INSTANCE
public static NoOpDeclareResourceRequirementServiceConnectionManager[] values()
for (NoOpDeclareResourceRequirementServiceConnectionManager c : NoOpDeclareResourceRequirementServiceConnectionManager.values()) System.out.println(c);
public static NoOpDeclareResourceRequirementServiceConnectionManager valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void connect(DeclareResourceRequirementServiceConnectionManager.DeclareResourceRequirementsService declareResourceRequirementsService)
ServiceConnectionManager
connect
in interface ServiceConnectionManager<DeclareResourceRequirementServiceConnectionManager.DeclareResourceRequirementsService>
declareResourceRequirementsService
- service to connect topublic void disconnect()
ServiceConnectionManager
disconnect
in interface ServiceConnectionManager<DeclareResourceRequirementServiceConnectionManager.DeclareResourceRequirementsService>
public void declareResourceRequirements(ResourceRequirements resourceRequirements)
DeclareResourceRequirementServiceConnectionManager
declareResourceRequirements
in interface DeclareResourceRequirementServiceConnectionManager
resourceRequirements
- resourceRequirements to declare at the connected servicepublic void close()
ServiceConnectionManager
close
in interface ServiceConnectionManager<DeclareResourceRequirementServiceConnectionManager.DeclareResourceRequirementsService>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.