Package org.apache.maven.plugin.linkcheck.validation

Examples of org.apache.maven.plugin.linkcheck.validation.LinkValidationResult


                return;
            }
            String href;
            LinkCheckResult lcr;
            LinkValidationItem lvi;
            LinkValidationResult result;
            for ( Iterator iter = hrefs.iterator(); iter.hasNext(); )
            {
                href = (String) iter.next();
                lcr = new LinkCheckResult();
                lvi = new LinkValidationItem( fileToCheck, href );
                result = lvm.validateLink( lvi );
                lcr.setTarget( href );
                lcr.setErrorMessage( result.getErrorMessage() );
                switch ( result.getStatus() )
                {
                    case LinkValidationResult.VALID:
                        successful++;
                        lcr.setStatus( "valid" );
                        addResult( lcr ); //At some point we won't want to store valid links.  The tests require that we do at present
View Full Code Here

TOP

Related Classes of org.apache.maven.plugin.linkcheck.validation.LinkValidationResult

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.