|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc.admin.SVNAdminEvent
public class SVNAdminEvent
The SVNAdminEvent is a type of an event used to notify callers' handlers in several methods of SVNAdminClient.
Constructor Summary | |
---|---|
SVNAdminEvent(long revision,
long originalRevision,
SVNAdminEventAction action,
java.lang.String message)
Creates a new event. |
|
SVNAdminEvent(long revision,
SVNAdminEventAction action,
java.lang.String message)
Creates a new event. |
|
SVNAdminEvent(java.lang.String txnName,
java.io.File txnDir,
SVNAdminEventAction action)
Creates a new event. |
|
SVNAdminEvent(SVNAdminEventAction action)
Creates a new event. |
|
SVNAdminEvent(SVNAdminEventAction action,
long shard)
Creates a new event to notify about a next shard being packed. |
|
SVNAdminEvent(SVNAdminEventAction action,
java.lang.String message)
Creates a new event. |
|
SVNAdminEvent(SVNAdminEventAction action,
java.lang.String path,
java.lang.String message)
Creates a new event to notify about a next path being changed withing the revision being currently loaded. |
|
SVNAdminEvent(SVNAdminEventAction action,
SVNLock lock,
SVNErrorMessage error,
java.lang.String message)
Creates a new event. |
Method Summary | |
---|---|
SVNAdminEventAction |
getAction()
Returns the type of an action this event is fired for. |
int |
getDroppedNodesCount()
Returns the total number of nodes dropped during dumpfiltering. |
long |
getDroppedRevisionsCount()
Returns the total number of revisions dropped during dumpfiltering. |
SVNErrorMessage |
getError()
Returns the error message describing the error occurred while performing an operation. |
SVNLock |
getLock()
Returns the lock information. |
java.lang.String |
getMessage()
Returns an event description message. |
long |
getOriginalRevision()
Returns the original revision from which a new one
is loaded. |
java.lang.String |
getPath()
Returns an absolute repository path being changed within the current revision load iteration. |
long |
getRevision()
Returns a revision. |
long |
getShard()
Returns the number of the shard packed. |
java.io.File |
getTxnDir()
Returns a transaction directory Relevant for both SVNAdminClient.doListTransactions()
and SVNAdminClient.doRemoveTransactions()
operations. |
java.lang.String |
getTxnName()
Returns a transaction name. |
void |
setDroppedNodesCount(int droppedNodesCount)
Sets the total number of nodes dropped during dumpfiltering. |
void |
setDroppedRevisionsCount(long droppedRevisionsCount)
Sets the total number of revisions dropped during dumpfiltering. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVNAdminEvent(long revision, long originalRevision, SVNAdminEventAction action, java.lang.String message)
revision
- a new committed revisionoriginalRevision
- the original revisionaction
- an event actionmessage
- event description messagepublic SVNAdminEvent(SVNAdminEventAction action, java.lang.String path, java.lang.String message)
action
- a path change actionpath
- repository path being changedmessage
- public SVNAdminEvent(SVNAdminEventAction action, long shard)
action
- pack start\end actionshard
- number of the shard being packedSVNAdminClient.doPack(File)
public SVNAdminEvent(long revision, SVNAdminEventAction action, java.lang.String message)
revision
- a revision numberaction
- an event actionmessage
- an event description messagepublic SVNAdminEvent(java.lang.String txnName, java.io.File txnDir, SVNAdminEventAction action)
txnName
- a transaction nametxnDir
- a transaction directory locationaction
- an event actionpublic SVNAdminEvent(SVNAdminEventAction action, SVNLock lock, SVNErrorMessage error, java.lang.String message)
action
- an event actionlock
- lock infoerror
- an error message (if an error occurred)message
- an event description messagepublic SVNAdminEvent(SVNAdminEventAction action, java.lang.String message)
action
- an event actionmessage
- an event description messagepublic SVNAdminEvent(SVNAdminEventAction action)
action
- an event actionMethod Detail |
---|
public SVNAdminEventAction getAction()
public java.lang.String getMessage()
public long getOriginalRevision()
new one
is loaded.
public long getRevision()
For dump
operations it means a next dumped revision. For load
operations it means a new committed revision.
public java.io.File getTxnDir()
Relevant for both SVNAdminClient.doListTransactions()
and SVNAdminClient.doRemoveTransactions()
operations.
public java.lang.String getTxnName()
Relevant for both SVNAdminClient.doListTransactions()
and SVNAdminClient.doRemoveTransactions()
operations.
public java.lang.String getPath()
public SVNLock getLock()
public SVNErrorMessage getError()
public long getDroppedRevisionsCount()
public int getDroppedNodesCount()
public void setDroppedRevisionsCount(long droppedRevisionsCount)
droppedRevisionsCount
- number of dropped revisionspublic void setDroppedNodesCount(int droppedNodesCount)
droppedNodesCount
- number of dropped nodespublic long getShard()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |