当前位置: 首页>>代码示例>>Java>>正文


Java IssueManagement类代码示例

本文整理汇总了Java中org.apache.maven.model.IssueManagement的典型用法代码示例。如果您正苦于以下问题:Java IssueManagement类的具体用法?Java IssueManagement怎么用?Java IssueManagement使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


IssueManagement类属于org.apache.maven.model包,在下文中一共展示了IssueManagement类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: writeIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
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());
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:16,代码来源:LocationAwareMavenXpp3Writer.java

示例2: updateIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
/**
 * 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 );
    }
}
 
开发者ID:javiersigler,项目名称:apache-maven-shade-plugin,代码行数:20,代码来源:MavenJDOMWriter.java

示例3: convertIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
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;
}
 
开发者ID:ruikom,项目名称:apache-archiva,代码行数:12,代码来源:Maven2RepositoryStorage.java

示例4: mergeIssueManagement_System

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
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" ) );
        }
    }
}
 
开发者ID:gems-uff,项目名称:oceano,代码行数:14,代码来源:ModelMerger.java

示例5: mergeIssueManagement_Url

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
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" ) );
        }
    }
}
 
开发者ID:gems-uff,项目名称:oceano,代码行数:14,代码来源:ModelMerger.java

示例6: getIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
public IssueManagement getIssueManagement()
{
    return null;
}
 
开发者ID:kefik,项目名称:Pogamut3,代码行数:5,代码来源:DependencyProjectStub.java

示例7: replaceIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public IssueManagement replaceIssueManagement( IssueManagement issueManagement )
{
    return issueManagement;
}
 
开发者ID:fedora-java,项目名称:xmvn,代码行数:6,代码来源:AbstractModelVisitor.java

示例8: visitIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public void visitIssueManagement( IssueManagement issueManagement )
{
}
 
开发者ID:fedora-java,项目名称:xmvn,代码行数:5,代码来源:AbstractModelVisitor.java

示例9: get

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public IssueManagement get( Model model )
{
    return model.getIssueManagement();
}
 
开发者ID:mojohaus,项目名称:flatten-maven-plugin,代码行数:6,代码来源:PomProperty.java

示例10: set

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public void set( Model model, IssueManagement value )
{
    model.setIssueManagement( value );
}
 
开发者ID:mojohaus,项目名称:flatten-maven-plugin,代码行数:6,代码来源:PomProperty.java

示例11: setIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
public void setIssueManagement( IssueManagement issueManagement )
{
    getModel().setIssueManagement( issueManagement );
}
 
开发者ID:gems-uff,项目名称:oceano,代码行数:5,代码来源:MavenProject.java

示例12: getIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
public IssueManagement getIssueManagement()
{
    return getModel().getIssueManagement();
}
 
开发者ID:gems-uff,项目名称:oceano,代码行数:5,代码来源:MavenProject.java

示例13: mergeIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
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 );
}
 
开发者ID:gems-uff,项目名称:oceano,代码行数:7,代码来源:ModelMerger.java

示例14: setIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public void setIssueManagement(final IssueManagement management) {
	getDelegate().setIssueManagement(management);
}
 
开发者ID:jwrapper,项目名称:jwrapper-maven-plugin,代码行数:5,代码来源:MavenProjectDelegate.java

示例15: getIssueManagement

import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public IssueManagement getIssueManagement() {
	return getDelegate().getIssueManagement();
}
 
开发者ID:jwrapper,项目名称:jwrapper-maven-plugin,代码行数:5,代码来源:MavenProjectDelegate.java


注:本文中的org.apache.maven.model.IssueManagement类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。