Class PropertyComponentFailure
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Byte>
com.highmobility.value.Bytes
com.highmobility.autoapi.property.PropertyComponent
com.highmobility.autoapi.property.PropertyComponentFailure
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.highmobility.value.Bytes
bytesFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionPropertyComponentFailure(PropertyComponentFailure.Reason failureReason, String description) Deprecated.usePropertyComponentFailure(Failure)insteadPropertyComponentFailure(Failure failure) Create a FailureComponent with Failure objectPropertyComponentFailure(com.highmobility.value.Bytes bytes) -
Method Summary
Methods inherited from class com.highmobility.autoapi.property.PropertyComponent
getIdentifier, getValueBytesMethods 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
-
Constructor Details
-
PropertyComponentFailure
- Throws:
CommandParseException
-
PropertyComponentFailure
public PropertyComponentFailure(PropertyComponentFailure.Reason failureReason, @Nullable String description) throws CommandParseException Deprecated.usePropertyComponentFailure(Failure)instead- Parameters:
failureReason- The failure reason.description- The failure description.- Throws:
CommandParseException- if cannot convert from Reason to Failure.Reason
-
PropertyComponentFailure
Create a FailureComponent with Failure object- Parameters:
failure- The failure object
-
-
Method Details
-
getFailure
- Returns:
- The failure object
-
getFailureReason
Deprecated.usegetFailure()instead- Returns:
- The failure reason.
- Throws:
CommandParseException- if cannot convert from Reason to Failure.Reason
-
getFailureDescription
- Returns:
- The failure description.
-
Failure.getReason()instead