Java 类org.apache.maven.model.IssueManagement 实例源码

项目:incubator-netbeans    文件:LocationAwareMavenXpp3Writer.java   
private void writeIssueManagement(IssueManagement issueManagement, String tagName, XmlSerializer serializer)
        throws java.io.IOException {
    serializer.startTag(NAMESPACE, tagName);
    flush(serializer);
    StringBuffer b = b(serializer);
    int start = b.length();
    if (issueManagement.getSystem() != null) {
        writeValue(serializer, "system", issueManagement.getSystem(), issueManagement);
    }
    if (issueManagement.getUrl() != null) {
        writeValue(serializer, "url", issueManagement.getUrl(), issueManagement);
    }
    serializer.endTag(NAMESPACE, tagName).flush();
    logLocation(issueManagement, "", start, b.length());
}
项目:apache-maven-shade-plugin    文件:MavenJDOMWriter.java   
/**
 * Method updateIssueManagement
 *
 * @param value
 * @param element
 * @param counter
 * @param xmlTag
 */
protected void updateIssueManagement( IssueManagement value, String xmlTag, Counter counter, Element element )
{
    boolean shouldExist = value != null;
    Element root = updateElement( counter, element, xmlTag, shouldExist );
    if ( shouldExist )
    {
        Counter innerCount = new Counter( counter.getDepth() + 1 );
        findAndReplaceSimpleElement( innerCount, root, "system", value.getSystem(), null );
        findAndReplaceSimpleElement( innerCount, root, "url", value.getUrl(), null );
    }
}
项目:apache-archiva    文件:Maven2RepositoryStorage.java   
private org.apache.archiva.metadata.model.IssueManagement convertIssueManagement( IssueManagement issueManagement )
{
    org.apache.archiva.metadata.model.IssueManagement im = null;
    if ( issueManagement != null )
    {
        im = new org.apache.archiva.metadata.model.IssueManagement();
        im.setSystem( issueManagement.getSystem() );
        im.setUrl( issueManagement.getUrl() );
    }
    return im;
}
项目:maven-shade-plugin    文件:MavenJDOMWriter.java   
/**
 * Method updateIssueManagement
 *
 * @param value
 * @param element
 * @param counter
 * @param xmlTag
 */
protected void updateIssueManagement( IssueManagement value, String xmlTag, Counter counter, Element element )
{
    boolean shouldExist = value != null;
    Element root = updateElement( counter, element, xmlTag, shouldExist );
    if ( shouldExist )
    {
        Counter innerCount = new Counter( counter.getDepth() + 1 );
        findAndReplaceSimpleElement( innerCount, root, "system", value.getSystem(), null );
        findAndReplaceSimpleElement( innerCount, root, "url", value.getUrl(), null );
    }
}
项目:oceano    文件:ModelMerger.java   
protected void mergeIssueManagement_System( IssueManagement target, IssueManagement source, boolean sourceDominant,
                                            Map<Object, Object> context )
{
    String src = source.getSystem();
    if ( src != null )
    {
        if ( sourceDominant || target.getSystem() == null )
        {
            target.setSystem( src );
            target.setLocation( "system", source.getLocation( "system" ) );
        }
    }
}
项目:oceano    文件:ModelMerger.java   
protected void mergeIssueManagement_Url( IssueManagement target, IssueManagement source, boolean sourceDominant,
                                         Map<Object, Object> context )
{
    String src = source.getUrl();
    if ( src != null )
    {
        if ( sourceDominant || target.getUrl() == null )
        {
            target.setUrl( src );
            target.setLocation( "url", source.getLocation( "url" ) );
        }
    }
}
项目:Pogamut3    文件:DependencyProjectStub.java   
public IssueManagement getIssueManagement()
{
    return null;
}
项目:xmvn    文件:AbstractModelVisitor.java   
@Override
public IssueManagement replaceIssueManagement( IssueManagement issueManagement )
{
    return issueManagement;
}
项目:xmvn    文件:AbstractModelVisitor.java   
@Override
public void visitIssueManagement( IssueManagement issueManagement )
{
}
项目:flatten-maven-plugin    文件:PomProperty.java   
@Override
public IssueManagement get( Model model )
{
    return model.getIssueManagement();
}
项目:flatten-maven-plugin    文件:PomProperty.java   
@Override
public void set( Model model, IssueManagement value )
{
    model.setIssueManagement( value );
}
项目:oceano    文件:MavenProject.java   
public void setIssueManagement( IssueManagement issueManagement )
{
    getModel().setIssueManagement( issueManagement );
}
项目:oceano    文件:MavenProject.java   
public IssueManagement getIssueManagement()
{
    return getModel().getIssueManagement();
}
项目:oceano    文件:ModelMerger.java   
protected void mergeIssueManagement( IssueManagement target, IssueManagement source, boolean sourceDominant,
                                     Map<Object, Object> context )
{
    mergeIssueManagement_Url( target, source, sourceDominant, context );
    mergeIssueManagement_System( target, source, sourceDominant, context );
}
项目:jwrapper-maven-plugin    文件:MavenProjectDelegate.java   
@Override
public void setIssueManagement(final IssueManagement management) {
    getDelegate().setIssueManagement(management);
}
项目:jwrapper-maven-plugin    文件:MavenProjectDelegate.java   
@Override
public IssueManagement getIssueManagement() {
    return getDelegate().getIssueManagement();
}
项目:Pogamut3    文件:DependencyProjectStub.java   
public void setIssueManagement( IssueManagement issueManagement )
{

}
项目:xmvn    文件:ModelVisitor.java   
IssueManagement replaceIssueManagement( IssueManagement issueManagement );
项目:xmvn    文件:ModelVisitor.java   
void visitIssueManagement( IssueManagement issueManagement );