Package org.apache.maven.archiva.reporting.model

Examples of org.apache.maven.archiva.reporting.model.MetadataResultsKey


         * The MetadataResults object has a complex primary key consisting of groupId, artifactId, and version.
         * This also means that none of those fields may be null.  however, that doesn't eliminate the
         * ability to have an empty string in place of a null.
         */

        MetadataResultsKey key = new MetadataResultsKey();
        key.groupId = StringUtils.defaultString( metadata.getGroupId(), "" );
        key.artifactId = StringUtils.defaultString( metadata.getArtifactId(), "" );
        key.version = StringUtils.defaultString( metadata.getBaseVersion(), "" );

        return (MetadataResults) getObjectByKey( MetadataResults.class, key );
View Full Code Here

TOP

Related Classes of org.apache.maven.archiva.reporting.model.MetadataResultsKey

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.