Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
INDEX_ST_TEMPLATE |
"<html>\n<head>\n<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\">\n<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js\"></script>\n<script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js\"></script>\n</head>\n<body>\n<div class=\"container\">\n$widInfo:{k|\n<div class=\"well\">\n<h2>$i$. Workitem Info - $widInfo.(k).name$</h2>\n<table class=\"table table-hover\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Display Name</th>\n <th>Category</th>\n <th>Description</th>\n <th>Handler</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>$widInfo.(k).name$</td>\n <td>$widInfo.(k).displayName$</td>\n <td>$widInfo.(k).category$</td>\n <td>$widInfo.(k).description$</td>\n <td>$widInfo.(k).defaultHandler$</td>\n </tr>\n </tbody>\n</table>\n<br/>\n$if(widInfo.(k).parameters)$\n<h2>Parameters</h2>\n<table class=\"table table-hover\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Type</th>\n </tr>\n </thead>\n <tbody>\n $widInfo.(k).parameters:{k1|\n <tr>\n <td>$k1$</td>\n <td>$widInfo.(k).parameters.(k1).type$</td>\n </tr>\n }$\n </tbody>\n</table>\n<br/>\n$endif$\n$if(widInfo.(k).results)$\n<h2>Results</h2>\n<table class=\"table table-hover\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Type</th>\n </tr>\n </thead>\n <tbody>\n $widInfo.(k).results:{k1|\n <tr>\n <td>$k1$</td>\n <td>$widInfo.(k).results.(k1).type$</td>\n </tr>\n }$\n </tbody>\n</table>\n<br/>\n$endif$\n$if(widInfo.(k).mavenDepends)$\n<h2>Maven Dependencies</h2>\n<table class=\"table table-hover\">\n <thead>\n <tr>\n <th>Group</th>\n <th>Artifact</th>\n <th>Version</th>\n </tr>\n </thead>\n <tbody>\n $widInfo.(k).mavenDepends:{k1|\n <tr>\n <td>$widInfo.(k).mavenDepends.(k1).group$</td>\n <td>$widInfo.(k).mavenDepends.(k1).artifact$</td>\n <td>$widInfo.(k).mavenDepends.(k1).version$</td>\n </tr>\n }$\n </tbody>\n</table>\n<br/>\n$endif$\n</div>\n}$\n</div>\n</body>\n</html>" |
public static final String |
JSON_ST_TEMPLATE |
"[\n$widInfo:{k|\n$openbracket$\n \"name\" : \"$widInfo.(k).name$\",\n \"displayName\" : \"$widInfo.(k).displayName$\",\n \"category\" : \"$widInfo.(k).category$\",\n \"description\" : \"$widInfo.(k).description$\",\n \"defaultHandler\" : \"$widInfo.(k).defaultHandler$\",\n\n $if(widInfo.(k).parameters)$\n \"parameters\" : [\n $widInfo.(k).parameters:{k1|\n $openbracket$\n \"name\" : \"$k1$\",\n \"type\" : \"new $widInfo.(k).parameters.(k1).type$()\"\n $closebracket$\n }; separator=\",\"$\n ],\n $endif$\n $if(widInfo.(k).results)$\n \"results\" : [\n $widInfo.(k).results:{k1|\n $openbracket$\n \"name\" : \"$k1$\",\n \"type\" : \"new $widInfo.(k).results.(k1).type$()\"\n $closebracket$\n }; separator=\",\"$\n ],\n $endif$\n $if(widInfo.(k).mavenDepends)$\n \"mavenDependencies\" : [\n $widInfo.(k).mavenDepends:{k1|\n $openbracket$\n \"groupId\" : \"$widInfo.(k).mavenDepends.(k1).group$\",\n \"artifactId\" : \"$widInfo.(k).mavenDepends.(k1).artifact$\",\n \"version\" : \"$widInfo.(k).mavenDepends.(k1).version$\"\n $closebracket$\n }; separator=\",\"$\n ],\n $endif$\n \"icon\" : \"$widInfo.(k).icon$\"\n\n$closebracket$\n}; separator=\",\"$\n]" |
public static final String |
WID_ST_TEMPLATE |
"[\n$widInfo:{k|\n[\n \"name\" : \"$widInfo.(k).name$\",\n \"displayName\" : \"$widInfo.(k).displayName$\",\n \"category\" : \"$widInfo.(k).category$\",\n \"description\" : \"$widInfo.(k).description$\",\n \"defaultHandler\" : \"$widInfo.(k).defaultHandler$\",\n\n $if(widInfo.(k).parameters)$\n \"parameters\" : [\n $widInfo.(k).parameters:{k1|\n \"$k1$\" : new $widInfo.(k).parameters.(k1).type$()\n }; separator=\",\"$\n ],\n $endif$\n $if(widInfo.(k).results)$\n \"results\" : [\n $widInfo.(k).results:{k1|\n \"$k1$\" : new $widInfo.(k).results.(k1).type$()\n }; separator=\",\"$\n ],\n $endif$\n $if(widInfo.(k).mavenDepends)$\n \"mavenDependencies\" : [\n $widInfo.(k).mavenDepends:{k1|\n \"$widInfo.(k).mavenDepends.(k1).group$:$widInfo.(k).mavenDepends.(k1).artifact$:$widInfo.(k).mavenDepends.(k1).version$\"\n }; separator=\",\"$\n ],\n $endif$\n \"icon\" : \"$widInfo.(k).icon$\"\n\n]\n}; separator=\",\"$\n]" |
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.