Class InfoItem
java.lang.Object
org.apache.maven.scm.command.info.InfoItem
- Direct Known Subclasses:
GitInfoItem, SvnInfoItem
Encapsulates meta information about a file (or directory) being managed with an SCM.
For historical reasons the field/method names are inspired from (and sometimes only applicable to) the Subversion SCM.
- Since:
- 1.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getPath()getURL()voidsetLastChangedAuthor(String lastChangedAuthor) voidsetLastChangedDate(String lastChangedDate) Deprecated.usesetLastChangedDateTime(TemporalAccessor)insteadvoidsetLastChangedDateTime(TemporalAccessor accessor) voidsetLastChangedRevision(String lastChangedRevision) voidsetNodeKind(String nodeKind) voidvoidsetRepositoryRoot(String repositoryRoot) voidsetRepositoryUUID(String repositoryUUID) voidsetRevision(String revision) voidsetSchedule(String schedule) void
-
Field Details
-
path
-
url
-
repositoryRoot
-
repositoryUUID
-
revision
-
nodeKind
-
schedule
-
lastChangedAuthor
-
lastChangedRevision
-
lastChangedDate
-
lastChangedDateTime
-
-
Constructor Details
-
InfoItem
public InfoItem()
-
-
Method Details
-
getPath
-
setPath
-
getURL
-
setURL
-
getRepositoryRoot
-
setRepositoryRoot
-
getRepositoryUUID
-
setRepositoryUUID
-
getRevision
-
setRevision
-
getNodeKind
-
setNodeKind
-
getSchedule
-
setSchedule
-
getLastChangedAuthor
-
setLastChangedAuthor
-
getLastChangedRevision
-
setLastChangedRevision
-
getLastChangedDate
Deprecated.usegetLastChangedDateTime()instead -
setLastChangedDate
Deprecated.usesetLastChangedDateTime(TemporalAccessor)instead -
getLastChangedDateTime
- Returns:
- the date when the file indicated via
getPath()has been changed in the SCM for the last time - Since:
- 2.1.0
-
setLastChangedDateTime
- Parameters:
accessor- temporal accessor from which to populate the last changed date- Since:
- 2.1.0
-
getLastChangedDateTime()instead