public abstract class CredentialsType<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<CredentialsType<?>> |
EP_NAME |
static CredentialsType<UnknownCredentialsHolder> |
UNKNOWN |
static Key<UnknownCredentialsHolder> |
UNKNOWN_CREDENTIALS |
Modifier | Constructor and Description |
---|---|
protected |
CredentialsType(java.lang.String name,
java.lang.String prefix) |
Modifier and Type | Method and Description |
---|---|
abstract T |
createCredentials() |
T |
getCredentials(UserDataHolderBase dataHolder) |
abstract Key<T> |
getCredentialsKey() |
abstract RemoteCredentialsHandler |
getHandler(T credentials) |
java.lang.String |
getName() |
int |
getWeight() |
boolean |
hasPrefix(java.lang.String path) |
void |
putCredentials(UserDataHolderBase dataHolder,
T credentials) |
void |
saveCredentials(RemoteSdkAdditionalData data,
CredentialsCase... cases) |
public static final ExtensionPointName<CredentialsType<?>> EP_NAME
public static final Key<UnknownCredentialsHolder> UNKNOWN_CREDENTIALS
public static final CredentialsType<UnknownCredentialsHolder> UNKNOWN
protected CredentialsType(java.lang.String name, java.lang.String prefix)
public java.lang.String getName()
public T getCredentials(UserDataHolderBase dataHolder)
public void putCredentials(UserDataHolderBase dataHolder, T credentials)
public abstract RemoteCredentialsHandler getHandler(T credentials)
public boolean hasPrefix(java.lang.String path)
public abstract T createCredentials()
public int getWeight()
public void saveCredentials(RemoteSdkAdditionalData data, CredentialsCase... cases)