@Service(value="archivaRuntimeInfo") public class ArchivaRuntimeInfo extends Object
Constructor and Description |
---|
ArchivaRuntimeInfo(Properties archivaRuntimeProperties) |
Modifier and Type | Method and Description |
---|---|
String |
getBuildNumber() |
long |
getTimestamp() |
String |
getVersion() |
boolean |
isDevMode() |
void |
setBuildNumber(String buildNumber) |
void |
setDevMode(boolean devMode) |
void |
setTimestamp(long timestamp) |
void |
setVersion(String version) |
String |
toString() |
@Inject public ArchivaRuntimeInfo(@Named(value="archivaRuntimeProperties") Properties archivaRuntimeProperties)
public String getVersion()
public void setVersion(String version)
public String getBuildNumber()
public void setBuildNumber(String buildNumber)
public long getTimestamp()
public void setTimestamp(long timestamp)
public boolean isDevMode()
public void setDevMode(boolean devMode)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.