Refine search
/** {@inheritDoc} */ public void info( String content, Throwable error ) { for ( ScmLogger logger : listeners ) { if ( logger.isInfoEnabled() ) { logger.info( content, error ); } } }
/** {@inheritDoc} */ public void info( String content ) { for ( ScmLogger logger : listeners ) { if ( logger.isInfoEnabled() ) { logger.info( content ); } } }
/** {@inheritDoc} */ public void info( String content ) { for ( ScmLogger logger : listeners ) { if ( logger.isInfoEnabled() ) { logger.info( content ); } } }
/** {@inheritDoc} */ public void info( Throwable error ) { for ( ScmLogger logger : listeners ) { if ( logger.isInfoEnabled() ) { logger.info( error ); } } }
/** {@inheritDoc} */ public void consumeLine( String line ) { if ( logger.isInfoEnabled() ) { logger.info( line ); } }
/** {@inheritDoc} */ public void info( Throwable error ) { for ( ScmLogger logger : listeners ) { if ( logger.isInfoEnabled() ) { logger.info( error ); } } }
/** {@inheritDoc} */ public void info( String content, Throwable error ) { for ( ScmLogger logger : listeners ) { if ( logger.isInfoEnabled() ) { logger.info( content, error ); } } }
/** {@inheritDoc} */ public void consumeLine( String line ) { if ( logger.isInfoEnabled() ) { logger.info( line ); } }
private void checkUnexpectedParameter( StringTokenizer tokenizer, int tokenNumber, int maxTokenNumber ) { if ( tokenNumber > maxTokenNumber ) { String unexpectedToken = tokenizer.nextToken(); if ( logger.isInfoEnabled() ) { logger.info( "The SCM URL contains unused parameter : " + unexpectedToken ); } } }
private void processSkippedFile( String line, int pos ) { String skippedFilePath = this.currentDir + "/" + line.substring( 0, pos ); if ( logger.isInfoEnabled() ) { logger.info( "Skipped: " + skippedFilePath ); } } }
private void checkUnexpectedParameter( StringTokenizer tokenizer, int tokenNumber, int maxTokenNumber ) { if ( tokenNumber > maxTokenNumber ) { String unexpectedToken = tokenizer.nextToken(); if ( logger.isInfoEnabled() ) { logger.info( "The SCM URL contains unused parameter : " + unexpectedToken ); } } }
private void processSkippedFile( String line, int pos ) { String skippedFilePath = this.currentDir + "/" + line.substring( 0, pos ); if ( logger.isInfoEnabled() ) { logger.info( "Skipped: " + skippedFilePath ); } } }
private void processDirectory( String line, int pos ) { String dirPath = line.substring( pos + DIR_MARKER.length(), line.length() - 1 ).replace( '\\', '/' ); if ( !dirPath.startsWith( workingDirectory ) ) { if ( logger.isInfoEnabled() ) { logger.info( "Working directory: " + workingDirectory ); logger.info( "Checkin directory: " + dirPath ); } throw new IllegalStateException( "Working and checkin directories are not on the same tree" ); } this.currentDir = "." + dirPath.substring( workingDirectory.length() ); }
private void processDirectory( String line, int pos ) { String dirPath = line.substring( pos + DIR_MARKER.length(), line.length() - 1 ).replace( '\\', '/' ); if ( !dirPath.startsWith( workingDirectory ) ) { if ( logger.isInfoEnabled() ) { logger.info( "Working directory: " + workingDirectory ); logger.info( "Edit directory: " + dirPath ); } throw new IllegalStateException( "Working and edit directories are not on the same tree" ); } this.currentDir = "." + dirPath.substring( workingDirectory.length() ); }
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 ); } }
private void processLockedFile( String line, int pos ) { String lockedFilePath = this.currentDir + "/" + line.substring( 0, pos ); this.files.add( new ScmFile( lockedFilePath, ScmFileStatus.EDITED ) ); if ( logger.isInfoEnabled() ) { logger.info( "Locked: " + lockedFilePath ); } }
private void processAddedFile( String line, int pos ) { String addedFilePath = this.currentDir + "/" + line.substring( 0, pos ); this.files.add( new ScmFile( addedFilePath, ScmFileStatus.ADDED ) ); if ( logger.isInfoEnabled() ) { logger.info( "Added: " + addedFilePath ); } }
private void processDirectory( String line, int pos ) { String dirPath = line.substring( pos + DIR_MARKER.length(), line.length() - 1 ).replace( '\\', '/' ); if ( !dirPath.startsWith( workingDirectory ) ) { if ( logger.isInfoEnabled() ) { logger.info( "Working directory: " + workingDirectory ); logger.info( "Checkin directory: " + dirPath ); } throw new IllegalStateException( "Working and checkin directories are not on the same tree" ); } this.currentDir = "." + dirPath.substring( workingDirectory.length() ); }
private void processDirectory( String line, int pos ) { String dirPath = line.substring( pos + DIR_MARKER.length(), line.length() - 1 ).replace( '\\', '/' ); if ( !dirPath.startsWith( workingDirectory ) ) { if ( logger.isInfoEnabled() ) { logger.info( "Working directory: " + workingDirectory ); logger.info( "unedit directory: " + dirPath ); } throw new IllegalStateException( "Working and unedit directories are not on the same tree" ); } this.currentDir = "." + dirPath.substring( workingDirectory.length() ); }