本文整理了Java中org.apache.maven.model.Reporting.getExcludeDefaults
方法的一些代码示例,展示了Reporting.getExcludeDefaults
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Reporting.getExcludeDefaults
方法的具体详情如下:
包路径:org.apache.maven.model.Reporting
类名称:Reporting
方法名:getExcludeDefaults
[英]Get if true, then the default reports are not included in the site generation. This includes the reports in the "Project Info" menu. Note: While the type of this field is String
for technical reasons, the semantic type is actually Boolean
. Default value is false
.
[中]Get如果为true,则默认报告不包括在站点生成中。这包括“项目信息”菜单中的报告。注意:由于技术原因,该字段的类型为String
,而语义类型实际上为Boolean
。默认值为false
。
代码示例来源:origin: apache/maven
protected void mergeReporting_ExcludeDefaults( Reporting target, Reporting source, boolean sourceDominant,
Map<Object, Object> context )
{
String src = source.getExcludeDefaults();
if ( src != null )
{
if ( sourceDominant || target.getExcludeDefaults() == null )
{
target.setExcludeDefaults( src );
target.setLocation( "excludeDefaults", source.getLocation( "excludeDefaults" ) );
}
}
}
代码示例来源:origin: apache/maven
if ( reporting.getExcludeDefaults() != null )
serializer.startTag( NAMESPACE, "excludeDefaults" ).text( reporting.getExcludeDefaults() ).endTag( NAMESPACE, "excludeDefaults" );
代码示例来源:origin: takari/polyglot-maven
if ( reporting.getExcludeDefaults() != null )
serializer.attribute( NAMESPACE, "excludeDefaults", reporting.getExcludeDefaults() );
代码示例来源:origin: io.tesla.maven/maven-model
protected void mergeReporting_ExcludeDefaults( Reporting target, Reporting source, boolean sourceDominant,
Map<Object, Object> context )
{
String src = source.getExcludeDefaults();
if ( src != null )
{
if ( sourceDominant || target.getExcludeDefaults() == null )
{
target.setExcludeDefaults( src );
target.setLocation( "excludeDefaults", source.getLocation( "excludeDefaults" ) );
}
}
}
代码示例来源:origin: io.tesla.maven/maven-model
if ( reporting.getExcludeDefaults() != null )
serializer.startTag( NAMESPACE, "excludeDefaults" ).text( reporting.getExcludeDefaults() ).endTag( NAMESPACE, "excludeDefaults" );
内容来源于网络,如有侵权,请联系作者删除!