Package com.suse.salt.netapi.errors
Class FunctionNotAvailable
- java.lang.Object
-
- com.suse.salt.netapi.errors.FunctionNotAvailable
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
functionName
-
Constructor Summary
Constructors Constructor Description FunctionNotAvailable(java.lang.String fn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
<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)
java.lang.String
getFunctionName()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getFunctionName
public java.lang.String getFunctionName()
-
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)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-