Package com.nike.pdm.localstack.compose
Class LocalStackExtension
- java.lang.Object
-
- com.nike.pdm.localstack.compose.LocalStackExtension
-
public class LocalStackExtension extends java.lang.Object
LocalStack Gradle Plugin extension properties.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description LocalStackExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHost()
Gets the localstack hostname.int
getPort()
Gets the localstack edge services port.java.lang.String
getSigningRegion()
Gets the default localstack AWS signing region.SpringBootExtension
getSpringboot()
Gets the nested `springboot` configuration extension.java.io.File
getWorkingDir()
Gets the LocalStack working directory.void
setHost(java.lang.String host)
Sets the localstack hostname.void
setPort(int port)
Sets the localstack edge services port.void
setSigningRegion(java.lang.String signingRegion)
Sets the default localstack AWS signing region.void
setWorkingDir(java.io.File workingDir)
Sets the LocalStack working directory.
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWorkingDir
public java.io.File getWorkingDir()
Gets the LocalStack working directory.- Returns:
- localstack working directory if configured via extension; otherwise
null
-
setWorkingDir
public void setWorkingDir(java.io.File workingDir)
Sets the LocalStack working directory.- Parameters:
workingDir
- localstack working directory
-
getHost
public java.lang.String getHost()
Gets the localstack hostname.- Returns:
- localstack hostname
-
setHost
public void setHost(java.lang.String host)
Sets the localstack hostname.- Parameters:
host
- localstack hostname
-
getPort
public int getPort()
Gets the localstack edge services port.- Returns:
- localstack edge services port
-
setPort
public void setPort(int port)
Sets the localstack edge services port.- Parameters:
port
- localstack edge services port
-
getSigningRegion
public java.lang.String getSigningRegion()
Gets the default localstack AWS signing region.- Returns:
- default localstack AWS signing region
-
setSigningRegion
public void setSigningRegion(java.lang.String signingRegion)
Sets the default localstack AWS signing region.- Parameters:
signingRegion
- default localstack AWS signing region
-
getSpringboot
public SpringBootExtension getSpringboot()
Gets the nested `springboot` configuration extension.- Returns:
- springboot configuration extension
-
-