@Service(value="archivaRuntimeInfo") public class ArchivaRuntimeInfo extends Object
Modifier and Type | Field and Description |
---|---|
private String |
buildNumber |
private boolean |
devMode |
private long |
timestamp |
private String |
version |
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() |
private String buildNumber
private long timestamp
private boolean devMode
@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–2023 The Apache Software Foundation. All rights reserved.