Package com.suse.salt.netapi.errors
Class ModuleNotSupported
- java.lang.Object
-
- com.suse.salt.netapi.errors.ModuleNotSupported
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringmoduleName
-
Constructor Summary
Constructors Constructor Description ModuleNotSupported(java.lang.String module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)<T> Tfold(java.util.function.Function<FunctionNotAvailable,? extends T> fnNotAvail, java.util.function.Function<ModuleNotSupported,? extends T> modNotSupported, java.util.function.Function<JsonParsingError,? extends T> jsonError, java.util.function.Function<GenericError,? extends T> generic, java.util.function.Function<SaltSSHError,? extends T> saltSSHError)java.lang.StringgetModuleName()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getModuleName
public java.lang.String getModuleName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
fold
public <T> T fold(java.util.function.Function<FunctionNotAvailable,? extends T> fnNotAvail, java.util.function.Function<ModuleNotSupported,? extends T> modNotSupported, java.util.function.Function<JsonParsingError,? extends T> jsonError, java.util.function.Function<GenericError,? extends T> generic, java.util.function.Function<SaltSSHError,? extends T> saltSSHError)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-