本文整理汇总了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());
}
示例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 );
}
}
示例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;
}
示例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" ) );
}
}
}
示例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" ) );
}
}
}
示例6: getIssueManagement
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
public IssueManagement getIssueManagement()
{
return null;
}
示例7: replaceIssueManagement
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public IssueManagement replaceIssueManagement( IssueManagement issueManagement )
{
return issueManagement;
}
示例8: visitIssueManagement
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public void visitIssueManagement( IssueManagement issueManagement )
{
}
示例9: get
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public IssueManagement get( Model model )
{
return model.getIssueManagement();
}
示例10: set
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public void set( Model model, IssueManagement value )
{
model.setIssueManagement( value );
}
示例11: setIssueManagement
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
public void setIssueManagement( IssueManagement issueManagement )
{
getModel().setIssueManagement( issueManagement );
}
示例12: getIssueManagement
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
public IssueManagement getIssueManagement()
{
return getModel().getIssueManagement();
}
示例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 );
}
示例14: setIssueManagement
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public void setIssueManagement(final IssueManagement management) {
getDelegate().setIssueManagement(management);
}
示例15: getIssueManagement
import org.apache.maven.model.IssueManagement; //导入依赖的package包/类
@Override
public IssueManagement getIssueManagement() {
return getDelegate().getIssueManagement();
}