public class QuestionStub extends com.vmware.vapi.internal.bindings.Stub implements Question
Question
API service.
WARNING: Internal class, subject to change in future versions.
QuestionTypes.AnswerSpec, QuestionTypes.Info, QuestionTypes.Question, QuestionTypes.QuestionType
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
QuestionStub(ApiProvider apiProvider,
StubConfigurationBase config) |
QuestionStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
answer(QuestionTypes.AnswerSpec spec)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
InvocationConfig invocationConfig)
Supply answer to the raised question.
|
QuestionTypes.Info |
get()
Get the question that was raised during the configuration.
|
void |
get(AsyncCallback<QuestionTypes.Info> asyncCallback)
Get the question that was raised during the configuration.
|
void |
get(AsyncCallback<QuestionTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the question that was raised during the configuration.
|
QuestionTypes.Info |
get(InvocationConfig invocationConfig)
Get the question that was raised during the configuration.
|
public QuestionStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public QuestionStub(ApiProvider apiProvider, StubConfigurationBase config)
public QuestionTypes.Info get()
Question
Synchronous method overload. Result of the invocation will be reported as a method return value.
public QuestionTypes.Info get(InvocationConfig invocationConfig)
Question
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(AsyncCallback<QuestionTypes.Info> asyncCallback)
Question
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Info structure containing the question.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if the appliance is not in QUESTION_RAISED state.
InternalServerError
- if questions could not be retrieved although the appliance is in QUESTION_RAISED
state.
public void get(AsyncCallback<QuestionTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Question
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Info structure containing the question.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if the appliance is not in QUESTION_RAISED state.
InternalServerError
- if questions could not be retrieved although the appliance is in QUESTION_RAISED
state.
public void answer(QuestionTypes.AnswerSpec spec)
Question
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void answer(QuestionTypes.AnswerSpec spec, InvocationConfig invocationConfig)
Question
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void answer(QuestionTypes.AnswerSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Question
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is NOT in QUESTION_RAISED state.
InternalServerError
- if answer file could not be created.
public void answer(QuestionTypes.AnswerSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Question
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is NOT in QUESTION_RAISED state.
InternalServerError
- if answer file could not be created.