Refine search
/** * Process one line of output from the execution of the "scm list" command. * * @param line The line of output from the external command that has been pumped to us. * @see org.codehaus.plexus.util.cli.StreamConsumer#consumeLine(java.lang.String) */ public void consumeLine( String line ) { super.consumeLine( line ); files.add( new ScmFile( line, ScmFileStatus.CHECKED_IN ) ); }
/** * Process one line of output from the execution of the "scm list" command. * * @param line The line of output from the external command that has been pumped to us. * @see org.codehaus.plexus.util.cli.StreamConsumer#consumeLine(java.lang.String) */ public void consumeLine( String line ) { super.consumeLine( line ); files.add( new ScmFile( line, ScmFileStatus.CHECKED_IN ) ); }
private void processCheckedOutFile( String line, int pos ) { String checkedOutFilePath = this.currentDir + "/" + line.substring( 0, pos ); this.files.add( new ScmFile( checkedOutFilePath, ScmFileStatus.CHECKED_OUT ) ); if ( logger.isInfoEnabled() ) { logger.info( "Checked out: " + checkedOutFilePath ); } }
private void processCheckedInFile( String line, int pos ) { String checkedInFilePath = this.currentDir + "/" + line.substring( 0, pos ); this.files.add( new ScmFile( checkedInFilePath, ScmFileStatus.CHECKED_OUT ) ); if ( logger.isInfoEnabled() ) { logger.info( "Checked in: " + checkedInFilePath ); } }
/** {@inheritDoc} */ public void consumeLine( String line ) { if ( logger.isDebugEnabled() ) { logger.debug( line ); } int beginIndex = line.indexOf( '"' ); if ( beginIndex != -1 ) { String fileName = line.substring( beginIndex + 1, line.indexOf( '"', beginIndex + 1 ) ); removedFiles.add( new ScmFile( fileName, ScmFileStatus.DELETED ) ); } }