org.netbeans.lib.cvsclient.command.update
Class UpdateBuilder

java.lang.Object
  extended by org.netbeans.lib.cvsclient.command.update.UpdateBuilder
All Implemented Interfaces:
Builder

public class UpdateBuilder
extends Object
implements Builder

Handles the building of update information object and the firing of events when complete objects are built.

Author:
Milos Kleint, Thomas Singer

Field Summary
static String CONFLICTS
           
static String EXAM_DIR
           
static String NOT_IN_REPOSITORY
           
static String PERTINENT
           
static String REMOVAL
           
static String SERVER
           
static String SERVER_SCHEDULING
           
static String STATES
           
static String TO_ADD
           
static String UNKNOWN
          Parsing constants..
static String UPDATE
           
static String WARNING
           
 
Constructor Summary
UpdateBuilder(EventManager eventManager, String localPath)
           
 
Method Summary
 void outputDone()
           
 void parseEnhancedMessage(String key, Object value)
          Merged response handler.
 void parseLine(String line, boolean isErrorMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final String UNKNOWN
Parsing constants..

See Also:
Constant Field Values

EXAM_DIR

public static final String EXAM_DIR
See Also:
Constant Field Values

TO_ADD

public static final String TO_ADD
See Also:
Constant Field Values

STATES

public static final String STATES
See Also:
Constant Field Values

WARNING

public static final String WARNING
See Also:
Constant Field Values

SERVER

public static final String SERVER
See Also:
Constant Field Values

UPDATE

public static final String UPDATE
See Also:
Constant Field Values

PERTINENT

public static final String PERTINENT
See Also:
Constant Field Values

REMOVAL

public static final String REMOVAL
See Also:
Constant Field Values

SERVER_SCHEDULING

public static final String SERVER_SCHEDULING
See Also:
Constant Field Values

CONFLICTS

public static final String CONFLICTS
See Also:
Constant Field Values

NOT_IN_REPOSITORY

public static final String NOT_IN_REPOSITORY
See Also:
Constant Field Values
Constructor Detail

UpdateBuilder

public UpdateBuilder(EventManager eventManager,
                     String localPath)
Method Detail

outputDone

public void outputDone()
Specified by:
outputDone in interface Builder

parseLine

public void parseLine(String line,
                      boolean isErrorMessage)
Specified by:
parseLine in interface Builder

parseEnhancedMessage

public void parseEnhancedMessage(String key,
                                 Object value)
Merged response handler.

Specified by:
parseEnhancedMessage in interface Builder


Copyright © 2011. All Rights Reserved.