Interface AuthChallengeCompleteEvent.Result.Error.Timeout
- All Superinterfaces:
- AuthChallengeCompleteEvent.Result,- AuthChallengeCompleteEvent.Result.Error
- Enclosing interface:
- AuthChallengeCompleteEvent.Result.Error
public static interface AuthChallengeCompleteEvent.Result.Error.Timeout
extends AuthChallengeCompleteEvent.Result.Error
Representation of the result of an authentication challenge which failed due to a timeout.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.inductiveautomation.perspective.gateway.api.AuthChallengeCompleteEvent.ResultAuthChallengeCompleteEvent.Result.Error, AuthChallengeCompleteEvent.Result.SuccessNested classes/interfaces inherited from interface com.inductiveautomation.perspective.gateway.api.AuthChallengeCompleteEvent.Result.ErrorAuthChallengeCompleteEvent.Result.Error.Cancelled, AuthChallengeCompleteEvent.Result.Error.Generic, AuthChallengeCompleteEvent.Result.Error.Timeout
- 
Method SummaryModifier and TypeMethodDescriptionAlways throws anUnsupportedOperationExceptionsince this is aAuthChallengeCompleteEvent.Result.Error.Timeouterror resultAlways throws anUnsupportedOperationExceptionsince this is aAuthChallengeCompleteEvent.Result.Error.Timeouterror resultintdefault booleandefault booleandefault booleanMethods inherited from interface com.inductiveautomation.perspective.gateway.api.AuthChallengeCompleteEvent.Result.ErrorgetAsError, getAsSuccess, isError, isSuccess
- 
Method Details- 
isGenericdefault boolean isGeneric()- Specified by:
- isGenericin interface- AuthChallengeCompleteEvent.Result.Error
- Returns:
- false since this AuthChallengeCompleteEvent.Result.Errorresult is due to a timeout
 
- 
isTimeoutdefault boolean isTimeout()- Specified by:
- isTimeoutin interface- AuthChallengeCompleteEvent.Result.Error
- Returns:
- true since this AuthChallengeCompleteEvent.Result.Errorresult is due to a timeout
 
- 
isCancelleddefault boolean isCancelled()- Specified by:
- isCancelledin interface- AuthChallengeCompleteEvent.Result.Error
- Returns:
- false since this AuthChallengeCompleteEvent.Result.Errorresult is due to a timeout
 
- 
getAsGenericAlways throws anUnsupportedOperationExceptionsince this is aAuthChallengeCompleteEvent.Result.Error.Timeouterror result- Specified by:
- getAsGenericin interface- AuthChallengeCompleteEvent.Result.Error
- Returns:
- this AuthChallengeCompleteEvent.Result.Errorobject typed as aAuthChallengeCompleteEvent.Result.Error.Genericobject if this error is generic, otherwise throws anUnsupportedOperationExceptionif this error is not generic. CheckAuthChallengeCompleteEvent.Result.Error.isGeneric()before calling this method to ensure you get the correct result type.
 
- 
getAsTimeout- Specified by:
- getAsTimeoutin interface- AuthChallengeCompleteEvent.Result.Error
- Returns:
- this AuthChallengeCompleteEvent.Result.Errorresult typed asAuthChallengeCompleteEvent.Result.Error.Timeout
 
- 
getAsCancelledAlways throws anUnsupportedOperationExceptionsince this is aAuthChallengeCompleteEvent.Result.Error.Timeouterror result- Specified by:
- getAsCancelledin interface- AuthChallengeCompleteEvent.Result.Error
- Returns:
- this AuthChallengeCompleteEvent.Result.Errorobject typed as aAuthChallengeCompleteEvent.Result.Error.Cancelledobject if this error is due to the user cancelling the authentication challenge, otherwise throws anUnsupportedOperationExceptionif this error is not due to the user cancelling the authentication challenge. CheckAuthChallengeCompleteEvent.Result.Error.isCancelled()before calling this method to ensure you get the correct result type.
 
- 
getTimeoutint getTimeout()- Returns:
- the timeout value in minutes that was used to configure the timeout which got triggered
 
 
-