Examples of info()


Examples of org.apache.logging.log4j.Logger.info()

        final Util.StringContainer container = Util.readLineFromPort(Util.port, Util.timeoutInMs);

        String helloChina = "Hello, \u4E2D\u570B!";

        Logger logger = LogManager.getLogger("splunk.logger");
        logger.info(helloChina);

        synchronized (container) {
            container.wait(Util.timeoutInMs);
        }
View Full Code Here

Examples of org.apache.lucene.index.SegmentInfos.info()

    {
      infos.read(idx);
      String x="";
      for(int i=0;i<infos.size(); i++)
      {
        x += "[numDoc:" + infos.info(i).docCount + ",numDel:"+infos.info(i).getDelCount()+"]";
      }
      return x;
    } catch (Exception e)
    {
      return e.toString();
View Full Code Here

Examples of org.apache.maven.model.converter.ConverterListener.info()

        getLogger().info( message );

        for ( Iterator i = listeners.iterator(); i.hasNext(); )
        {
            ConverterListener listener = (ConverterListener) i.next();
            listener.info( message );
        }
    }

    private void fireAddPluginEvent( Plugin plugin )
    {
View Full Code Here

Examples of org.apache.maven.plugin.logging.Log.info()

        filter.add(new TypeArtifactFilter("jar"));
        filter.add(buildSynapseRuntimeArtifactFilter());
        for (Artifact artifact : filterArtifacts(project.getArtifacts(), filter)) {
            String targetFileName = artifact.getArtifactId() + "-" + artifact.getVersion() + "." +
                    artifact.getArtifactHandler().getExtension();
            log.info("Adding " + targetFileName + " (scope " + artifact.getScope() + ")");
            archiver.addFile(artifact.getFile(), "lib/" + targetFileName);
        }
    }
   
    private void generateMetadata(Archiver archiver)
View Full Code Here

Examples of org.apache.maven.plugin.logging.SystemStreamLog.info()

            }
        }

        validFamily = Os.OS_FAMILY;

        log.info( "Testing Mojo Using Valid Family: " + validFamily + " Invalid Family: " + invalidFamily );

        rule.setFamily( validFamily );
        assertTrue( rule.isAllowed() );

        rule.setFamily( invalidFamily );
View Full Code Here

Examples of org.apache.maven.scm.provider.ScmProvider.info()

        GitScmTestUtils.initRepo( "src/test/resources/git/info", getRepositoryRoot(), getWorkingCopy() );
        ScmProvider provider = getScmManager().getProviderByUrl( getScmUrl() );
        ScmProviderRepository repository = provider.makeProviderScmRepository( getRepositoryRoot() );
        assertNotNull( repository );
        InfoScmResult result =
            provider.info( repository, new ScmFileSet( getRepositoryRoot() ), new CommandParameters() );
        assertNotNull( result );
        assertEquals( "cd3c0dfacb65955e6fbb35c56cc5b1bf8ce4f767", result.getInfoItems().get( 0 ).getRevision() );
        //
    }
View Full Code Here

Examples of org.apache.maven.scm.provider.accurev.AccuRev.info()

                                               CommandParameters parameters )
        throws ScmException, AccuRevException
    {
        boolean result = false;
        AccuRev accurev = repository.getAccuRev();
        AccuRevInfo info = accurev.info( null );

        String providerMessage = "";
        if ( info == null )
        {
            providerMessage = "Unable to retrieve accurev info";
View Full Code Here

Examples of org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.info()

     */
    public SvnInfoScmResult info( ScmRepository repository, ScmFileSet fileSet )
        throws ScmException
    {
        AbstractSvnScmProvider abstractSvnScmProvider = (AbstractSvnScmProvider) scmManager.getProviderByType( "svn" );
        return abstractSvnScmProvider.info( repository.getProviderRepository(), fileSet, null );
       
        //org.apache.maven.scm.provider.svn.svnexe.command.info.SvnInfoCommand command =
        //    new org.apache.maven.scm.provider.svn.svnexe.command.info.SvnInfoCommand();

        //command.setLogger( getLogger() );
View Full Code Here

Examples of org.apache.maven.surefire.report.ConsoleLogger.info()

    public void testConsole()
        throws ReporterException, IOException
    {
        final StandardTestRun standardTestRun = new StandardTestRun();
        ConsoleLogger directConsoleReporter = (ConsoleLogger) standardTestRun.run();
        directConsoleReporter.info( "HeyYou" );
        standardTestRun.assertExpected( MockReporter.CONSOLE_OUTPUT, "HeyYou" );
    }

    public void testConsoleOutput()
        throws ReporterException, IOException
View Full Code Here

Examples of org.apache.maven.surefire.report.DefaultDirectConsoleReporter.info()

    }

    public void runStarting()
    {
        final DefaultDirectConsoleReporter consoleReporter = createConsoleLogger();
        consoleReporter.info( "" );
        consoleReporter.info( "-------------------------------------------------------" );
        consoleReporter.info( " T E S T S" );
        consoleReporter.info( "-------------------------------------------------------" );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.