本文整理了Java中org.apache.maven.settings.Profile.setActivation()
方法的一些代码示例,展示了Profile.setActivation()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Profile.setActivation()
方法的具体详情如下:
包路径:org.apache.maven.settings.Profile
类名称:Profile
方法名:setActivation
[英]Set the conditional logic which will automatically trigger the inclusion of this profile.
[中]设置自动触发包含此配置文件的条件逻辑。
代码示例来源:origin: apache/maven
profile.setActivation( parseActivation( parser, strict ) );
代码示例来源:origin: apache/maven
profile.setActivation( activation );
代码示例来源:origin: ru.yandex.qatools.clay/clay-maven-settings-builder
/**
* Set the conditional logic which will automatically
* trigger the inclusion of this profile.
* @param activation
*/
public FluentProfileBuilder withActivation(Activation activation) {
profile.setActivation(activation);
return this;
}
代码示例来源:origin: org.apache.maven/maven-settings
profile.setActivation( parseActivation( parser, strict ) );
代码示例来源:origin: org.codehaus.mevenide/nb-project
prop.setValue("true");//NOI18N
act.setProperty(prop);
myProfile.setActivation(act);
内容来源于网络,如有侵权,请联系作者删除!