public class Component extends AbstractComponent implements Comparable
Modifier and Type | Field and Description |
---|---|
static String |
CORE_VERSION |
static String |
IS_GIT_REPO |
static String |
JIRA_KEY |
static String |
PARENT_POM_VERSION |
static String |
SCM_CONNECTION |
static String |
SCM_DEVELOPER_CONNECTION |
static String |
SCM_URL |
static String |
SNAPSHOT_CORE_VERSION |
static String |
SNAPSHOT_PARENT_POM_VERSION |
static String |
SNAPSHOT_SCM_URL |
static String |
SNAPSHOT_VERSION |
Constructor and Description |
---|
Component() |
Modifier and Type | Method and Description |
---|---|
String |
get(String strAttributeKey)
Get an attribute value
|
Map |
getAttributes()
/** get Attributes
|
Boolean |
getBoolean(String strAttributeKey)
Get an attribute value
|
Integer |
getInt(String strAttributeKey)
Get an attribute value
|
long |
getLastUpdate() |
Long |
getLong(String strAttributeKey)
Get an attribute value
|
Object |
getObject(String strAttributeKey)
Get an attribute value
|
void |
set(String strAttributeKey,
boolean bValue)
Set an attribute value
|
void |
set(String strAttributeKey,
int nValue)
Set an attribute value
|
void |
set(String strAttributeKey,
List listValue)
Set an attribute value
|
void |
set(String strAttributeKey,
long lValue)
Set an attribute value
|
void |
set(String strAttributeKey,
String strValue)
Set an attribute value
|
void |
setLastUpdate(long lLastUpdate) |
String |
toString()
Readable implementation
|
compareTo, equals, getArtifactId, getVersion, hashCode, setArtifactId, setVersion
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo
public static final String CORE_VERSION
public static final String PARENT_POM_VERSION
public static final String SNAPSHOT_VERSION
public static final String SNAPSHOT_CORE_VERSION
public static final String SNAPSHOT_PARENT_POM_VERSION
public static final String JIRA_KEY
public static final String SCM_URL
public static final String SCM_CONNECTION
public static final String SCM_DEVELOPER_CONNECTION
public static final String SNAPSHOT_SCM_URL
public static final String IS_GIT_REPO
public long getLastUpdate()
public void setLastUpdate(long lLastUpdate)
lLastUpdate
- the Last Update to setpublic String toString()
public String get(String strAttributeKey)
strAttributeKey
- The attribute keypublic Integer getInt(String strAttributeKey)
strAttributeKey
- The attribute keypublic Boolean getBoolean(String strAttributeKey)
strAttributeKey
- The attribute keypublic Long getLong(String strAttributeKey)
strAttributeKey
- The attribute keypublic Object getObject(String strAttributeKey)
strAttributeKey
- The attribute keypublic void set(String strAttributeKey, String strValue)
strAttributeKey
- The attribute keystrValue
- The attribute valuepublic void set(String strAttributeKey, boolean bValue)
strAttributeKey
- The attribute keybValue
- The attribute valuepublic void set(String strAttributeKey, int nValue)
strAttributeKey
- The attribute keynValue
- The attribute valuepublic void set(String strAttributeKey, long lValue)
strAttributeKey
- The attribute keylValue
- The attribute valuepublic void set(String strAttributeKey, List listValue)
strAttributeKey
- The attribute keylistValue
- The attribute valuepublic Map getAttributes()
Copyright © 2018 City of Paris. All rights reserved.