Package org.apache.maven.scm.provider.tfs.command.consumer

Examples of org.apache.maven.scm.provider.tfs.command.consumer.ServerFileListConsumer


{

    protected ListScmResult executeListCommand( ScmProviderRepository r, ScmFileSet f, boolean recursive, ScmVersion v )
        throws ScmException
    {
        FileListConsumer out = new ServerFileListConsumer();
        ErrorStreamConsumer err = new ErrorStreamConsumer();
       
        TfsCommand command = createCommand( r, f, recursive );
        int status = command.execute( out, err );
        if ( status != 0 || err.hasBeenFed() )
        {
            return new ListScmResult( command.getCommandString(), "Error code for TFS list command - " + status,
                                      err.getOutput(), false );
        }
       
        return new ListScmResult( command.getCommandString(), out.getFiles() );
    }
View Full Code Here


    protected void setUp()
        throws Exception
    {
        super.setUp();
        consumer = new ServerFileListConsumer();
    }
View Full Code Here

{

    protected ListScmResult executeListCommand( ScmProviderRepository r, ScmFileSet f, boolean recursive, ScmVersion v )
        throws ScmException
    {
        FileListConsumer out = new ServerFileListConsumer();
        ErrorStreamConsumer err = new ErrorStreamConsumer();
       
        TfsCommand command = createCommand( r, f, recursive );
        int status = command.execute( out, err );
        if ( status != 0 || err.hasBeenFed() )
        {
            return new ListScmResult( command.getCommandString(), "Error code for TFS list command - " + status,
                                      err.getOutput(), false );
        }
       
        return new ListScmResult( command.getCommandString(), out.getFiles() );
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.scm.provider.tfs.command.consumer.ServerFileListConsumer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.