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 intDEFAULT_PORTstatic HttpsConfigurationEMPTY
-
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 StringgetEncryptedPassword()intgetPort()HttpsRedirectStrategygetRedirectStrategy()booleanisEnabled()booleanisFetchedFromAcme()static HttpsConfigurationreadFrom(org.jdom.Element rootElement)HttpsConfigurationwithEnabled(boolean newValue)HttpsConfigurationwithEncryptedPassword(String encryptedPassword)HttpsConfigurationwithFetchedFromAcme(boolean newValue)HttpsConfigurationwithPort(int port)HttpsConfigurationwithRedirectStrategy(HttpsRedirectStrategy newValue)voidwriteTo(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)
-
-