public class SCLMFileState extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
alternate
SCLM Alternate Project Definition.
|
static Comparator<SCLMFileState> |
changeComparator
Comparator for changes sorting.
|
Date |
changeDate
Change Date and Time.
|
String |
changeGroup
Change Group.
|
String |
changeUserID
Change User ID.
|
hudson.scm.EditType |
editType
Edit Type (not regarded during comparison).
|
String |
group
SCLM Group.
|
String |
name
Member Name.
|
String |
project
SCLM Project Name.
|
String |
type
Member Type.
|
long |
version
Member version.
|
| Constructor and Description |
|---|
SCLMFileState()
Dummy constructor.
|
SCLMFileState(String project,
String alternate,
String group,
String type,
String name,
long version,
Date changeDate,
String changeUserID,
String changeGroup)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SCLMFileState e)
This function is later used for removing duplicates.
|
static String |
dateToString(Date input) |
boolean |
equals(Object o)
Used for removing duplicate files (matching paths).
|
String |
getPath()
Printable path.
|
int |
hashCode() |
static Date |
parseDate(String input) |
String |
toString()
Simple toString method.
|
public String project
public String alternate
public String group
public String type
public String name
public long version
public Date changeDate
public String changeUserID
public String changeGroup
public hudson.scm.EditType editType
public static final Comparator<SCLMFileState> changeComparator
public SCLMFileState()
public SCLMFileState(String project, String alternate, String group, String type, String name, long version, Date changeDate, String changeUserID, String changeGroup)
project - SCLM Project Name.alternate - SCLM Alternate Project Definition.group - SCLM Group.type - SCLM file type.name - SCLM member name.version - SCLM member version.changeDate - Last Change Date.changeUserID - User ID of the last changer.changeGroup - SCLM Change Group.public static Date parseDate(String input)
input - String to convert into Datepublic static String dateToString(Date input)
input - Date to make printablepublic int compareTo(SCLMFileState e)
e - the SCLMAffectedFile object we are comparing to.public String toString()
public String getPath()
public boolean equals(Object o)
Copyright © 2016–2018. All rights reserved.