public class SVNAdminListTransactionsCommand extends SVNAdminCommand implements ISVNAdminEventHandler
UNKNOWN
NULL
Constructor and Description |
---|
SVNAdminListTransactionsCommand() |
Modifier and Type | Method and Description |
---|---|
void |
checkCancelled()
Checks if the current operation is cancelled (somehow interrupted)
and should throw an SVNCancelException or notify the handler if exists.
|
protected java.util.Collection |
createSupportedOptions() |
void |
handleAdminEvent(SVNAdminEvent event,
double progress)
Handles the current admin event.
|
void |
handleEvent(SVNEvent event,
double progress)
Handles the current event.
|
void |
run() |
getGlobalOptions, getLocalRepository, getLocalRepository, getResourceBundleName, getRevisionNumber, getSVNAdminEnvironment
availableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailed
protected java.util.Collection createSupportedOptions()
createSupportedOptions
in class AbstractSVNCommand
public void run() throws SVNException
run
in class AbstractSVNCommand
SVNException
public void handleAdminEvent(SVNAdminEvent event, double progress) throws SVNException
ISVNAdminEventHandler
handleAdminEvent
in interface ISVNAdminEventHandler
event
- an event to handleprogress
- progress state (reserved for future purposes)SVNException
public void handleEvent(SVNEvent event, double progress) throws SVNException
ISVNEventHandler
Generally all operations represented by do*() methods of SVN*Client objects are followed by generating a sequence of events that are passed to the registered ISVNEventHandler object for custom processing. For example, during an update operation each local item being modified is signaled about by dispatching a specific for this item SVNEvent object to this method where this event can be scrutinized and handled in a desired way.
handleEvent
in interface ISVNEventHandler
event
- the current event that keeps detailed information on
the type of action occured and other attributes like path,
status, etc.progress
- currently reserved for future use; now it's value
is always set to ISVNEventHandler.UNKNOWN
SVNException
public void checkCancelled() throws SVNCancelException
ISVNCanceller
checkCancelled
in interface ISVNCanceller
SVNCancelException
Copyright © 2020. All rights reserved.