org.apache.maven.model.Reporting.getExcludeDefaults()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(115)

本文整理了Java中org.apache.maven.model.Reporting.getExcludeDefaults方法的一些代码示例,展示了Reporting.getExcludeDefaults的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Reporting.getExcludeDefaults方法的具体详情如下:
包路径:org.apache.maven.model.Reporting
类名称:Reporting
方法名:getExcludeDefaults

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" );

相关文章