Class CanonicalValueViolation
java.lang.Object
org.opendaylight.yangtools.yang.common.CanonicalValueViolation
- All Implemented Interfaces:
Serializable
,Immutable
- Direct Known Subclasses:
CanonicalValueViolation.Regular
,CanonicalValueViolation.WithException
@Beta
@NonNullByDefault
public abstract class CanonicalValueViolation
extends Object
implements Immutable, Serializable
A violation of a
CanonicalValue
validation. Contains details as mandated by RFC7950 Section 8.3.1.- Author:
- Robert Varga
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CanonicalValueViolation
empty()
static <T> Either<T,
CanonicalValueViolation> final boolean
final int
hashCode()
static CanonicalValueViolation
static CanonicalValueViolation
final String
toString()
static <T> Either<T,
CanonicalValueViolation> static <T> Either<T,
CanonicalValueViolation> static <T> Either<T,
CanonicalValueViolation>
-
Constructor Details
-
CanonicalValueViolation
public CanonicalValueViolation()
-
-
Method Details
-
empty
-
of
-
of
-
emptyVariant
-
variantOf
-
variantOf
-
variantOf
public static <T> Either<T,CanonicalValueViolation> variantOf(@Nullable String appTag, String message) -
getAppTag
-
getMessage
-
hashCode
public final int hashCode() -
equals
-
toString
-