com.emc.mongoose.api.model.storage.Credential Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongoose-api-model Show documentation
Show all versions of mongoose-api-model Show documentation
Mongoose is a high-load storage performance testing tool
package com.emc.mongoose.api.model.storage;
import java.io.Serializable;
/**
Created by andrey on 14.03.17.
*/
public interface Credential
extends Serializable {
String getUid();
String getSecret();
static Credential getInstance(final String uid, final String secret) {
if(uid == null && secret == null) {
return null;
}
return new BasicCredential(uid, secret);
}
Credential NONE = new BasicCredential(null, null);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy