Class ServerSecret
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ServerSecret>
-
- com.delinea.secrets.jenkins.wrapper.cred.ServerSecret
-
- All Implemented Interfaces:
Describable<ServerSecret>
public class ServerSecret extends AbstractDescribableImpl<ServerSecret>
A Delinea SecretServer Secret, identified by it's id, and a list of mappings from the secret's data fields to environment variables.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerSecret.DescriptorImpl
static class
ServerSecret.Mapping
-
Constructor Summary
Constructors Constructor Description ServerSecret(int id, List<ServerSecret.Mapping> mappings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseUrl()
String
getCredentialId()
int
getId()
List<ServerSecret.Mapping>
getMappings()
void
setBaseUrl(String baseUrl)
void
setCredentialId(String credentialId)
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
ServerSecret
@DataBoundConstructor public ServerSecret(int id, List<ServerSecret.Mapping> mappings)
-
-
Method Detail
-
getId
public int getId()
-
getMappings
public List<ServerSecret.Mapping> getMappings()
-
getBaseUrl
public String getBaseUrl()
-
setBaseUrl
@DataBoundSetter public void setBaseUrl(String baseUrl)
-
getCredentialId
public String getCredentialId()
-
setCredentialId
@DataBoundSetter public void setCredentialId(String credentialId)
-
-