public class PropertiesBuilder extends Object
Modifier and Type | Method and Description |
---|---|
void |
addAsSystemProperties(org.jboss.shrinkwrap.api.container.ResourceContainer<?> archive) |
org.jboss.shrinkwrap.api.asset.StringAsset |
build() |
static PropertiesBuilder |
newBuilder() |
PropertiesBuilder |
set(String key,
String value) |
public static PropertiesBuilder newBuilder()
public PropertiesBuilder set(String key, String value)
key
- property keyvalue
- property valuepublic org.jboss.shrinkwrap.api.asset.StringAsset build()
public void addAsSystemProperties(org.jboss.shrinkwrap.api.container.ResourceContainer<?> archive)
archive
- deployment archive in which the property file is addedCopyright © 2017. All rights reserved.