Package com.highmobility.autoapi
Class FailureMessage.State
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Byte>
com.highmobility.value.Bytes
com.highmobility.autoapi.Command
com.highmobility.autoapi.SetCommand
com.highmobility.autoapi.FailureMessage.State
- Enclosing class:
- FailureMessage
The failure message state
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.highmobility.autoapi.SetCommand
SetCommand.BaseBuilderNested classes/interfaces inherited from class com.highmobility.autoapi.Command
Command.HandleNotParsedProperty, Command.PropertyIteration, Command.PropertyIterator -
Field Summary
Fields inherited from class com.highmobility.autoapi.Command
BRAND_IDENTIFIER, NONCE_IDENTIFIER, propertyIterator, SIGNATURE_IDENTIFIER, TIMESTAMP_IDENTIFIER, universalPropertyIds, VIN_IDENTIFIERFields inherited from class com.highmobility.value.Bytes
bytesFields inherited from class java.util.AbstractList
modCount -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCommandFailed(Integer identifier, Integer type) Understand whether a set/get command failedProperty<com.highmobility.value.Bytes>booleangetPropertyFailed(Integer capabilityIdentifier, byte propertyIdentifier) Understand whether a specific message failedMethods inherited from class com.highmobility.autoapi.SetCommand
addProperty, createBytes, mandatoryPropertyErrorMessage, optionalPropertyErrorMessageMethods inherited from class com.highmobility.autoapi.Command
findUniversalProperties, findUniversalProperties, getAutoApiVersion, getBrand, getCommandType, getIdentifier, getNonce, getProperties, getProperty, getSignature, getSignedBytes, getTimestamp, getVinMethods inherited from class com.highmobility.value.Bytes
concat, concat, equals, get, getBase64, getBase64UrlSafe, getByteArray, getHex, getLength, getRange, set, set, set, size, toStringMethods inherited from class java.util.AbstractList
add, add, addAll, clear, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Method Details
-
getFailedMessageID
- Returns:
- Capability identifier of the failed message
-
getFailedMessageType
- Returns:
- Message type of the failed message
-
getFailureReason
- Returns:
- The failure reason
-
getFailureDescription
- Returns:
- Failure description
-
getFailedPropertyIDs
- Returns:
- Array of failed property identifiers
-
getPropertyFailed
Understand whether a specific message failed- Parameters:
capabilityIdentifier- The command capability identifierpropertyIdentifier- The property identifier- Returns:
- Whether the command failed.
-
getCommandFailed
Understand whether a set/get command failed- Parameters:
identifier- The command identifiertype- The command type- Returns:
- Whether the command failed.
-