sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() );
sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() );
sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() );
public TreeNode createArtifactNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { StringBuilder sb = new StringBuilder( ai.getArtifactId() ).append( "-" ).append( ai.getVersion() ); if ( ai.getClassifier() != null ) { sb.append( "-" ).append( ai.getClassifier() ); } sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() ); TreeNode result = createNode( tview, req, path, true, sb.toString(), Type.artifact ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateArtifactNode( tview, req, ai, path, result ); }
public TreeNode createArtifactNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { StringBuilder sb = new StringBuilder( ai.getArtifactId() ).append( "-" ).append( ai.getVersion() ); if ( ai.getClassifier() != null ) { sb.append( "-" ).append( ai.getClassifier() ); } sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() ); TreeNode result = createNode( tview, req, path, true, sb.toString(), Type.artifact ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateArtifactNode( tview, req, ai, path, result ); }
public TreeNode createArtifactNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { StringBuilder sb = new StringBuilder( ai.getArtifactId() ).append( "-" ).append( ai.getVersion() ); if ( ai.getClassifier() != null ) { sb.append( "-" ).append( ai.getClassifier() ); } sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() ); TreeNode result = createNode( tview, req, path, true, sb.toString(), Type.artifact ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateArtifactNode( tview, req, ai, path, result ); }
.append( ArtifactInfo.FS ).append( ai.getJavadocExists().toString() ) .append( ArtifactInfo.FS ).append( ai.getSignatureExists().toString() ) .append( ArtifactInfo.FS ).append( ai.getFileExtension() ).toString(); doc.add( FLD_ARTIFACT_ID.toField( ai.getArtifactId() ) ); doc.add( FLD_VERSION.toField( ai.getVersion() ) ); doc.add( FLD_EXTENSION.toField( ai.getFileExtension() ) );
ArtifactInfo.FS ).append( ai.getSourcesExists().toString() ).append( ArtifactInfo.FS ).append( ai.getJavadocExists().toString() ).append( ArtifactInfo.FS ).append( ai.getSignatureExists().toString() ).append( ArtifactInfo.FS ).append( ai.getFileExtension() ).toString(); doc.add( FLD_ARTIFACT_ID.toField( ai.getArtifactId() ) ); doc.add( FLD_VERSION.toField( ai.getVersion() ) ); doc.add( FLD_EXTENSION.toField( ai.getFileExtension() ) );
.append( ArtifactInfo.FS ).append( ai.getJavadocExists().toString() ) .append( ArtifactInfo.FS ).append( ai.getSignatureExists().toString() ) .append( ArtifactInfo.FS ).append( ai.getFileExtension() ).toString(); doc.add( FLD_ARTIFACT_ID.toField( ai.getArtifactId() ) ); doc.add( FLD_VERSION.toField( ai.getVersion() ) ); doc.add( FLD_EXTENSION.toField( ai.getFileExtension() ) );
if ( StringUtils.equalsIgnoreCase( "pom", artifactInfo.getFileExtension() ) && !includePoms ) hit.setPackaging( artifactInfo.getPackaging() ); hit.setClassifier( artifactInfo.getClassifier() ); hit.setFileExtension( artifactInfo.getFileExtension() ); hit.setUrl( getBaseUrl( artifactInfo, selectedRepos ) );