Package jetbrains.buildServer.https
Class HttpsConfiguration
- java.lang.Object
-
- jetbrains.buildServer.https.HttpsConfiguration
-
public class HttpsConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PORT
static HttpsConfiguration
EMPTY
-
Constructor Summary
Constructors Constructor Description HttpsConfiguration(boolean enabled, HttpsRedirectStrategy redirectStrategy, String encryptedPassword, int port, boolean fetchedFromAcme)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncryptedPassword()
int
getPort()
HttpsRedirectStrategy
getRedirectStrategy()
boolean
isEnabled()
boolean
isFetchedFromAcme()
static HttpsConfiguration
readFrom(org.jdom.Element rootElement)
HttpsConfiguration
withEnabled(boolean newValue)
HttpsConfiguration
withEncryptedPassword(String encryptedPassword)
HttpsConfiguration
withFetchedFromAcme(boolean newValue)
HttpsConfiguration
withPort(int port)
HttpsConfiguration
withRedirectStrategy(HttpsRedirectStrategy newValue)
void
writeTo(org.jdom.Element parentElement)
-
-
-
Field Detail
-
DEFAULT_PORT
public static final int DEFAULT_PORT
-
EMPTY
public static final HttpsConfiguration EMPTY
-
-
Constructor Detail
-
HttpsConfiguration
public HttpsConfiguration(boolean enabled, @NotNull HttpsRedirectStrategy redirectStrategy, @NotNull String encryptedPassword, int port, boolean fetchedFromAcme)
-
-
Method Detail
-
getPort
public int getPort()
-
withPort
public HttpsConfiguration withPort(int port)
-
getRedirectStrategy
@NotNull public HttpsRedirectStrategy getRedirectStrategy()
-
isEnabled
public boolean isEnabled()
-
isFetchedFromAcme
public boolean isFetchedFromAcme()
-
getEncryptedPassword
@NotNull public String getEncryptedPassword()
-
withEnabled
public HttpsConfiguration withEnabled(boolean newValue)
-
withRedirectStrategy
public HttpsConfiguration withRedirectStrategy(@NotNull HttpsRedirectStrategy newValue)
-
withEncryptedPassword
public HttpsConfiguration withEncryptedPassword(@NotNull String encryptedPassword)
-
withFetchedFromAcme
public HttpsConfiguration withFetchedFromAcme(boolean newValue)
-
readFrom
public static HttpsConfiguration readFrom(org.jdom.Element rootElement) throws HttpsConfigurationException
- Throws:
HttpsConfigurationException
-
writeTo
public void writeTo(org.jdom.Element parentElement)
-
-