public class Configuration extends Object implements MavenConfig.MavenChangeListener
| Modifier and Type | Field and Description |
|---|---|
static long |
CACHE_PERIOD |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLayoutCache() |
void |
configurationChanged(MavenConfig config) |
File |
getHistoryFile() |
Path |
getLayoutCache() |
Properties |
getLayoutCacheContent() |
MavenConfig |
getMavenConfig() |
void |
needRewrite() |
static Configuration |
parse() |
static Configuration |
parse(Map<String,String> options) |
void |
storeLayoutCacheContent(Properties props) |
public static final long CACHE_PERIOD
public MavenConfig getMavenConfig()
public Path getLayoutCache()
public Properties getLayoutCacheContent() throws IOException
IOExceptionpublic void storeLayoutCacheContent(Properties props) throws IOException
IOExceptionpublic void configurationChanged(MavenConfig config) throws XMLStreamException, IOException
configurationChanged in interface MavenConfig.MavenChangeListenerXMLStreamExceptionIOExceptionpublic void needRewrite()
throws XMLStreamException,
IOException
XMLStreamExceptionIOExceptionpublic File getHistoryFile()
public static Configuration parse() throws ProvisioningException
ProvisioningExceptionpublic static Configuration parse(Map<String,String> options) throws ProvisioningException
ProvisioningExceptionpublic void clearLayoutCache()
throws IOException
IOExceptionCopyright © 2016–2019 JBoss by Red Hat. All rights reserved.