
javaConfig.jvmProfiler_2.inc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-common Show documentation
Show all versions of console-common Show documentation
This bundle contains common code that may be shared across plugins.
The newest version!
#include "/common/shared/alertMsg.inc"
$attribute{tableRowGroup});
getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}", Rows=>$attribute{newList});
foreach(var="oneRow" list="#{requestScope.newList}"){
startsWith(testStr="#{requestScope.oneRow.value}" pattern="-" result="#{requestScope.valid}")
if ("!#{requestScope.valid}"){
gf.handleError( detail="$resource{i18nc.msg.jvmOptionInvalid, #{requestScope.oneRow.value}}");
}
}
gf.createEntity(endpoint="#{pageSession.createProfilerUrl}"
attrs="#{pageSession.valueMap}"
convertToFalse="#{pageSession.convertToFalseList}"
onlyUseAttrs="#{pageSession.onlyUseAttrs}"
result => $attribute{objStr});
prepareAlertMsg(type="success", summary="$resource{i18nc.jvm.ProfilerCreated}");
saveJvmOptionValues(endpoint="#{pageSession.profilerUrl}/jvm-options", target="#{pageSession.configName}", options="$attribute{newList}" ,
deleteProfileEndpoint="#{pageSession.deleteProfilerUrl}" profiler="true");
gf.redirect(page="#{selfPage}?alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}&name=#{pageSession.Name}&configName=#{pageSession.configName}");
/>
$attribute{tableRowGroup});
getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}", Rows=>$attribute{newList});
saveJvmOptionValues(endpoint="#{pageSession.profilerUrl}/jvm-options", target="#{pageSession.configName}", options="$attribute{newList}" , origList="#{pageSession.origList}" profiler="true");
prepareSuccessfulMsg();
gf.redirect(page="#{selfPage}?alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}&name=#{pageSession.Name}&configName=#{pageSession.configName}");
/>
#include "/common/shared/configNameSection.inc"
"
"
#include "/common/javaConfig/jvmOptionsTable.inc"
#include "/common/shared/changeButtonsJS.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy