diff --git a/README.md b/README.md index 1f808cec2..860628402 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # nuts Network Updatable Things Services
-     __        __       
-  /\ \ \ _  __/ /______ 
- /  \/ / / / / __/ ___/ 
-/ /\  / /_/ / /_(__  )  
-\_\ \/\__,_/\__/____/    version 0.7.0.0
+     __        __    
+  /\ \ \ _  __/ /______
+ /  \/ / / / / __/ ___/
+/ /\  / /_/ / /_(__  )
+\_\ \/\__,_/\__/____/    version 0.7.1.0
 
**nuts** is a Package manager for Java (and other things). It stands for **Network Updatable Things Services** tool. Think of it as **npm** for javascript or **pip** for python. But it lots more... It is a simple tool for managing remote artifacts, installing these artifacts to the current machine and executing such artifacts on need. Each managed artifact is also called a **nuts** which is a **Network Updatable Thing Service** . Nuts artifacts are stored into repositories. A **repository** may be local for storing local Nuts or remote for accessing remote artifacts (good examples are remote maven repositories). @@ -25,20 +25,16 @@ What makes **nuts** very helpful is that it simplifies application deployments b + search : search for existing/installable artifacts + welcome : a command that does nothing but bootstrapping nuts and showing a welcome message. - -Visit [nuts website](http://core-techs-solutions.com/nuts) - - ## Download Latest stable version -+ Linux,Windows,iOS, and Java enabled OS : [nuts-0.7.0.jar](https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.0/nuts-0.7.0.jar) ++ Linux,Windows,iOS, and Java enabled OS : [nuts-0.7.1.jar](https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.1/nuts-0.7.1.jar) + On Unix/Linux platforms you may use : + using **wget** ``` - wget https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.0/nuts-0.7.0.jar + wget https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.1/nuts-0.7.1.jar ``` + or **curl** ``` - curl https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.0/nuts-0.7.0.jar > nuts-0.7.0.jar + curl https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.1/nuts-0.7.1.jar > nuts-0.7.1.jar ``` Note that you will need a valid Java Runtime Environment (JRE) or Java Development Kit (JDK) version **8** or later to run **nuts**. @@ -48,7 +44,7 @@ It will create all needed configuration files upon the very first launch. More details are available at [wiki installation page](https://github.com/thevpc/nuts/wiki/Installation) ``` -java -jar nuts-0.7.0.jar +java -jar nuts-0.7.1.jar ``` Yous should then see some log like the following : @@ -71,16 +67,16 @@ All tests where performed on OpenSuse Tumbleweed. ## Windows Systems On Windows systems, first launch will create a new Nuts Menu (under Programs) and a couple of Desktop shortcuts to launch a configured command terminal. - + **nuts-cmd-0.7.0** : this shortcut will open a configured command terminal. **nuts** command will be available as well + + **nuts-cmd-0.7.1** : this shortcut will open a configured command terminal. **nuts** command will be available as well as several nuts companion tools installed by **ndi** by default - + **nuts-cmd** : this shortcut will point to the last installed **nuts** version, here 0.7.0 + + **nuts-cmd** : this shortcut will point to the last installed **nuts** version, here 0.7.1 Any of these shortcuts will launch a nuts-aware terminal. Supported Windows systems include Window 7 and later. ## MacOS Systems -Installation will worl seemlely on MacOS as far as you are using bash shell. All Linux installatio notes apply then. +Installation will work seamlessly on MacOS as far as you are using bash shell. All Linux installation notes apply then. ## Test Installation To test installation the simplest way is to open a nuts-aware terminal and type : @@ -92,7 +88,7 @@ nuts --version It should show a result in the format : nuts-api-version/nuts-impl-version ``` -00.7.0/0.7.0.0 +00.7.1/0.7.1.0 ``` ## Run a command @@ -120,13 +116,3 @@ Nuts have lots of ways to be improved. Please feel free to join the journey. View stable releases in [official releases page](https://github.com/thevpc/nuts/releases). View all releases in [release details page](docs/change-log/release-details.md). - -## Read more - -- [Introduction, Why and What for](docs/articles/01-nuts-introduction.md) -- [Project and Repository Organization](docs/articles/02-nuts-projects.md) -- [Nuts Text Coloring Format](docs/articles/04-nuts-text-coloring-format.md) -- [File System](docs/articles/03-nuts-filesystem.md) -- [Commandline Format](docs/articles/05-nuts-commandline.md) -- [FAQ](docs/articles/10-nuts-faq.md) -- [Troubleshooting](docs/troubleshooting.md) \ No newline at end of file diff --git a/README.md.pre b/README.md.pre index 57c773f12..2af8628b0 100644 --- a/README.md.pre +++ b/README.md.pre @@ -79,7 +79,7 @@ Any of these shortcuts will launch a nuts-aware terminal. Supported Windows systems include Window 7 and later. ## MacOS Systems -Installation will worl seemlely on MacOS as far as you are using bash shell. All Linux installatio notes apply then. +Installation will work seamlessly on MacOS as far as you are using bash shell. All Linux installation notes apply then. ## Test Installation To test installation the simplest way is to open a nuts-aware terminal and type : diff --git a/_pre-deploy.sh b/_pre-deploy.sh new file mode 100755 index 000000000..733a581df --- /dev/null +++ b/_pre-deploy.sh @@ -0,0 +1 @@ +nuts worky process-file *.pre diff --git a/app-include.pre-script b/app-include.pre-script index bc0009d68..6dbe001b4 100644 --- a/app-include.pre-script +++ b/app-include.pre-script @@ -1,3 +1,3 @@ -apiVersion='0.7.0'; -implVersion='0.7.0.0'; +apiVersion='0.7.1'; +implVersion='0.7.1.0'; jarLocation=processString("https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/${apiVersion}/nuts-${apiVersion}.jar"); \ No newline at end of file diff --git a/website/nuts2/static/.nojekyll b/docs/.nojekyll similarity index 100% rename from website/nuts2/static/.nojekyll rename to docs/.nojekyll diff --git a/docs/01a85c17.b59f7186.js b/docs/01a85c17.b59f7186.js new file mode 100644 index 000000000..7ce316a5a --- /dev/null +++ b/docs/01a85c17.b59f7186.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{56:function(e,a,t){"use strict";t.r(a);var n=t(0),c=t.n(n),l=t(123),r=t(121);a.default=function(e){const{tags:a}=e,t={};Object.keys(a).forEach(e=>{const a=function(e){return e[0].toUpperCase()}(e);t[a]=t[a]||[],t[a].push(e)});const n=Object.entries(t).sort(([e],[a])=>e===a?0:e>a?1:-1).map(([e,t])=>c.a.createElement("div",{key:e},c.a.createElement("h3",null,e),t.map(e=>c.a.createElement(r.a,{className:"padding-right--md",href:a[e].permalink,key:e},a[e].name," (",a[e].count,")")),c.a.createElement("hr",null))).filter(e=>null!=e);return c.a.createElement(l.a,{title:"Tags",description:"Blog Tags"},c.a.createElement("div",{className:"container margin-vert--lg"},c.a.createElement("div",{className:"row"},c.a.createElement("main",{className:"col col--8 col--offset-2"},c.a.createElement("h1",null,"Tags"),c.a.createElement("div",{className:"margin-vert--lg"},n)))))}}}]); \ No newline at end of file diff --git a/docs/091f20d6.63b57531.js b/docs/091f20d6.63b57531.js new file mode 100644 index 000000000..58bba8b29 --- /dev/null +++ b/docs/091f20d6.63b57531.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{118:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return m}));var r=n(0),o=n.n(r);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=o.a.createContext({}),l=function(e){var t=o.a.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=l(e.components);return o.a.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),d=l(n),f=r,m=d["".concat(c,".").concat(f)]||d[f]||s[f]||a;return n?o.a.createElement(m,i(i({ref:t},p),{},{components:n})):o.a.createElement(m,i({ref:t},p))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,c=new Array(a);c[0]=f;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i.mdxType="string"==typeof e?e:r,c[1]=i;for(var p=2;p=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=i.a.createContext({}),u=function(e){var t=i.a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},p=function(e){var t=u(e.components);return i.a.createElement(c.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},d=i.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),p=u(n),d=a,h=p["".concat(l,".").concat(d)]||p[d]||b[d]||r;return n?i.a.createElement(h,o(o({ref:t},c),{},{components:n})):i.a.createElement(h,o({ref:t},c))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,l=new Array(r);l[0]=d;var o={};for(var s in t)hasOwnProperty.call(t,s)&&(o[s]=t[s]);o.originalType=e,o.mdxType="string"==typeof e?e:a,l[1]=o;for(var c=2;c{}});var s=n(122),f=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);ot.startsWith("/"))(w=g)?b(w):g:void 0;var w;const T=Object(a.a)(m),O=Object(r.useRef)(!1),A=n?i.e:i.c,C=u.a.canUseIntersectionObserver;let S;Object(r.useEffect)(()=>(!C&&T&&window.docusaurus.prefetch(m),()=>{C&&S&&S.disconnect()}),[m,C,T]);const E=null!==(e=null==m?void 0:m.startsWith("#"))&&void 0!==e&&e,j=!m||!T||E;return m&&T&&!E&&!h&&v.collectLink(m),j?o.a.createElement("a",Object.assign({href:m},!T&&{target:"_blank",rel:"noopener noreferrer"},y)):o.a.createElement(A,Object.assign({},y,{onMouseEnter:()=>{O.current||(window.docusaurus.preload(m),O.current=!0)},innerRef:t=>{var e,n;C&&t&&T&&(e=t,n=()=>{window.docusaurus.prefetch(m)},S=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(S.unobserve(e),S.disconnect(),n())})}),S.observe(e))},to:m},n&&{activeClassName:p}))}},122:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a}));var r=n(119),o=n(124);function i(){const{siteConfig:{baseUrl:t="/",url:e}={}}=Object(r.a)();return{withBaseUrl:(n,r)=>function(t,e,n,{forcePrependBaseUrl:r=!1,absolute:i=!1}={}){if(!n)return n;if(n.startsWith("#"))return n;if(Object(o.b)(n))return n;if(r)return e+n;const a=!n.startsWith(e)?e+n.replace(/^\//,""):n;return i?t+a:a}(e,t,n,r)}}function a(t,e={}){const{withBaseUrl:n}=i();return n(t,e)}},124:function(t,e,n){"use strict";function r(t){return!0===/^(\w*:|\/\/)/.test(t)}function o(t){return void 0!==t&&!r(t)}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}))},128:function(t,e,n){"use strict";n.r(e);var r=n(13);n.d(e,"MemoryRouter",(function(){return r.d})),n.d(e,"Prompt",(function(){return r.f})),n.d(e,"Redirect",(function(){return r.g})),n.d(e,"Route",(function(){return r.h})),n.d(e,"Router",(function(){return r.i})),n.d(e,"StaticRouter",(function(){return r.j})),n.d(e,"Switch",(function(){return r.k})),n.d(e,"generatePath",(function(){return r.l})),n.d(e,"matchPath",(function(){return r.m})),n.d(e,"useHistory",(function(){return r.n})),n.d(e,"useLocation",(function(){return r.o})),n.d(e,"useParams",(function(){return r.p})),n.d(e,"useRouteMatch",(function(){return r.q})),n.d(e,"withRouter",(function(){return r.r})),n.d(e,"BrowserRouter",(function(){return r.a})),n.d(e,"HashRouter",(function(){return r.b})),n.d(e,"Link",(function(){return r.c})),n.d(e,"NavLink",(function(){return r.e}))},129:function(t,e,n){"use strict";var r=n(0),o=n.n(r),i=n(141);e.a=function(t){return o.a.createElement(i.a,Object.assign({},t))}},130:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useDocVersionSuggestions=e.useActiveDocContext=e.useActiveVersion=e.useLatestVersion=e.useVersions=e.useActivePlugin=void 0;const r=n(128),o=n(149),i=n(150),a=t=>o.usePluginData("docusaurus-plugin-content-docs",t);e.useActivePlugin=()=>{const t=o.useAllPluginInstancesData("docusaurus-plugin-content-docs"),{pathname:e}=r.useLocation();return i.getActivePlugin(t,e)},e.useVersions=t=>a(t).versions,e.useLatestVersion=t=>{const e=a(t);return i.getLatestVersion(e)},e.useActiveVersion=t=>{const e=a(t),{pathname:n}=r.useLocation();return i.getActiveVersion(e,n)},e.useActiveDocContext=t=>{const e=a(t),{pathname:n}=r.useLocation();return i.getActiveDocContext(e,n)},e.useDocVersionSuggestions=t=>{const e=a(t),{pathname:n}=r.useLocation();return i.getDocVersionSuggestions(e,n)}},141:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return yt}));var r,o,i,a,u=n(7),c=n.n(u),s=n(142),f=n.n(s),l=n(143),d=n.n(l),p=n(0),h=n.n(p),y=n(21),b=n.n(y),v="bodyAttributes",g="htmlAttributes",m="titleAttributes",w={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},T=(Object.keys(w).map((function(t){return w[t]})),"charset"),O="cssText",A="href",C="http-equiv",S="innerHTML",E="itemprop",j="name",P="property",L="rel",k="src",x="target",I={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},D="defaultTitle",R="defer",N="encodeSpecialCharacters",M="onChangeClientState",V="titleTemplate",_=Object.keys(I).reduce((function(t,e){return t[I[e]]=e,t}),{}),B=[w.NOSCRIPT,w.SCRIPT,w.STYLE],H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},q=function(){function t(t,e){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},W=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},z=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===e?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},K=function(t){var e=X(t,w.TITLE),n=X(t,V);if(n&&e)return n.replace(/%s/g,(function(){return Array.isArray(e)?e.join(""):e}));var r=X(t,D);return e||r||void 0},$=function(t){return X(t,M)||function(){}},J=function(t,e){return e.filter((function(e){return void 0!==e[t]})).map((function(e){return e[t]})).reduce((function(t,e){return Y({},t,e)}),{})},G=function(t,e){return e.filter((function(t){return void 0!==t[w.BASE]})).map((function(t){return t[w.BASE]})).reverse().reduce((function(e,n){if(!e.length)for(var r=Object.keys(n),o=0;o=0;n--){var r=t[n];if(r.hasOwnProperty(e))return r[e]}return null},Z=(r=Date.now(),function(t){var e=Date.now();e-r>16?(r=e,t(e)):setTimeout((function(){Z(t)}),0)}),tt=function(t){return clearTimeout(t)},et="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Z:t.requestAnimationFrame||Z,nt="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||tt:t.cancelAnimationFrame||tt,rt=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},ot=null,it=function(t,e){var n=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,u=t.noscriptTags,c=t.onChangeClientState,s=t.scriptTags,f=t.styleTags,l=t.title,d=t.titleAttributes;ct(w.BODY,r),ct(w.HTML,o),ut(l,d);var p={baseTag:st(w.BASE,n),linkTags:st(w.LINK,i),metaTags:st(w.META,a),noscriptTags:st(w.NOSCRIPT,u),scriptTags:st(w.SCRIPT,s),styleTags:st(w.STYLE,f)},h={},y={};Object.keys(p).forEach((function(t){var e=p[t],n=e.newTags,r=e.oldTags;n.length&&(h[t]=n),r.length&&(y[t]=p[t].oldTags)})),e&&e(),c(t,h,y)},at=function(t){return Array.isArray(t)?t.join(""):t},ut=function(t,e){void 0!==t&&document.title!==t&&(document.title=at(t)),ct(w.TITLE,e)},ct=function(t,e){var n=document.getElementsByTagName(t)[0];if(n){for(var r=n.getAttribute("data-react-helmet"),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(e),u=0;u=0;l--)n.removeAttribute(i[l]);o.length===i.length?n.removeAttribute("data-react-helmet"):n.getAttribute("data-react-helmet")!==a.join(",")&&n.setAttribute("data-react-helmet",a.join(","))}},st=function(t,e){var n=document.head||document.querySelector(w.HEAD),r=n.querySelectorAll(t+"[data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return e&&e.length&&e.forEach((function(e){var n=document.createElement(t);for(var r in e)if(e.hasOwnProperty(r))if(r===S)n.innerHTML=e.innerHTML;else if(r===O)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var u=void 0===e[r]?"":e[r];n.setAttribute(r,u)}n.setAttribute("data-react-helmet","true"),o.some((function(t,e){return a=e,n.isEqualNode(t)}))?o.splice(a,1):i.push(n)})),o.forEach((function(t){return t.parentNode.removeChild(t)})),i.forEach((function(t){return n.appendChild(t)})),{oldTags:o,newTags:i}},ft=function(t){return Object.keys(t).reduce((function(e,n){var r=void 0!==t[n]?n+'="'+t[n]+'"':""+n;return e?e+" "+r:r}),"")},lt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[I[n]||n]=t[n],e}),e)},dt=function(t,e,n){switch(t){case w.TITLE:return{toComponent:function(){return t=e.title,n=e.titleAttributes,(r={key:t})["data-react-helmet"]=!0,o=lt(n,r),[h.a.createElement(w.TITLE,o,t)];var t,n,r,o},toString:function(){return function(t,e,n,r){var o=ft(n),i=at(e);return o?"<"+t+' data-react-helmet="true" '+o+">"+z(i,r)+"":"<"+t+' data-react-helmet="true">'+z(i,r)+""}(t,e.title,e.titleAttributes,n)}};case v:case g:return{toComponent:function(){return lt(e)},toString:function(){return ft(e)}};default:return{toComponent:function(){return function(t,e){return e.map((function(e,n){var r,o=((r={key:n})["data-react-helmet"]=!0,r);return Object.keys(e).forEach((function(t){var n=I[t]||t;if(n===S||n===O){var r=e.innerHTML||e.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=e[t]})),h.a.createElement(t,o)}))}(t,e)},toString:function(){return function(t,e,n){return e.reduce((function(e,r){var o=Object.keys(r).filter((function(t){return!(t===S||t===O)})).reduce((function(t,e){var o=void 0===r[e]?e:e+'="'+z(r[e],n)+'"';return t?t+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===B.indexOf(t);return e+"<"+t+' data-react-helmet="true" '+o+(a?"/>":">"+i+"")}),"")}(t,e,n)}}}},pt=function(t){var e=t.baseTag,n=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,u=t.noscriptTags,c=t.scriptTags,s=t.styleTags,f=t.title,l=void 0===f?"":f,d=t.titleAttributes;return{base:dt(w.BASE,e,r),bodyAttributes:dt(v,n,r),htmlAttributes:dt(g,o,r),link:dt(w.LINK,i,r),meta:dt(w.META,a,r),noscript:dt(w.NOSCRIPT,u,r),script:dt(w.SCRIPT,c,r),style:dt(w.STYLE,s,r),title:dt(w.TITLE,{title:l,titleAttributes:d},r)}},ht=f()((function(t){return{baseTag:G([A,x],t),bodyAttributes:J(v,t),defer:X(t,R),encode:X(t,N),htmlAttributes:J(g,t),linkTags:Q(w.LINK,[L,A],t),metaTags:Q(w.META,[j,T,C,P,E],t),noscriptTags:Q(w.NOSCRIPT,[S],t),onChangeClientState:$(t),scriptTags:Q(w.SCRIPT,[k,S],t),styleTags:Q(w.STYLE,[O],t),title:K(t),titleAttributes:J(m,t)}}),(function(t){ot&&nt(ot),t.defer?ot=et((function(){it(t,(function(){ot=null}))})):(it(t),ot=null)}),pt)((function(){return null})),yt=(o=ht,a=i=function(t){function e(){return U(this,e),W(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return!d()(this.props,t)},e.prototype.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case w.SCRIPT:case w.NOSCRIPT:return{innerHTML:e};case w.STYLE:return{cssText:e}}throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},e.prototype.flattenArrayTypeChildren=function(t){var e,n=t.child,r=t.arrayTypeChildren,o=t.newChildProps,i=t.nestedChildren;return Y({},r,((e={})[n.type]=[].concat(r[n.type]||[],[Y({},o,this.mapNestedChildrenToProps(n,i))]),e))},e.prototype.mapObjectTypeChildren=function(t){var e,n,r=t.child,o=t.newProps,i=t.newChildProps,a=t.nestedChildren;switch(r.type){case w.TITLE:return Y({},o,((e={})[r.type]=a,e.titleAttributes=Y({},i),e));case w.BODY:return Y({},o,{bodyAttributes:Y({},i)});case w.HTML:return Y({},o,{htmlAttributes:Y({},i)})}return Y({},o,((n={})[r.type]=Y({},i),n))},e.prototype.mapArrayTypeChildrenToProps=function(t,e){var n=Y({},e);return Object.keys(t).forEach((function(e){var r;n=Y({},n,((r={})[e]=t[e],r))})),n},e.prototype.warnOnInvalidChildren=function(t,e){return!0},e.prototype.mapChildrenToProps=function(t,e){var n=this,r={};return h.a.Children.forEach(t,(function(t){if(t&&t.props){var o=t.props,i=o.children,a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[_[n]||n]=t[n],e}),e)}(F(o,["children"]));switch(n.warnOnInvalidChildren(t,i),t.type){case w.LINK:case w.META:case w.NOSCRIPT:case w.SCRIPT:case w.STYLE:r=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:e=n.mapObjectTypeChildren({child:t,newProps:e,newChildProps:a,nestedChildren:i})}}})),e=this.mapArrayTypeChildrenToProps(r,e)},e.prototype.render=function(){var t=this.props,e=t.children,n=F(t,["children"]),r=Y({},n);return e&&(r=this.mapChildrenToProps(e,r)),h.a.createElement(o,r)},q(e,null,[{key:"canUseDOM",set:function(t){o.canUseDOM=t}}]),e}(h.a.Component),i.propTypes={base:c.a.object,bodyAttributes:c.a.object,children:c.a.oneOfType([c.a.arrayOf(c.a.node),c.a.node]),defaultTitle:c.a.string,defer:c.a.bool,encodeSpecialCharacters:c.a.bool,htmlAttributes:c.a.object,link:c.a.arrayOf(c.a.object),meta:c.a.arrayOf(c.a.object),noscript:c.a.arrayOf(c.a.object),onChangeClientState:c.a.func,script:c.a.arrayOf(c.a.object),style:c.a.arrayOf(c.a.object),title:c.a.string,titleAttributes:c.a.object,titleTemplate:c.a.string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var t=o.rewind();return t||(t=pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},a);yt.renderStatic=yt.rewind}).call(this,n(29))},142:function(t,e,n){"use strict";var r,o=n(0),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=function(t,e,n){if("function"!=typeof t)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof e)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var c,s=[];function f(){c=t(s.map((function(t){return t.props}))),l.canUseDOM?e(c):n&&(c=n(c))}var l=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,o.peek=function(){return c},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var t=c;return c=void 0,s=[],t};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){s.push(this),f()},a.componentDidUpdate=function(){f()},a.componentWillUnmount=function(){var t=s.indexOf(this);s.splice(t,1),f()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(l,"displayName","SideEffect("+function(t){return t.displayName||t.name||"Component"}(r)+")"),a(l,"canUseDOM",u),l}}},143:function(t,e){var n="undefined"!=typeof Element,r="function"==typeof Map,o="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;t.exports=function(t,e){try{return function t(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var u,c,s,f;if(Array.isArray(e)){if((u=e.length)!=a.length)return!1;for(c=u;0!=c--;)if(!t(e[c],a[c]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(f=e.entries();!(c=f.next()).done;)if(!a.has(c.value[0]))return!1;for(f=e.entries();!(c=f.next()).done;)if(!t(c.value[1],a.get(c.value[0])))return!1;return!0}if(o&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(f=e.entries();!(c=f.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((u=e.length)!=a.length)return!1;for(c=u;0!=c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((u=(s=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,s[c]))return!1;if(n&&e instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==s[c]&&"__v"!==s[c]&&"__o"!==s[c]||!e.$$typeof)&&!t(e[s[c]],a[s[c]]))return!1;return!0}return e!=e&&a!=a}(t,e)}catch(a){if((a.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw a}}},149:function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o})),n.d(e,"useAllPluginInstancesData",(function(){return i})),n.d(e,"usePluginData",(function(){return a}));var r=n(119);function o(){const{globalData:t}=Object(r.a)();if(!t)throw new Error("Docusaurus global data not found");return t}function i(t){const e=o()[t];if(!e)throw new Error("Docusaurus plugin global data not found for pluginName="+t);return e}function a(t,e="default"){const n=i(t)[e];if(!n)throw new Error(`Docusaurus plugin global data not found for pluginName=${t} and pluginId=${e}`);return n}},150:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDocVersionSuggestions=e.getActiveDocContext=e.getActiveVersion=e.getLatestVersion=e.getActivePlugin=void 0;const r=n(128);e.getActivePlugin=(t,e)=>{const n=Object.entries(t).find(([t,n])=>!!r.matchPath(e,{path:n.path,exact:!1,strict:!1}));return n?{pluginId:n[0],pluginData:n[1]}:void 0},e.getLatestVersion=t=>t.versions.find(e=>e.name===t.latestVersionName),e.getActiveVersion=(t,n)=>{const o=e.getLatestVersion(t);return[...t.versions.filter(t=>t!==o),o].find(t=>!!r.matchPath(n,{path:t.path,exact:!1,strict:!1}))},e.getActiveDocContext=(t,n)=>{const o=e.getActiveVersion(t,n),i=null==o?void 0:o.docs.find(t=>!!r.matchPath(n,{path:t.path,exact:!0,strict:!1}));return{activeVersion:o,activeDoc:i,alternateDocVersions:i?function(e){const n={};return t.versions.forEach(t=>{t.docs.forEach(r=>{r.id===e&&(n[t.name]=r)})}),n}(i.id):{}}},e.getDocVersionSuggestions=(t,n)=>{const r=e.getLatestVersion(t),o=e.getActiveDocContext(t,n),i=o.activeVersion!==r;return{latestDocSuggestion:i?null==o?void 0:o.alternateDocVersions[r.name]:void 0,latestVersionSuggestion:i?r:void 0}}}}]); \ No newline at end of file diff --git a/docs/1010ef7d.81b249e3.js b/docs/1010ef7d.81b249e3.js new file mode 100644 index 000000000..e629ca6f3 --- /dev/null +++ b/docs/1010ef7d.81b249e3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{59:function(a){a.exports=JSON.parse('{"nuts":{"allTagsPath":"/nuts/blog/tags","slug":"nuts","name":"nuts","count":3,"permalink":"/nuts/blog/tags/nuts"},"hola":{"allTagsPath":"/nuts/blog/tags","slug":"hola","name":"hola","count":1,"permalink":"/nuts/blog/tags/hola"}}')}}]); \ No newline at end of file diff --git a/docs/17896441.22902261.js b/docs/17896441.22902261.js new file mode 100644 index 000000000..2531da088 --- /dev/null +++ b/docs/17896441.22902261.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{113:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),r=a(129),i=a(119),c=a(122),o=a(121);var s=function(e){const{metadata:t}=e;return l.a.createElement("nav",{className:"pagination-nav","aria-label":"Blog list page navigation"},l.a.createElement("div",{className:"pagination-nav__item"},t.previous&&l.a.createElement(o.a,{className:"pagination-nav__link",to:t.previous.permalink},l.a.createElement("div",{className:"pagination-nav__sublabel"},"Previous"),l.a.createElement("div",{className:"pagination-nav__label"},"\xab ",t.previous.title))),l.a.createElement("div",{className:"pagination-nav__item pagination-nav__item--next"},t.next&&l.a.createElement(o.a,{className:"pagination-nav__link",to:t.next.permalink},l.a.createElement("div",{className:"pagination-nav__sublabel"},"Next"),l.a.createElement("div",{className:"pagination-nav__label"},t.next.title," \xbb"))))};var m=function(e,t,a){const[l,r]=Object(n.useState)(void 0);Object(n.useEffect)(()=>{let n,i;function c(){const c=function(){let e=0,t=null;for(n=document.getElementsByClassName("anchor");e=0&&r<=a&&(t=l),e+=1}return t}();if(c){let a=0,n=!1;for(i=document.getElementsByClassName(e);a{document.removeEventListener("scroll",c),document.removeEventListener("resize",c)}})},d=a(130);var u=function(){const{siteConfig:{title:e}}=Object(i.a)(),t=(()=>{const e=Object(d.useActivePlugin)();if(!e)throw new Error("DocVersionCallout is only supposed to be used on docs-related routes");return e.pluginId})(),a=Object(d.useActiveVersion)(t),{latestDocSuggestion:n,latestVersionSuggestion:r}=Object(d.useDocVersionSuggestions)(t);if(!r)return l.a.createElement(l.a.Fragment,null);const c=a.name,s=null!=n?n:(m=r).docs.find(e=>e.id===m.mainDocId);var m;return l.a.createElement("div",{className:"alert alert--warning margin-bottom--md",role:"alert"},"next"===c?l.a.createElement("div",null,"This is unreleased documentation for ",e," ",l.a.createElement("strong",null,c)," version."):l.a.createElement("div",null,"This is documentation for ",e," ",l.a.createElement("strong",null,"v",c),", which is no longer actively maintained."),l.a.createElement("div",{className:"margin-top--md"},"For up-to-date documentation, see the"," ",l.a.createElement("strong",null,l.a.createElement(o.a,{to:s.path},"latest version"))," ","(",r.name,")."))},g=a(120),E=a(60),v=a.n(E);function p({headings:e}){return m("table-of-contents__link","table-of-contents__link--active",100),l.a.createElement("div",{className:"col col--3"},l.a.createElement("div",{className:v.a.tableOfContents},l.a.createElement(h,{headings:e})))}function h({headings:e,isChild:t}){return e.length?l.a.createElement("ul",{className:t?"":"table-of-contents table-of-contents__left-border"},e.map(e=>l.a.createElement("li",{key:e.id},l.a.createElement("a",{href:"#"+e.id,className:"table-of-contents__link",dangerouslySetInnerHTML:{__html:e.value}}),l.a.createElement(h,{isChild:!0,headings:e.children})))):null}t.default=function(e){const{siteConfig:t={}}=Object(i.a)(),{url:a,title:n}=t,{content:o}=e,{metadata:m}=o,{description:d,title:E,permalink:h,editUrl:f,lastUpdatedAt:b,lastUpdatedBy:_,version:N}=m,{frontMatter:{image:w,keywords:y,hide_title:k,hide_table_of_contents:C}}=o,O=E?`${E} | ${n}`:n,j=Object(c.a)(w,{absolute:!0});return l.a.createElement(l.a.Fragment,null,l.a.createElement(r.a,null,l.a.createElement("title",null,O),l.a.createElement("meta",{property:"og:title",content:O}),d&&l.a.createElement("meta",{name:"description",content:d}),d&&l.a.createElement("meta",{property:"og:description",content:d}),y&&y.length&&l.a.createElement("meta",{name:"keywords",content:y.join(",")}),w&&l.a.createElement("meta",{property:"og:image",content:j}),w&&l.a.createElement("meta",{property:"twitter:image",content:j}),w&&l.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+E}),h&&l.a.createElement("meta",{property:"og:url",content:a+h}),h&&l.a.createElement("link",{rel:"canonical",href:a+h})),l.a.createElement("div",{className:Object(g.a)("container padding-vert--lg",v.a.docItemWrapper)},l.a.createElement("div",{className:"row"},l.a.createElement("div",{className:Object(g.a)("col",{[v.a.docItemCol]:!C})},l.a.createElement(u,null),l.a.createElement("div",{className:v.a.docItemContainer},l.a.createElement("article",null,N&&l.a.createElement("div",null,l.a.createElement("span",{className:"badge badge--secondary"},"Version: ",N)),!k&&l.a.createElement("header",null,l.a.createElement("h1",{className:v.a.docTitle},E)),l.a.createElement("div",{className:"markdown"},l.a.createElement(o,null))),(f||b||_)&&l.a.createElement("div",{className:"margin-vert--xl"},l.a.createElement("div",{className:"row"},l.a.createElement("div",{className:"col"},f&&l.a.createElement("a",{href:f,target:"_blank",rel:"noreferrer noopener"},l.a.createElement("svg",{fill:"currentColor",height:"1.2em",width:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 40 40",style:{marginRight:"0.3em",verticalAlign:"sub"}},l.a.createElement("g",null,l.a.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"}))),"Edit this page")),(b||_)&&l.a.createElement("div",{className:"col text--right"},l.a.createElement("em",null,l.a.createElement("small",null,"Last updated"," ",b&&l.a.createElement(l.a.Fragment,null,"on"," ",l.a.createElement("time",{dateTime:new Date(1e3*b).toISOString(),className:v.a.docLastUpdatedAt},new Date(1e3*b).toLocaleDateString()),_&&" "),_&&l.a.createElement(l.a.Fragment,null,"by ",l.a.createElement("strong",null,_)),!1))))),l.a.createElement("div",{className:"margin-vert--lg"},l.a.createElement(s,{metadata:m})))),!C&&o.rightToc&&l.a.createElement(p,{headings:o.rightToc}))))}}}]); \ No newline at end of file diff --git a/docs/1c28c6e3.65e5846e.js b/docs/1c28c6e3.65e5846e.js new file mode 100644 index 000000000..6e114151e --- /dev/null +++ b/docs/1c28c6e3.65e5846e.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{114:function(e,t,a){"use strict";a.r(t),a.d(t,"frontMatter",(function(){return O})),a.d(t,"metadata",(function(){return v})),a.d(t,"rightToc",(function(){return h})),a.d(t,"default",(function(){return g}));var n=a(2),i=a(6),r=a(0),s=a.n(r),c=a(118),l=a(126),o=a(120),b=a(63),p=a.n(b);const m=37,u=39;var d=function(e){const{block:t,children:a,defaultValue:n,values:i,groupId:c}=e,{tabGroupChoices:b,setTabGroupChoices:d}=Object(l.a)(),[j,O]=Object(r.useState)(n),[v,h]=Object(r.useState)(!1);if(null!=c){const e=b[c];null!=e&&e!==j&&i.some(t=>t.value===e)&&O(e)}const N=e=>{O(e),null!=c&&d(c,e)},g=[],f=e=>{e.metaKey||e.altKey||e.ctrlKey||h(!0)},w=()=>{h(!1)};return Object(r.useEffect)(()=>{window.addEventListener("keydown",f),window.addEventListener("mousedown",w)},[]),s.a.createElement("div",null,s.a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:Object(o.a)("tabs",{"tabs--block":t})},i.map(({value:e,label:t})=>s.a.createElement("li",{role:"tab",tabIndex:0,"aria-selected":j===e,className:Object(o.a)("tabs__item",p.a.tabItem,{"tabs__item--active":j===e}),style:v?{}:{outline:"none"},key:e,ref:e=>g.push(e),onKeyDown:e=>{((e,t,a)=>{switch(a.keyCode){case u:((e,t)=>{const a=e.indexOf(t)+1;e[a]?e[a].focus():e[0].focus()})(e,t);break;case m:((e,t)=>{const a=e.indexOf(t)-1;e[a]?e[a].focus():e[e.length-1].focus()})(e,t)}})(g,e.target,e),f(e)},onFocus:()=>N(e),onClick:()=>{N(e),h(!1)},onPointerDown:()=>h(!1)},t))),s.a.createElement("div",{role:"tabpanel",className:"margin-vert--md"},r.Children.toArray(a).filter(e=>e.props.value===j)[0]))};var j=function(e){return s.a.createElement("div",null,e.children)},O={id:"installation",title:"Installation",sidebar_label:"Installation"},v={unversionedId:"get-started/installation",id:"get-started/installation",isDocsHomePage:!0,title:"Installation",description:"`",source:"@site/docs/get-started/installation.md",permalink:"/nuts/docs/",editUrl:"https://github.com/facebook/docusaurus/edit/master/website/docs/get-started/installation.md",sidebar_label:"Installation",sidebar:"someSidebar",previous:{title:"License",permalink:"/nuts/docs/intro/license"},next:{title:"Running Nuts",permalink:"/nuts/docs/get-started/running"}},h=[{value:"System Requirements",id:"system-requirements",children:[]},{value:"Installation",id:"installation",children:[]},{value:"Test Installation",id:"test-installation",children:[]},{value:"Run a command",id:"run-a-command",children:[]}],N={rightToc:h};function g(e){var t=e.components,r=Object(i.a)(e,["components"]);return Object(c.b)("wrapper",Object(n.a)({},N,r,{components:t,mdxType:"MDXLayout"}),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{})," __ __ \n /\\ \\ \\ _ __/ /______\n / \\/ / / / / __/ ___/\n/ /\\ / /_/ / /_(__ )\n\\_\\ \\/\\__,_/\\__/____/ version v0.7.0\n")),Object(c.b)("h2",{id:"system-requirements"},"System Requirements"),Object(c.b)("p",null,"Here are all ",Object(c.b)("strong",{parentName:"p"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," requirements :"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Java")," : ",Object(c.b)("strong",{parentName:"li"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," requires a valid Java Runtime Environment (JRE) or Java Development Kit (JDK) version ",Object(c.b)("strong",{parentName:"li"},"8")," or above to execute."),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"System Memory"),": ",Object(c.b)("strong",{parentName:"li"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," memory footprint is very little and has no minimum RAM requirements."),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Disk"),": 2.5Mo on the disk are required for the ",Object(c.b)("strong",{parentName:"li"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," installation itself. In addition to that, additional disk space will be used for your local Nuts workspace. The size of your local workspace will vary depending on usage but expect at least 500MB."),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Operating System"),": ",Object(c.b)("strong",{parentName:"li"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," is able to run on any java enabled Operating System including all recent versions of Windows, Linux and MacOS.")),Object(c.b)("p",null,"To check if you have a valid java installation type"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-bash"}),"java -version\n")),Object(c.b)("p",null,"The result would be equivalent to the following. Just be sure the version is 1.8 or over. In this example,\nthe java version is 13.0.1"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-bash"}),'$> java -version\njava version "13.0.1" 2019-10-15\nJava(TM) SE Runtime Environment (build 13.0.1+9)\nJava HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)\n')),Object(c.b)("h2",{id:"installation"},"Installation"),Object(c.b)(d,{defaultValue:"linux",values:[{label:"Linux",value:"linux"},{label:"MacOS",value:"macos"},{label:"Windows",value:"windows"},{label:"*NIX wget",value:"wget"},{label:"*NIX curl",value:"curl"},{label:"Any Java enabled OS",value:"java"}],mdxType:"Tabs"},Object(c.b)(j,{value:"windows",mdxType:"TabItem"},Object(c.b)("p",null,"download ",Object(c.b)("a",Object(n.a)({parentName:"p"},{href:"https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.0/nuts-0.7.0.jar"}),"nuts-0.7.0.jar")),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{}),"java -jar -y nuts-0.7.0.jar\n")),Object(c.b)("p",null,"On Windows systems, first launch will create a new ",Object(c.b)("strong",{parentName:"p"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," Menu (under Programs) and a couple of Desktop shortcuts to launch a configured command terminal."),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"nuts-cmd-0.7.0")," : this shortcut will open a configured command terminal. ",Object(c.b)("strong",{parentName:"li"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," command will be available as well\nas several nuts companion tools installed by ",Object(c.b)("strong",{parentName:"li"},"ndi")," by default"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"nuts-cmd")," : this shortcut will point to the last installed ",Object(c.b)("strong",{parentName:"li"},"nuts")," version, here 0.7.0 ")),Object(c.b)("p",null,"Any of these shortcuts will launch a nuts-aware terminal."),Object(c.b)("p",null,"Supported Windows systems include Window 7 and later."),Object(c.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(c.b)("h5",{parentName:"div"},Object(c.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(c.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(c.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})))),"tip")),Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(c.b)("p",{parentName:"div"},"Any of the created shortcuts for windows is a nuts-aware terminal.")))),Object(c.b)(j,{value:"linux",mdxType:"TabItem"},Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{}),"NDVER=0.7.0 && curl -OL https://github.com/thevpc/vpc-public-maven/raw/master\\\n/net/vpc/app/nuts/nuts/$NDVER/nuts-$NDVER.jar && java -jar \\\n nuts-$NDVER.jar -zy\n")),Object(c.b)("p",null,'Linux Systems installation is based on bash shell. First launch will configure "~/.bashrc" so that ',Object(c.b)("strong",{parentName:"p"},"nuts")," and other companion tool commands will be available in any future terminal instances.\nUsing ",Object(c.b)("strong",{parentName:"p"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," on unix-like system should be seamless. A simple bash terminal (Gnome Terminal, KDE Konsole,...) is already a nuts-aware terminal."),Object(c.b)("p",null,"All Linux versions and distributions should work with or without XWindow (or equivalent). Graphical system is required only if you plan to run a gui application using ",Object(c.b)("strong",{parentName:"p"},"nuts"),".\nAll tests where performed on OpenSuse Tumbleweed."),Object(c.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(c.b)("h5",{parentName:"div"},Object(c.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(c.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(c.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})))),"tip")),Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(c.b)("p",{parentName:"div"},"Any bash terminal application is a nuts-aware terminal.")))),Object(c.b)(j,{value:"macos",mdxType:"TabItem"},Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{}),"NDVER=0.7.0 && curl -OL https://github.com/thevpc/vpc-public-maven/raw/master\\\n/net/vpc/app/nuts/nuts/$NDVER/nuts-$NDVER.jar && java -jar \\\n nuts-$NDVER.jar -y\n")),Object(c.b)("p",null,"MacOS Systems installation is based on ",Object(c.b)("strong",{parentName:"p"},"bash"),' shell. First launch will configure "~/.bashrc" so that ',Object(c.b)("strong",{parentName:"p"},"nuts")," and other companion tool commands will be available in any future terminal instances.\nUsing ",Object(c.b)("strong",{parentName:"p"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," on MacOS system should be seamless. A simple bash terminal (MacOs Terminal App) is already a nuts-aware terminal."),Object(c.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(c.b)("h5",{parentName:"div"},Object(c.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(c.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(c.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})))),"tip")),Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(c.b)("p",{parentName:"div"},"Any bash terminal application is a nuts-aware terminal.")))),Object(c.b)(j,{value:"wget",mdxType:"TabItem"},Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{})," NDVER=0.7.0 && rm -f nuts-$NDVER.jar && wget https://github.com/thevpc/\\\nvpc-public-maven/raw/master/net/vpc/app/nuts/nuts/$NDVER/nuts-$NDVER.jar &&\\\n java -jar nuts-$NDVER.jar -y\n")),Object(c.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(c.b)("h5",{parentName:"div"},Object(c.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(c.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(c.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})))),"tip")),Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(c.b)("p",{parentName:"div"},"Any bash terminal application is a nuts-aware terminal.")))),Object(c.b)(j,{value:"curl",mdxType:"TabItem"},Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{})," NDVER=0.7.0 && curl -OL https://github.com/thevpc/vpc-public-maven/raw/master\\\n/net/vpc/app/nuts/nuts/$NDVER/nuts-$NDVER.jar && java -jar \\\n nuts-$NDVER.jar -y\n")),Object(c.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(c.b)("h5",{parentName:"div"},Object(c.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(c.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(c.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})))),"tip")),Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(c.b)("p",{parentName:"div"},"Any bash terminal application is a nuts-aware terminal.")))),Object(c.b)(j,{value:"java",mdxType:"TabItem"},Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{})," NDVER=0.7.0 && curl -OL https://github.com/thevpc/vpc-public-maven/raw/master\\\n/net/vpc/app/nuts/nuts/$NDVER/nuts-$NDVER.jar && java -jar \\\n nuts-$NDVER.jar -y\n")),Object(c.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(c.b)("h5",{parentName:"div"},Object(c.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(c.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(c.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})))),"tip")),Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(c.b)("p",{parentName:"div"},"Any bash terminal application is a nuts-aware terminal."))))),Object(c.b)("p",null,"Yous should then see some log like the following :"),Object(c.b)("p",null,Object(c.b)("img",{alt:"install-log-example",src:a(151).default})),Object(c.b)("p",null,'As you can see, installation upon first launch, will also trigger installation of other optional programs called "companion tools".\nActually they are recommended helpful tools :'),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"ndi")," which stands for ",Object(c.b)("strong",{parentName:"li"},"Nuts Desktop Integration")," that helps configuring the desktop to better\ninteract with ",Object(c.b)("strong",{parentName:"li"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," by for instance creating shortcuts."),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"nsh")," which stands for ",Object(c.b)("strong",{parentName:"li"},"Nuts Shell")," , a bash compatible shell implementation program that will run equally on linux an windows systems."),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"nadmin")," an administration tool for ",Object(c.b)("strong",{parentName:"li"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," ")),Object(c.b)("div",{className:"admonition admonition-important alert alert--info"},Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(c.b)("h5",{parentName:"div"},Object(c.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(c.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"}),Object(c.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})))),"important")),Object(c.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(c.b)("p",{parentName:"div"},"After installation, you need to restart the terminal application for the configuration to take effet."))),Object(c.b)("h2",{id:"test-installation"},"Test Installation"),Object(c.b)("p",null,"To test installation the simplest way is to open a nuts-aware terminal and type : "),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{}),"nuts --version\n")),Object(c.b)("p",null,"It should show a result in the format : nuts-api-version/nuts-impl-version"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{}),"00.7.0/0.7.0.0\n")),Object(c.b)("h2",{id:"run-a-command"},"Run a command"),Object(c.b)("p",null,"To run a command using ",Object(c.b)("strong",{parentName:"p"},"nuts")," just type"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{}),"nuts \n")),Object(c.b)("p",null,"Several commands are available, and you still be able to run any java and non java application. More info is available in the ",Object(c.b)("strong",{parentName:"p"},Object(c.b)("inlineCode",{parentName:"strong"},"nuts"))," official ",Object(c.b)("a",Object(n.a)({parentName:"p"},{href:"https://github.com/thevpc/nuts/wiki"}),"wiki")," ."))}g.isMDXComponent=!0},118:function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return d}));var n=a(0),i=a.n(n);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function c(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var o=i.a.createContext({}),b=function(e){var t=i.a.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):c(c({},t),e)),a},p=function(e){var t=b(e.components);return i.a.createElement(o.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},u=i.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,r=e.originalType,s=e.parentName,o=l(e,["components","mdxType","originalType","parentName"]),p=b(a),u=n,d=p["".concat(s,".").concat(u)]||p[u]||m[u]||r;return a?i.a.createElement(d,c(c({ref:t},o),{},{components:a})):i.a.createElement(d,c({ref:t},o))}));function d(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var r=a.length,s=new Array(r);s[0]=u;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:n,s[1]=c;for(var o=2;oe===u?u:i,m=()=>s.a.canUseDOM?d(document.documentElement.getAttribute("data-theme")):i,h=e=>{try{localStorage.setItem("theme",d(e))}catch(t){console.error(t)}};var f=()=>{const{siteConfig:{themeConfig:{colorMode:{disableSwitch:e=!1}={}}={}}={}}=Object(o.a)(),[t,a]=Object(n.useState)(m),r=Object(n.useCallback)(()=>{a(i),h(i)},[]),c=Object(n.useCallback)(()=>{a(u),h(u)},[]);return Object(n.useEffect)(()=>{document.documentElement.setAttribute("data-theme",d(t))},[t]),Object(n.useEffect)(()=>{if(!e)try{const e=localStorage.getItem("theme");null!==e&&a(d(e))}catch(t){console.error(t)}},[a]),Object(n.useEffect)(()=>{e||window.matchMedia("(prefers-color-scheme: dark)").addListener(({matches:e})=>{a(e?u:i)})},[]),{isDarkTheme:t===u,setLightTheme:r,setDarkTheme:c}},b=a(136);var v=function(e){const{isDarkTheme:t,setLightTheme:a,setDarkTheme:n}=f();return r.a.createElement(b.a.Provider,{value:{isDarkTheme:t,setLightTheme:a,setDarkTheme:n}},e.children)};var g=()=>{const[e,t]=Object(n.useState)({}),a=Object(n.useCallback)((e,t)=>{try{localStorage.setItem("docusaurus.tab."+e,t)}catch(a){console.error(a)}},[]);return Object(n.useEffect)(()=>{try{const e={};for(let t=0;t{t(t=>({...t,[e]:n})),a(e,n)}}};var p=()=>{const{siteConfig:{themeConfig:{announcementBar:{id:e="annoucement-bar"}={}}={}}={}}=Object(o.a)(),[t,a]=Object(n.useState)(!0);return Object(n.useEffect)(()=>{if(!e)return;const t=localStorage.getItem("docusaurus.announcement.id"),n=e!==t;localStorage.setItem("docusaurus.announcement.id",e),n&&localStorage.setItem("docusaurus.announcement.dismiss","false"),(n||"false"===localStorage.getItem("docusaurus.announcement.dismiss"))&&a(!1)},[]),{isAnnouncementBarClosed:t,closeAnnouncementBar:()=>{localStorage.setItem("docusaurus.announcement.dismiss","true"),a(!0)}}},k=a(125);var E=function(e){const{tabGroupChoices:t,setTabGroupChoices:a}=g(),{isAnnouncementBarClosed:n,closeAnnouncementBar:c}=p();return r.a.createElement(k.a.Provider,{value:{tabGroupChoices:t,setTabGroupChoices:a,isAnnouncementBarClosed:n,closeAnnouncementBar:c}},e.children)},O=a(126),y=a(51),_=a.n(y);var j=function(){const{siteConfig:{themeConfig:{announcementBar:e={}}={}}={}}=Object(o.a)(),{content:t,backgroundColor:a,textColor:n}=e,{isAnnouncementBarClosed:c,closeAnnouncementBar:l}=Object(O.a)();return!t||c?null:r.a.createElement("div",{className:_.a.announcementBar,style:{backgroundColor:a,color:n},role:"banner"},r.a.createElement("div",{className:_.a.announcementBarContent,dangerouslySetInnerHTML:{__html:t}}),r.a.createElement("button",{type:"button",className:_.a.announcementBarClose,onClick:l,"aria-label":"Close"},r.a.createElement("span",{"aria-hidden":"true"},"\xd7")))},w=a(2),C=a(120),N=a(121),S=()=>null,T=a(144),x=a.n(T),L=a(52),I=a.n(L);const B=({icon:e,style:t})=>r.a.createElement("span",{className:Object(C.a)(I.a.toggle,I.a.dark),style:t},e),M=({icon:e,style:t})=>r.a.createElement("span",{className:Object(C.a)(I.a.toggle,I.a.light),style:t},e);var D=function(e){const{siteConfig:{themeConfig:{colorMode:{switchConfig:{darkIcon:t,darkIconStyle:a,lightIcon:n,lightIconStyle:c}}}},isClient:l}=Object(o.a)();return r.a.createElement(x.a,Object(w.a)({disabled:!l,icons:{checked:r.a.createElement(B,{icon:t,style:a}),unchecked:r.a.createElement(M,{icon:n,style:c})}},e))},P=a(127),A=a(128);var V=function(e){const[t,a]=Object(n.useState)(e);return Object(n.useEffect)(()=>{const e=()=>a(window.location.hash);return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]),[t,a]},X=a(137);var F=e=>{const[t,a]=Object(n.useState)(!0),[r,c]=Object(n.useState)(!1),[o,l]=Object(n.useState)(0),[s,i]=Object(n.useState)(0),u=Object(n.useCallback)(e=>{null!==e&&i(e.getBoundingClientRect().height)},[]),d=Object(A.useLocation)(),[m,h]=V(d.hash);return Object(X.a)(({scrollY:t})=>{if(!e)return;if(0===t&&a(!0),t=o?a(!1):t+i{e&&(a(!0),h(d.hash))},[d]),Object(n.useEffect)(()=>{e&&m&&c(!0)},[m]),{navbarRef:u,isNavbarVisible:t}},U=a(138),H=a(139),R=a(140),G=a(53),Y=a.n(G);function W({activeBasePath:e,activeBaseRegex:t,to:a,href:n,label:c,activeClassName:o="navbar__link--active",prependBaseUrlToHref:s,...i}){const u=Object(l.a)(a),d=Object(l.a)(e),m=Object(l.a)(n,{forcePrependBaseUrl:!0});return r.a.createElement(N.a,Object(w.a)({},n?{target:"_blank",rel:"noopener noreferrer",href:s?m:n}:{isNavLink:!0,activeClassName:o,to:u,...e||t?{isActive:(e,a)=>t?new RegExp(t).test(a.pathname):a.pathname.startsWith(d)}:null},i),c)}function $({items:e,position:t,className:a,...n}){const c=(e,t=!1)=>Object(C.a)({"navbar__item navbar__link":!t,dropdown__link:t},e);return e?r.a.createElement("div",{className:Object(C.a)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--left":"left"===t,"dropdown--right":"right"===t})},r.a.createElement(W,Object(w.a)({className:c(a)},n,{onClick:n.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{function t(){e.target.parentNode.classList.toggle("dropdown--show")}"Enter"!==e.key||n.to||t(),"Tab"===e.key&&t()}}),n.label),r.a.createElement("ul",{className:"dropdown__menu"},e.map(({className:e,...t},a)=>r.a.createElement("li",{key:a},r.a.createElement(W,Object(w.a)({activeClassName:"dropdown__link--active",className:c(e,!0)},t)))))):r.a.createElement(W,Object(w.a)({className:c(a)},n))}function z({items:e,position:t,className:a,...n}){const c=(e,t=!1)=>Object(C.a)("menu__link",{"menu__link--sublist":t},e);return e?r.a.createElement("li",{className:"menu__list-item"},r.a.createElement(W,Object(w.a)({className:c(a,!0)},n),n.label),r.a.createElement("ul",{className:"menu__list"},e.map(({className:e,...t},a)=>r.a.createElement("li",{className:"menu__list-item",key:a},r.a.createElement(W,Object(w.a)({activeClassName:"menu__link--active",className:c(e)},t,{onClick:n.onClick})))))):r.a.createElement("li",{className:"menu__list-item"},r.a.createElement(W,Object(w.a)({className:c(a)},n)))}var J=function({mobile:e=!1,...t}){const a=e?z:$;return r.a.createElement(a,t)},K=a(130);const q=(e,t)=>"next"===e.name?t:e.name,Q=e=>e.docs.find(t=>t.id===e.mainDocId);const Z={default:J,docsVersion:function({label:e,to:t,docsPluginId:a,nextVersionLabel:n,...c}){const o=Object(K.useActiveVersion)(a),l=Object(K.useLatestVersion)(a),s=null!=o?o:l,i=null!=e?e:((e,t)=>"next"===e.name?t:e.name)(s,n),u=null!=t?t:(e=>e.docs.find(t=>t.id===e.mainDocId))(s).path;return r.a.createElement(J,Object(w.a)({},c,{label:i,to:u}))},docsVersionDropdown:function({mobile:e,docsPluginId:t,nextVersionLabel:a,...n}){var c;const o=Object(K.useActiveDocContext)(t),l=Object(K.useVersions)(t),s=Object(K.useLatestVersion)(t),i=l.map(e=>{const t=(null==o?void 0:o.alternateDocVersions[e.name])||Q(e);return{isNavLink:!0,label:q(e,a),to:t.path,isActive:()=>e===(null==o?void 0:o.activeVersion)}}),u=null!==(c=o.activeVersion)&&void 0!==c?c:s,d=e?"Versions":q(u,a),m=e?void 0:Q(u).path;return r.a.createElement(J,Object(w.a)({},n,{mobile:e,label:d,to:m,items:i}))}};function ee({type:e,...t}){const a=((e="default")=>{const t=Z[e];if(!t)throw new Error(`No NavbarItem component found for type=${e}.`);return t})(e);return r.a.createElement(a,t)}var te=function(){const{siteConfig:{themeConfig:{navbar:{title:e="",items:t=[],hideOnScroll:a=!1}={},colorMode:{disableSwitch:c=!1}={}}},isClient:l}=Object(o.a)(),[s,i]=Object(n.useState)(!1),[u,d]=Object(n.useState)(!1),{isDarkTheme:m,setLightTheme:h,setDarkTheme:f}=Object(P.a)(),{navbarRef:b,isNavbarVisible:v}=F(a),{logoLink:g,logoLinkProps:p,logoImageUrl:k,logoAlt:E}=Object(R.a)();Object(U.a)(s);const O=Object(n.useCallback)(()=>{i(!0)},[i]),y=Object(n.useCallback)(()=>{i(!1)},[i]),_=Object(n.useCallback)(e=>e.target.checked?f():h(),[h,f]),j=Object(H.a)();Object(n.useEffect)(()=>{j===H.b.desktop&&i(!1)},[j]);const{leftItems:T,rightItems:x}=function(e){return{leftItems:e.filter(e=>{var t;return"left"===(null!==(t=e.position)&&void 0!==t?t:"right")}),rightItems:e.filter(e=>{var t;return"right"===(null!==(t=e.position)&&void 0!==t?t:"right")})}}(t);return r.a.createElement("nav",{ref:b,className:Object(C.a)("navbar","navbar--light","navbar--fixed-top",{"navbar-sidebar--show":s,[Y.a.navbarHideable]:a,[Y.a.navbarHidden]:!v})},r.a.createElement("div",{className:"navbar__inner"},r.a.createElement("div",{className:"navbar__items"},null!=t&&0!==t.length&&r.a.createElement("div",{"aria-label":"Navigation bar toggle",className:"navbar__toggle",role:"button",tabIndex:0,onClick:O,onKeyDown:O},r.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",role:"img",focusable:"false"},r.a.createElement("title",null,"Menu"),r.a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))),r.a.createElement(N.a,Object(w.a)({className:"navbar__brand",to:g},p),null!=k&&r.a.createElement("img",{key:l,className:"navbar__logo",src:k,alt:E}),null!=e&&r.a.createElement("strong",{className:Object(C.a)("navbar__title",{[Y.a.hideLogoText]:u})},e)),T.map((e,t)=>r.a.createElement(ee,Object(w.a)({},e,{key:t})))),r.a.createElement("div",{className:"navbar__items navbar__items--right"},x.map((e,t)=>r.a.createElement(ee,Object(w.a)({},e,{key:t}))),!c&&r.a.createElement(D,{className:Y.a.displayOnlyInLargeViewport,"aria-label":"Dark mode toggle",checked:m,onChange:_}),r.a.createElement(S,{handleSearchBarToggle:d,isSearchBarExpanded:u}))),r.a.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:y}),r.a.createElement("div",{className:"navbar-sidebar"},r.a.createElement("div",{className:"navbar-sidebar__brand"},r.a.createElement(N.a,Object(w.a)({className:"navbar__brand",onClick:y,to:g},p),null!=k&&r.a.createElement("img",{key:l,className:"navbar__logo",src:k,alt:E}),null!=e&&r.a.createElement("strong",{className:"navbar__title"},e)),!c&&s&&r.a.createElement(D,{"aria-label":"Dark mode toggle in sidebar",checked:m,onChange:_})),r.a.createElement("div",{className:"navbar-sidebar__items"},r.a.createElement("div",{className:"menu"},r.a.createElement("ul",{className:"menu__list"},t.map((e,t)=>r.a.createElement(ee,Object(w.a)({mobile:!0},e,{onClick:y,key:t}))))))))},ae=a(54),ne=a.n(ae);function re({to:e,href:t,label:a,prependBaseUrlToHref:n,...c}){const o=Object(l.a)(e),s=Object(l.a)(t,{forcePrependBaseUrl:!0});return r.a.createElement(N.a,Object(w.a)({className:"footer__link-item"},t?{target:"_blank",rel:"noopener noreferrer",href:n?s:t}:{to:o},c),a)}const ce=({url:e,alt:t})=>r.a.createElement("img",{className:"footer__logo",alt:t,src:e});var oe=function(){const e=Object(o.a)(),{siteConfig:t={}}=e,{themeConfig:a={}}=t,{footer:n}=a,{copyright:c,links:s=[],logo:i={}}=n||{},u=Object(l.a)(i.src);return n?r.a.createElement("footer",{className:Object(C.a)("footer",{"footer--dark":"dark"===n.style})},r.a.createElement("div",{className:"container"},s&&s.length>0&&r.a.createElement("div",{className:"row footer__links"},s.map((e,t)=>r.a.createElement("div",{key:t,className:"col footer__col"},null!=e.title?r.a.createElement("h4",{className:"footer__title"},e.title):null,null!=e.items&&Array.isArray(e.items)&&e.items.length>0?r.a.createElement("ul",{className:"footer__items"},e.items.map((e,t)=>e.html?r.a.createElement("li",{key:t,className:"footer__item",dangerouslySetInnerHTML:{__html:e.html}}):r.a.createElement("li",{key:e.href||e.to,className:"footer__item"},r.a.createElement(re,e)))):null))),(i||c)&&r.a.createElement("div",{className:"text--center"},i&&i.src&&r.a.createElement("div",{className:"margin-bottom--sm"},i.href?r.a.createElement("a",{href:i.href,target:"_blank",rel:"noopener noreferrer",className:ne.a.footerLogoLink},r.a.createElement(ce,{alt:i.alt,url:u})):r.a.createElement(ce,{alt:i.alt,url:u})),r.a.createElement("div",{dangerouslySetInnerHTML:{__html:c}})))):null};a(55);function le({children:e}){return r.a.createElement(v,null,r.a.createElement(E,null,e))}t.a=function(e){const{siteConfig:t={}}=Object(o.a)(),{favicon:a,title:n,themeConfig:{image:s},url:i}=t,{children:u,title:d,noFooter:m,description:h,image:f,keywords:b,permalink:v,version:g}=e,p=d?`${d} | ${n}`:n,k=f||s,E=Object(l.a)(k,{absolute:!0}),O=Object(l.a)(a);return r.a.createElement(le,null,r.a.createElement(c.a,null,r.a.createElement("html",{lang:"en"}),p&&r.a.createElement("title",null,p),p&&r.a.createElement("meta",{property:"og:title",content:p}),a&&r.a.createElement("link",{rel:"shortcut icon",href:O}),h&&r.a.createElement("meta",{name:"description",content:h}),h&&r.a.createElement("meta",{property:"og:description",content:h}),g&&r.a.createElement("meta",{name:"docsearch:version",content:g}),b&&b.length&&r.a.createElement("meta",{name:"keywords",content:b.join(",")}),k&&r.a.createElement("meta",{property:"og:image",content:E}),k&&r.a.createElement("meta",{property:"twitter:image",content:E}),k&&r.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+p}),v&&r.a.createElement("meta",{property:"og:url",content:i+v}),v&&r.a.createElement("link",{rel:"canonical",href:i+v}),r.a.createElement("meta",{name:"twitter:card",content:"summary_large_image"})),r.a.createElement(j,null),r.a.createElement(te,null),r.a.createElement("div",{className:"main-wrapper"},u),!m&&r.a.createElement(oe,null))}},125:function(e,t,a){"use strict";var n=a(0);const r=Object(n.createContext)(void 0);t.a=r},126:function(e,t,a){"use strict";var n=a(0),r=a(125);t.a=function(){const e=Object(n.useContext)(r.a);if(null==e)throw new Error("`useUserPreferencesContext` is used outside of `Layout` Component.");return e}},127:function(e,t,a){"use strict";var n=a(0),r=a(136);t.a=function(){const e=Object(n.useContext)(r.a);if(null==e)throw new Error("`useThemeContext` is used outside of `Layout` Component. See https://v2.docusaurus.io/docs/theme-classic#usethemecontext.");return e}},136:function(e,t,a){"use strict";var n=a(0);const r=a.n(n).a.createContext(void 0);t.a=r},137:function(e,t,a){"use strict";var n=a(0),r=a(10);const c=()=>({scrollX:r.a.canUseDOM?window.pageXOffset:0,scrollY:r.a.canUseDOM?window.pageYOffset:0});t.a=(e,t=[])=>{const[a,r]=Object(n.useState)(c()),o=()=>{const t=c();r(t),e&&e(t)};return Object(n.useEffect)(()=>(window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o,{passive:!0})),t),a}},138:function(e,t,a){"use strict";var n=a(0);t.a=function(e=!0){Object(n.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}},139:function(e,t,a){"use strict";a.d(t,"b",(function(){return r}));var n=a(0);const r={desktop:"desktop",mobile:"mobile"};t.a=function(){const e="undefined"!=typeof window;function t(){if(e)return window.innerWidth>996?r.desktop:r.mobile}const[a,c]=Object(n.useState)(t);return Object(n.useEffect)(()=>{if(e)return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a);function a(){c(t())}},[]),a}},140:function(e,t,a){"use strict";var n=a(119),r=a(127),c=a(122),o=a(124);t.a=()=>{const{siteConfig:{themeConfig:{navbar:{logo:e={}}={}}={}}={}}=Object(n.a)(),{isDarkTheme:t}=Object(r.a)(),a=Object(c.a)(e.href||"/");let l={};e.target?l={target:e.target}:Object(o.a)(a)||(l={rel:"noopener noreferrer",target:"_blank"});const s=e.srcDark&&t?e.srcDark:e.src;return{logoLink:a,logoLinkProps:l,logoImageUrl:Object(c.a)(s),logoAlt:e.alt}}},144:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;tthis.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=ta?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-4=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}(t,["className","icons"])),c=(0,l.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},a);return o.default.createElement("div",{className:c,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},o.default.createElement("div",{className:"react-toggle-track"},o.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),o.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),o.default.createElement("div",{className:"react-toggle-thumb"}),o.default.createElement("input",n({},r,{ref:function(t){e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),t}(c.PureComponent);t.default=h,h.displayName="Toggle",h.defaultProps={icons:{checked:o.default.createElement(i.default,null),unchecked:o.default.createElement(u.default,null)}},h.propTypes={checked:s.default.bool,disabled:s.default.bool,defaultChecked:s.default.bool,onChange:s.default.func,onFocus:s.default.func,onBlur:s.default.func,className:s.default.string,name:s.default.string,value:s.default.string,id:s.default.string,"aria-labelledby":s.default.string,"aria-label":s.default.string,icons:s.default.oneOfType([s.default.bool,s.default.shape({checked:s.default.node,unchecked:s.default.node})])}},145:function(e,t,a){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t0){var a=t[0];return{x:a.clientX,y:a.clientY}}var n=e.pageX;if(void 0!==n)return{x:n,y:e.pageY}}return{x:0,y:0}}}}]); \ No newline at end of file diff --git a/docs/2.c7b468f6.js.LICENSE.txt b/docs/2.c7b468f6.js.LICENSE.txt new file mode 100644 index 000000000..bae6dd8e2 --- /dev/null +++ b/docs/2.c7b468f6.js.LICENSE.txt @@ -0,0 +1,5 @@ +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ diff --git a/docs/25554f14.9542a850.js b/docs/25554f14.9542a850.js new file mode 100644 index 000000000..d6d742faf --- /dev/null +++ b/docs/25554f14.9542a850.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{118:function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return O}));var c=a(0),n=a.n(c);function s(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,c)}return a}function o(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(c=0;c=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var b=n.a.createContext({}),l=function(e){var t=n.a.useContext(b),a=t;return e&&(a="function"==typeof e?e(t):o(o({},t),e)),a},i=function(e){var t=l(e.components);return n.a.createElement(b.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},j=n.a.forwardRef((function(e,t){var a=e.components,c=e.mdxType,s=e.originalType,r=e.parentName,b=p(e,["components","mdxType","originalType","parentName"]),i=l(a),j=c,O=i["".concat(r,".").concat(j)]||i[j]||u[j]||s;return a?n.a.createElement(O,o(o({ref:t},b),{},{components:a})):n.a.createElement(O,o({ref:t},b))}));function O(e,t){var a=arguments,c=t&&t.mdxType;if("string"==typeof e||c){var s=a.length,r=new Array(s);r[0]=j;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:c,r[1]=o;for(var b=2;b","(cause==null ? null : cause.toString())\\","\n(which typically contains the class and detail message of\n\\","cause\\","). This constructor is useful for runtime exceptions\nthat are little more than wrappers for other throwables."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsElementNotFoundException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : the cause (which is saved for later retrieval by the\n{@link #getCause()} method). (A ",Object(s.b)("tt",null,"null")," value is\npermitted, and indicates that the cause is nonexistent or\nunknown.)")),Object(s.b)("h4",{id:"\ud83e\ude84-nutselementnotfoundexceptionworkspace-message"},"\ud83e\ude84 NutsElementNotFoundException(workspace, message)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified detail message.\nThe cause is not initialized, and may subsequently be initialized by a\ncall to ","{","\\@link #initCause","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsElementNotFoundException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : the detail message. The detail message is saved for\nlater retrieval by the {@link #getMessage()} method.")),Object(s.b)("h4",{id:"\ud83e\ude84-nutselementnotfoundexceptionworkspace-message-cause"},"\ud83e\ude84 NutsElementNotFoundException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified detail message and\ncause. \\","Note that the detail message associated with\n","{","\\@code cause","}"," is \\","not\\"," automatically incorporated in\nthis runtime exception\\'s detail message."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsElementNotFoundException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : the detail message (which is saved for later retrieval\nby the {@link #getMessage()} method)."),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : the cause (which is saved for later retrieval by the\n{@link #getCause()} method). (A ",Object(s.b)("tt",null,"null")," value is\npermitted, and indicates that the cause is nonexistent or\nunknown.)")),Object(s.b)("h4",{id:"\ud83e\ude84-nutselementnotfoundexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsElementNotFoundException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified detail\nmessage, cause, suppression enabled or disabled, and writable\nstack trace enabled or disabled."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsElementNotFoundException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : the detail message."),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : the cause. (A {@code null} value is permitted,\nand indicates that the cause is nonexistent or unknown.)"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled\nor disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should\nbe writable")),Object(s.b)("h2",{id:"-nutsexception"},"\u2615 NutsException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsException\n")),Object(s.b)("p",null," Base Nuts Exception. Parent of all Nuts defined Exceptions.\n\\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-3"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexceptionworkspace"},"\ud83e\ude84 NutsException(workspace)"),Object(s.b)("p",null,"Constructs a new runtime exception with ","{","\\@code null","}"," as its\ndetail message. The cause is not initialized, and may subsequently be\ninitialized by a call to ","{","\\@link #initCause","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexceptionworkspace-cause"},"\ud83e\ude84 NutsException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified cause and a\ndetail message of \\","(cause==null ? null : cause.toString())\\","\n(which typically contains the class and detail message of\n\\","cause\\","). This constructor is useful for runtime exceptions\nthat are little more than wrappers for other throwables."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : the cause (which is saved for later retrieval by the\n{@link #getCause()} method). (A ",Object(s.b)("tt",null,"null")," value is\npermitted, and indicates that the cause is nonexistent or\nunknown.)")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexceptionworkspace-cause-1"},"\ud83e\ude84 NutsException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified cause and a\ndetail message of \\","(cause==null ? null : cause.toString())\\","\n(which typically contains the class and detail message of\n\\","cause\\","). This constructor is useful for runtime exceptions\nthat are little more than wrappers for other throwables."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsException(NutsWorkspace workspace, IOException cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"IOException cause")," : the cause (which is saved for later retrieval by the\n{@link #getCause()} method). (A ",Object(s.b)("tt",null,"null")," value is\npermitted, and indicates that the cause is nonexistent or\nunknown.)")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexceptionworkspace-message"},"\ud83e\ude84 NutsException(workspace, message)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified detail message.\nThe cause is not initialized, and may subsequently be initialized by a\ncall to ","{","\\@link #initCause","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : the detail message. The detail message is saved for\nlater retrieval by the {@link #getMessage()} method.")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexceptionworkspace-message-cause"},"\ud83e\ude84 NutsException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified detail message and\ncause. \\","Note that the detail message associated with\n","{","\\@code cause","}"," is \\","not\\"," automatically incorporated in\nthis runtime exception\\'s detail message."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : the detail message (which is saved for later retrieval\nby the {@link #getMessage()} method)."),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : the cause (which is saved for later retrieval by the\n{@link #getCause()} method). (A ",Object(s.b)("tt",null,"null")," value is\npermitted, and indicates that the cause is nonexistent or\nunknown.)")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified detail\nmessage, cause, suppression enabled or disabled, and writable\nstack trace enabled or disabled."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : the detail message."),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : the cause. (A {@code null} value is permitted,\nand indicates that the cause is nonexistent or unknown.)"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled\nor disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should\nbe writable")),Object(s.b)("h3",{id:"-instance-properties"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-workspace"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(s.b)("p",null,"Returns the workspace of this Nuts Exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(s.b)("h2",{id:"-nutsexecutionexception"},"\u2615 NutsExecutionException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsExecutionException\n")),Object(s.b)("p",null," Standard Execution thrown when an artifact fails to run."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"-constant-fields"},"\ud83d\udce2\u2744 Constant Fields"),Object(s.b)("h4",{id:"-default_error_exit_code"},"\ud83d\udce2\u2744 DEFAULT_ERROR_EXIT_CODE"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public static final int DEFAULT_ERROR_EXIT_CODE = 244\n")),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-4"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexecutionexceptionworkspace"},"\ud83e\ude84 NutsExecutionException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsExecutionException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexecutionexceptionworkspace-exitcode"},"\ud83e\ude84 NutsExecutionException(workspace, exitCode)"),Object(s.b)("p",null,"Constructs a new NutsExecutionException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionException(NutsWorkspace workspace, int exitCode)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"int exitCode")," : exit code")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexecutionexceptionworkspace-cause-exitcode"},"\ud83e\ude84 NutsExecutionException(workspace, cause, exitCode)"),Object(s.b)("p",null,"Constructs a new NutsExecutionException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionException(NutsWorkspace workspace, Throwable cause, int exitCode)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"int exitCode")," : exit code")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexecutionexceptionworkspace-message-cause"},"\ud83e\ude84 NutsExecutionException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsExecutionException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexecutionexceptionworkspace-message-exitcode"},"\ud83e\ude84 NutsExecutionException(workspace, message, exitCode)"),Object(s.b)("p",null,"Constructs a new NutsExecutionException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionException(NutsWorkspace workspace, String message, int exitCode)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"int exitCode")," : exit code")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexecutionexceptionworkspace-message-cause-exitcode"},"\ud83e\ude84 NutsExecutionException(workspace, message, cause, exitCode)"),Object(s.b)("p",null,"Constructs a new NutsExecutionException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionException(NutsWorkspace workspace, String message, Throwable cause, int exitCode)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"int exitCode")," : exit code")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsexecutionexceptionworkspace-message-cause-enablesuppression-writablestacktrace-exitcode"},"\ud83e\ude84 NutsExecutionException(workspace, message, cause, enableSuppression, writableStackTrace, exitCode)"),Object(s.b)("p",null,"Constructs a new NutsExecutionException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, int exitCode)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"int exitCode")," : exit code")),Object(s.b)("h3",{id:"-instance-properties-1"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-exitcode"},"\ud83d\udcc4\ud83c\udf9b exitCode"),Object(s.b)("p",null,"artifact exit code"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public exitCode\npublic int getExitCode()\n")),Object(s.b)("h2",{id:"-nutsextensionalreadyregisteredexception"},"\u2615 NutsExtensionAlreadyRegisteredException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsExtensionAlreadyRegisteredException\n")),Object(s.b)("p",null," Exception thrown when extension is already registered."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-5"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsextensionalreadyregisteredexceptionworkspace-id-installed"},"\ud83e\ude84 NutsExtensionAlreadyRegisteredException(workspace, id, installed)"),Object(s.b)("p",null,"Constructs a new NutsExtensionAlreadyRegisteredException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExtensionAlreadyRegisteredException(NutsWorkspace workspace, String id, String installed)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String installed")," : installed id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsextensionalreadyregisteredexceptionworkspace-id-installed-cause"},"\ud83e\ude84 NutsExtensionAlreadyRegisteredException(workspace, id, installed, cause)"),Object(s.b)("p",null,"Constructs a new NutsExtensionAlreadyRegisteredException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExtensionAlreadyRegisteredException(NutsWorkspace workspace, String id, String installed, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String installed")," : installed id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-installed"},"\ud83d\udcc4\ud83c\udf9b installed"),Object(s.b)("p",null,"registered/installed extension"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public installed\npublic String getInstalled()\n")),Object(s.b)("h2",{id:"-nutsextensionexception"},"\u2615 NutsExtensionException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public abstract net.vpc.app.nuts.NutsExtensionException\n")),Object(s.b)("p",null," Base exception for Extension related exceptions"),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-6"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsextensionexceptionworkspace-extensionid-message-cause"},"\ud83e\ude84 NutsExtensionException(workspace, extensionId, message, cause)"),Object(s.b)("p",null,"Constructs a new runtime exception with the specified detail message and\ncause. \\","Note that the detail message associated with\n","{","\\@code cause","}"," is \\","not\\"," automatically incorporated in\nthis runtime exception\\'s detail message."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExtensionException(NutsWorkspace workspace, String extensionId, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : the workspace of this Nuts Exception"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String extensionId")," : extension id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : the detail message (which is saved for later retrieval\nby the {@link #getMessage()} method). if the message is null, a\ndefault one is provided"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : the cause (which is saved for later retrieval by the\n{@link #getCause()} method). (A ",Object(s.b)("tt",null,"null")," value is\npermitted, and indicates that the cause is nonexistent or\nunknown.)")),Object(s.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-id"},"\ud83d\udcc4\ud83c\udf9b id"),Object(s.b)("p",null,"extension id"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public id\npublic String getId()\n")),Object(s.b)("h2",{id:"-nutsextensionnotfoundexception"},"\u2615 NutsExtensionNotFoundException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsExtensionNotFoundException\n")),Object(s.b)("p",null," Exception thrown when extension could not be resolved."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-7"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsextensionnotfoundexceptionworkspace-missingtype-extensionname"},"\ud83e\ude84 NutsExtensionNotFoundException(workspace, missingType, extensionName)"),Object(s.b)("p",null,"Constructs a new NutsExtensionNotFoundException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsExtensionNotFoundException(NutsWorkspace workspace, Class missingType, String extensionName)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Class missingType")," : missing type"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String extensionName")," : extension name")),Object(s.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-extensionname"},"\ud83d\udcc4\ud83c\udf9b extensionName"),Object(s.b)("p",null,"extension name"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public extensionName\npublic String getExtensionName()\n")),Object(s.b)("h4",{id:"-missingtype"},"\ud83d\udcc4\ud83c\udf9b missingType"),Object(s.b)("p",null,"missing type"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Class public missingType\npublic Class getMissingType()\n")),Object(s.b)("h2",{id:"-nutsfactoryexception"},"\u2615 NutsFactoryException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsFactoryException\n")),Object(s.b)("p",null," Exception thrown when a component cannot be resolved by the factory.\n\\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-8"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsfactoryexceptionworkspace"},"\ud83e\ude84 NutsFactoryException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsFactoryException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsFactoryException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsfactoryexceptionworkspace-cause"},"\ud83e\ude84 NutsFactoryException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsFactoryException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsFactoryException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsfactoryexceptionworkspace-cause-1"},"\ud83e\ude84 NutsFactoryException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsFactoryException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsFactoryException(NutsWorkspace workspace, IOException cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"IOException cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsfactoryexceptionworkspace-message"},"\ud83e\ude84 NutsFactoryException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsFactoryException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsFactoryException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsfactoryexceptionworkspace-message-cause"},"\ud83e\ude84 NutsFactoryException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsFactoryException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsFactoryException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsfactoryexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsFactoryException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsFactoryException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsFactoryException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsfetchmodenotsupportedexception"},"\u2615 NutsFetchModeNotSupportedException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsFetchModeNotSupportedException\n")),Object(s.b)("p",null," Created by vpc on 1/15/17."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-9"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsfetchmodenotsupportedexceptionworkspace-repo-fetchmode-id-message"},"\ud83e\ude84 NutsFetchModeNotSupportedException(workspace, repo, fetchMode, id, message)"),Object(s.b)("p",null,"Constructs a new NutsFetchModeNotSupportedException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchModeNotSupportedException(NutsWorkspace workspace, NutsRepository repo, NutsFetchMode fetchMode, String id, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsRepository repo")," : repository"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsFetchMode fetchMode")," : fetch mode"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsfetchmodenotsupportedexceptionworkspace-repo-fetchmode-id-message-cause"},"\ud83e\ude84 NutsFetchModeNotSupportedException(workspace, repo, fetchMode, id, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsFetchModeNotSupportedException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchModeNotSupportedException(NutsWorkspace workspace, NutsRepository repo, NutsFetchMode fetchMode, String id, String message, Exception cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsRepository repo")," : repository"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsFetchMode fetchMode")," : fetch mode"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception cause")," : cause")),Object(s.b)("h3",{id:"-instance-properties-5"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-fetchmode"},"\ud83d\udcc4\ud83c\udf9b fetchMode"),Object(s.b)("p",null,"fetch mode"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsFetchMode public fetchMode\npublic NutsFetchMode getFetchMode()\n")),Object(s.b)("h4",{id:"-id-1"},"\ud83d\udcc4\ud83c\udf9b id"),Object(s.b)("p",null,"artifact id"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public id\npublic String getId()\n")),Object(s.b)("h4",{id:"-repositoryname"},"\ud83d\udcc4\ud83c\udf9b repositoryName"),Object(s.b)("p",null,"repository name"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public repositoryName\npublic String getRepositoryName()\n")),Object(s.b)("h4",{id:"-repositoryuuid"},"\ud83d\udcc4\ud83c\udf9b repositoryUuid"),Object(s.b)("p",null,"repository uuid"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public repositoryUuid\npublic String getRepositoryUuid()\n")),Object(s.b)("h2",{id:"-nutsillegalargumentexception"},"\u2615 NutsIllegalArgumentException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsIllegalArgumentException\n")),Object(s.b)("p",null," Thrown to indicate that a method has been passed an illegal or inappropriate argument.\n\\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-10"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsillegalargumentexceptionworkspace"},"\ud83e\ude84 NutsIllegalArgumentException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsIllegalArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsIllegalArgumentException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsillegalargumentexceptionworkspace-cause"},"\ud83e\ude84 NutsIllegalArgumentException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsIllegalArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsIllegalArgumentException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsillegalargumentexceptionworkspace-message"},"\ud83e\ude84 NutsIllegalArgumentException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsIllegalArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsIllegalArgumentException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsillegalargumentexceptionworkspace-message-cause"},"\ud83e\ude84 NutsIllegalArgumentException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsIllegalArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsIllegalArgumentException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsillegalargumentexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsIllegalArgumentException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsIllegalArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsIllegalArgumentException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsinstallexception"},"\u2615 NutsInstallException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsInstallException\n")),Object(s.b)("p",null," Created by vpc on 1/15/17."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-11"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsinstallexceptionworkspace-id"},"\ud83e\ude84 NutsInstallException(workspace, id)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallException(NutsWorkspace workspace, NutsId id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : nuts id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsinstallexceptionworkspace-id-1"},"\ud83e\ude84 NutsInstallException(workspace, id)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallException(NutsWorkspace workspace, String id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : nuts id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsinstallexceptionworkspace-id-msg-ex"},"\ud83e\ude84 NutsInstallException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : nuts id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsinstallexceptionworkspace-id-msg-ex-1"},"\ud83e\ude84 NutsInstallException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallException(NutsWorkspace workspace, String id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : nuts id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h2",{id:"-nutsinstallationexception"},"\u2615 NutsInstallationException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public abstract net.vpc.app.nuts.NutsInstallationException\n")),Object(s.b)("p",null," Base exception for installation fails."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-12"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsinstallationexceptionworkspace-id-msg-ex"},"\ud83e\ude84 NutsInstallationException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallationException(NutsWorkspace workspace, String id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : nuts id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsinstallationexceptionworkspace-id-msg-ex-1"},"\ud83e\ude84 NutsInstallationException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallationException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : nuts id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h3",{id:"-instance-properties-6"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-id-2"},"\ud83d\udcc4\ud83c\udf9b id"),Object(s.b)("p",null,"nuts id"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public id\npublic String getId()\n")),Object(s.b)("h2",{id:"-nutsinvalidrepositoryexception"},"\u2615 NutsInvalidRepositoryException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsInvalidRepositoryException\n")),Object(s.b)("p",null," This Exception is thrown when the repository fails to initialize."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-13"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsinvalidrepositoryexceptionworkspace-repository-message"},"\ud83e\ude84 NutsInvalidRepositoryException(workspace, repository, message)"),Object(s.b)("p",null,"Constructs a new NutsInvalidRepositoryException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsInvalidRepositoryException(NutsWorkspace workspace, String repository, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String repository")," : repository"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h2",{id:"-nutsinvalidworkspaceexception"},"\u2615 NutsInvalidWorkspaceException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsInvalidWorkspaceException\n")),Object(s.b)("p",null," This Exception is thrown when the workspace fails to initialize."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-14"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsinvalidworkspaceexceptionworkspace-workspacelocation-errormessage"},"\ud83e\ude84 NutsInvalidWorkspaceException(workspace, workspaceLocation, errorMessage)"),Object(s.b)("p",null,"Constructs a new NutsInvalidWorkspaceException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsInvalidWorkspaceException(NutsWorkspace workspace, String workspaceLocation, String errorMessage)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String workspaceLocation")," : workspaceLocation"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String errorMessage")," : errorMessage")),Object(s.b)("h3",{id:"-instance-properties-7"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-workspacelocation"},"\ud83d\udcc4\ud83c\udf9b workspaceLocation"),Object(s.b)("p",null,"workspace location"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public workspaceLocation\npublic String getWorkspaceLocation()\n")),Object(s.b)("h2",{id:"-nutslockacquireexception"},"\u2615 NutsLockAcquireException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsLockAcquireException\n")),Object(s.b)("p",null," Exception Thrown when a locked object is invoked.\n\\@author vpc\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-15"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockacquireexceptionworkspace-lockedobject-lockobject"},"\ud83e\ude84 NutsLockAcquireException(workspace, lockedObject, lockObject)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockAcquireException(NutsWorkspace workspace, Object lockedObject, Object lockObject)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object")),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockacquireexceptionworkspace-message-lockedobject-lockobject"},"\ud83e\ude84 NutsLockAcquireException(workspace, message, lockedObject, lockObject)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockAcquireException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message or null"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object")),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockacquireexceptionworkspace-message-lockedobject-lockobject-cause"},"\ud83e\ude84 NutsLockAcquireException(workspace, message, lockedObject, lockObject, cause)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockAcquireException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message or null"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h2",{id:"-nutslockbarrierexception"},"\u2615 NutsLockBarrierException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsLockBarrierException\n")),Object(s.b)("p",null," Exception Thrown when a locked object is invoked.\n\\@author vpc\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-16"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockbarrierexceptionworkspace-lockedobject-lockobject"},"\ud83e\ude84 NutsLockBarrierException(workspace, lockedObject, lockObject)"),Object(s.b)("p",null,"Constructs a new lock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockBarrierException(NutsWorkspace workspace, Object lockedObject, Object lockObject)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object")),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockbarrierexceptionworkspace-message-lockedobject-lockobject"},"\ud83e\ude84 NutsLockBarrierException(workspace, message, lockedObject, lockObject)"),Object(s.b)("p",null,"Constructs a new lock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockBarrierException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message or null"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object")),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockbarrierexceptionworkspace-message-lockedobject-lockobject-cause"},"\ud83e\ude84 NutsLockBarrierException(workspace, message, lockedObject, lockObject, cause)"),Object(s.b)("p",null,"Constructs a new lock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockBarrierException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message or null"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h2",{id:"-nutslockexception"},"\u2615 NutsLockException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsLockException\n")),Object(s.b)("p",null," Exception Thrown when a locked object is invoked.\n\\@author vpc\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-17"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockexceptionworkspace-lockedobject-lockobject"},"\ud83e\ude84 NutsLockException(workspace, lockedObject, lockObject)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockException(NutsWorkspace workspace, Object lockedObject, Object lockObject)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object")),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockexceptionworkspace-message-lockedobject-lockobject"},"\ud83e\ude84 NutsLockException(workspace, message, lockedObject, lockObject)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message or null"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object")),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockexceptionworkspace-message-lockedobject-lockobject-cause"},"\ud83e\ude84 NutsLockException(workspace, message, lockedObject, lockObject, cause)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message or null"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h3",{id:"-instance-properties-8"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-lockobject"},"\ud83d\udcc4\ud83c\udf9b lockObject"),Object(s.b)("p",null,"return lock object"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public lockObject\npublic Object getLockObject()\n")),Object(s.b)("h4",{id:"-lockedobject"},"\ud83d\udcc4\ud83c\udf9b lockedObject"),Object(s.b)("p",null,"return locked object"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public lockedObject\npublic Object getLockedObject()\n")),Object(s.b)("h2",{id:"-nutslockreleaseexception"},"\u2615 NutsLockReleaseException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsLockReleaseException\n")),Object(s.b)("p",null," Exception Thrown when a locked object is invoked.\n\\@author vpc\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-18"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockreleaseexceptionworkspace-lockedobject-lockobject"},"\ud83e\ude84 NutsLockReleaseException(workspace, lockedObject, lockObject)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockReleaseException(NutsWorkspace workspace, Object lockedObject, Object lockObject)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object")),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockreleaseexceptionworkspace-message-lockedobject-lockobject"},"\ud83e\ude84 NutsLockReleaseException(workspace, message, lockedObject, lockObject)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockReleaseException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message or null"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object")),Object(s.b)("h4",{id:"\ud83e\ude84-nutslockreleaseexceptionworkspace-message-lockedobject-lockobject-cause"},"\ud83e\ude84 NutsLockReleaseException(workspace, message, lockedObject, lockObject, cause)"),Object(s.b)("p",null,"Constructs a new ock exception."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLockReleaseException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message or null"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockedObject")," : locked Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Object lockObject")," : lock Object"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h2",{id:"-nutsloginexception"},"\u2615 NutsLoginException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsLoginException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-19"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsloginexceptionworkspace"},"\ud83e\ude84 NutsLoginException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsLoginException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLoginException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsloginexceptionworkspace-cause"},"\ud83e\ude84 NutsLoginException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsLoginException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLoginException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsloginexceptionworkspace-message"},"\ud83e\ude84 NutsLoginException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsLoginException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLoginException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsloginexceptionworkspace-message-cause"},"\ud83e\ude84 NutsLoginException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsLoginException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLoginException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsloginexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsLoginException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsLoginException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsLoginException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsnotexecutableexception"},"\u2615 NutsNotExecutableException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsNotExecutableException\n")),Object(s.b)("p",null," Exception thrown when a non executable nuts id is requested to run."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-20"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotexecutableexceptionworkspace-id"},"\ud83e\ude84 NutsNotExecutableException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsNotExecutableException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotExecutableException(NutsWorkspace workspace, NutsId id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotexecutableexceptionworkspace-id-1"},"\ud83e\ude84 NutsNotExecutableException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsNotExecutableException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotExecutableException(NutsWorkspace workspace, String id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id")),Object(s.b)("h3",{id:"-instance-properties-9"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-id-3"},"\ud83d\udcc4\ud83c\udf9b id"),Object(s.b)("p",null,"artifact id"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public id\npublic String getId()\n")),Object(s.b)("h2",{id:"-nutsnotfoundexception"},"\u2615 NutsNotFoundException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsNotFoundException\n")),Object(s.b)("p",null," Exception thrown when the package could not be resolved"),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-21"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotfoundexceptionworkspace-id"},"\ud83e\ude84 NutsNotFoundException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsNotFoundException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotFoundException(NutsWorkspace workspace, NutsId id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotfoundexceptionworkspace-id-1"},"\ud83e\ude84 NutsNotFoundException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsNotFoundException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotFoundException(NutsWorkspace workspace, String id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotfoundexceptionworkspace-id-cause"},"\ud83e\ude84 NutsNotFoundException(workspace, id, cause)"),Object(s.b)("p",null,"Constructs a new NutsNotFoundException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotFoundException(NutsWorkspace workspace, NutsId id, Exception cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotfoundexceptionworkspace-id-message-cause"},"\ud83e\ude84 NutsNotFoundException(workspace, id, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsNotFoundException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotFoundException(NutsWorkspace workspace, String id, String message, Exception cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotfoundexceptionworkspace-id-message-cause-1"},"\ud83e\ude84 NutsNotFoundException(workspace, id, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsNotFoundException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotFoundException(NutsWorkspace workspace, NutsId id, String message, Exception cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception cause")," : cause")),Object(s.b)("h3",{id:"-instance-properties-10"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-id-4"},"\ud83d\udcc4\ud83c\udf9b id"),Object(s.b)("p",null,"artifact id"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public id\npublic String getId()\n")),Object(s.b)("h2",{id:"-nutsnotinstallableexception"},"\u2615 NutsNotInstallableException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsNotInstallableException\n")),Object(s.b)("p",null," This exception is thrown when an artifact fails to be installed."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-22"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotinstallableexceptionworkspace-id"},"\ud83e\ude84 NutsNotInstallableException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsNotInstallableException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotInstallableException(NutsWorkspace workspace, NutsId id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotinstallableexceptionworkspace-id-1"},"\ud83e\ude84 NutsNotInstallableException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsNotInstallableException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotInstallableException(NutsWorkspace workspace, String id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotinstallableexceptionworkspace-id-msg-ex"},"\ud83e\ude84 NutsNotInstallableException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Constructs a new NutsNotInstallableException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotInstallableException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotinstallableexceptionworkspace-id-msg-ex-1"},"\ud83e\ude84 NutsNotInstallableException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Constructs a new NutsNotInstallableException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotInstallableException(NutsWorkspace workspace, String id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h2",{id:"-nutsnotinstalledexception"},"\u2615 NutsNotInstalledException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsNotInstalledException\n")),Object(s.b)("p",null," This Exception is fired when an artifact fails to be uninstalled for the artifact not being installed yet."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-23"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotinstalledexceptionworkspace-id"},"\ud83e\ude84 NutsNotInstalledException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsNotInstalledException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotInstalledException(NutsWorkspace workspace, NutsId id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotinstalledexceptionworkspace-id-1"},"\ud83e\ude84 NutsNotInstalledException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsNotInstalledException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotInstalledException(NutsWorkspace workspace, String id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotinstalledexceptionworkspace-id-msg-ex"},"\ud83e\ude84 NutsNotInstalledException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Constructs a new NutsNotInstalledException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotInstalledException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : error")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsnotinstalledexceptionworkspace-id-msg-ex-1"},"\ud83e\ude84 NutsNotInstalledException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Constructs a new NutsNotInstalledException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsNotInstalledException(NutsWorkspace workspace, String id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h2",{id:"-nutsparseenumexception"},"\u2615 NutsParseEnumException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsParseEnumException\n")),Object(s.b)("p",null," Exception Thrown when for any reason, the enum value is not expected/supported.\n\\@author vpc\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-24"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsparseenumexceptionworkspace-invalidvalue-enumtype"},"\ud83e\ude84 NutsParseEnumException(workspace, invalidValue, enumType)"),Object(s.b)("p",null,"create new instance of NutsUnexpectedEnumException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsParseEnumException(NutsWorkspace workspace, String invalidValue, Class enumType)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String invalidValue")," : invalid value"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Class enumType")," : enumeration instance (cannot be null)")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsparseenumexceptionworkspace-message-invalidvalue-enumtype"},"\ud83e\ude84 NutsParseEnumException(workspace, message, invalidValue, enumType)"),Object(s.b)("p",null,"create new instance of NutsUnexpectedEnumException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsParseEnumException(NutsWorkspace workspace, String message, String invalidValue, Class enumType)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String invalidValue")," : invalid value"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Class enumType")," : enumeration instance (cannot be null)")),Object(s.b)("h3",{id:"-instance-properties-11"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-enumtype"},"\ud83d\udcc4\ud83c\udf9b enumType"),Object(s.b)("p",null,"enum type"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Class public enumType\npublic Class getEnumType()\n")),Object(s.b)("h4",{id:"-invalidvalue"},"\ud83d\udcc4\ud83c\udf9b invalidValue"),Object(s.b)("p",null,"return invalid value"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public invalidValue\npublic String getInvalidValue()\n")),Object(s.b)("h2",{id:"-nutsparseexception"},"\u2615 NutsParseException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsParseException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-25"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsparseexceptionworkspace"},"\ud83e\ude84 NutsParseException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsParseException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsParseException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsparseexceptionworkspace-cause"},"\ud83e\ude84 NutsParseException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsParseException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsParseException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsparseexceptionworkspace-message"},"\ud83e\ude84 NutsParseException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsParseException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsParseException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsparseexceptionworkspace-message-cause"},"\ud83e\ude84 NutsParseException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsParseException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsParseException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsparseexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsParseException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsParseException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsParseException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutspushexception"},"\u2615 NutsPushException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsPushException\n")),Object(s.b)("p",null," Push Exception"),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-26"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutspushexceptionworkspace-id"},"\ud83e\ude84 NutsPushException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsPushException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsPushException(NutsWorkspace workspace, String id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutspushexceptionworkspace-id-1"},"\ud83e\ude84 NutsPushException(workspace, id)"),Object(s.b)("p",null,"Constructs a new NutsPushException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsPushException(NutsWorkspace workspace, NutsId id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutspushexceptionworkspace-id-message"},"\ud83e\ude84 NutsPushException(workspace, id, message)"),Object(s.b)("p",null,"Constructs a new NutsPushException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsPushException(NutsWorkspace workspace, String id, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutspushexceptionworkspace-id-message-1"},"\ud83e\ude84 NutsPushException(workspace, id, message)"),Object(s.b)("p",null,"Constructs a new NutsPushException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsPushException(NutsWorkspace workspace, NutsId id, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutspushexceptionworkspace-id-message-cause"},"\ud83e\ude84 NutsPushException(workspace, id, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsPushException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsPushException(NutsWorkspace workspace, String id, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutspushexceptionworkspace-id-message-cause-1"},"\ud83e\ude84 NutsPushException(workspace, id, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsPushException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsPushException(NutsWorkspace workspace, NutsId id, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : artifact id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h3",{id:"-instance-properties-12"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-id-5"},"\ud83d\udcc4\ud83c\udf9b id"),Object(s.b)("p",null,"artifact id"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public id\npublic String getId()\n")),Object(s.b)("h2",{id:"-nutsreadonlyexception"},"\u2615 NutsReadOnlyException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsReadOnlyException\n")),Object(s.b)("p",null," Created by vpc on 1/15/17."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-27"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsreadonlyexceptionworkspace"},"\ud83e\ude84 NutsReadOnlyException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsReadOnlyException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsReadOnlyException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsreadonlyexceptionworkspace-location"},"\ud83e\ude84 NutsReadOnlyException(workspace, location)"),Object(s.b)("p",null,"Constructs a new NutsReadOnlyException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsReadOnlyException(NutsWorkspace workspace, String location)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String location")," : location")),Object(s.b)("h2",{id:"-nutsrepositoryalreadyregisteredexception"},"\u2615 NutsRepositoryAlreadyRegisteredException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsRepositoryAlreadyRegisteredException\n")),Object(s.b)("p",null," This exception is thrown when a repository location could no be loaded because\nthe repository is already registered for the actual workspace.\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-28"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsrepositoryalreadyregisteredexceptionworkspace-repository"},"\ud83e\ude84 NutsRepositoryAlreadyRegisteredException(workspace, repository)"),Object(s.b)("p",null,"Constructs a new NutsNotInstalledException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryAlreadyRegisteredException(NutsWorkspace workspace, String repository)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String repository")," : repository")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsrepositoryalreadyregisteredexceptionworkspace-repository-err"},"\ud83e\ude84 NutsRepositoryAlreadyRegisteredException(workspace, repository, err)"),Object(s.b)("p",null,"Constructs a new NutsNotInstalledException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryAlreadyRegisteredException(NutsWorkspace workspace, String repository, Throwable err)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String repository")," : repository"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable err")," : error")),Object(s.b)("h2",{id:"-nutsrepositoryexception"},"\u2615 NutsRepositoryException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public abstract net.vpc.app.nuts.NutsRepositoryException\n")),Object(s.b)("p",null," Base exception for Repository related exceptions"),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-29"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsrepositoryexceptionworkspace-repository-message-ex"},"\ud83e\ude84 NutsRepositoryException(workspace, repository, message, ex)"),Object(s.b)("p",null,"Constructs a new NutsRepositoryException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryException(NutsWorkspace workspace, String repository, String message, Throwable ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String repository")," : repository"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable ex")," : exception")),Object(s.b)("h3",{id:"-instance-properties-13"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-repository"},"\ud83d\udcc4\ud83c\udf9b repository"),Object(s.b)("p",null,"the repository of this exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public repository\npublic String getRepository()\n")),Object(s.b)("h2",{id:"-nutsrepositorynotfoundexception"},"\u2615 NutsRepositoryNotFoundException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsRepositoryNotFoundException\n")),Object(s.b)("p",null," This exception is thrown when a repository location could no be loaded because\nthe repository config files are missing."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-30"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsrepositorynotfoundexceptionworkspace-repository"},"\ud83e\ude84 NutsRepositoryNotFoundException(workspace, repository)"),Object(s.b)("p",null,"Constructs a new NutsRepositoryNotFoundException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryNotFoundException(NutsWorkspace workspace, String repository)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String repository")," : repository")),Object(s.b)("h2",{id:"-nutssecurityexception"},"\u2615 NutsSecurityException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsSecurityException\n")),Object(s.b)("p",null," Thrown by Nuts Workspace to indicate a security violation.\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-31"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutssecurityexceptionworkspace"},"\ud83e\ude84 NutsSecurityException(workspace)"),Object(s.b)("p",null,"Constructs a \\","NutsSecurityException\\"," with the specified\nparameters."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsSecurityException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutssecurityexceptionworkspace-cause"},"\ud83e\ude84 NutsSecurityException(workspace, cause)"),Object(s.b)("p",null,"Constructs a \\","NutsSecurityException\\"," with the specified\nparameters."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsSecurityException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutssecurityexceptionworkspace-message"},"\ud83e\ude84 NutsSecurityException(workspace, message)"),Object(s.b)("p",null,"Constructs a \\","NutsSecurityException\\"," with the specified\nparameters."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsSecurityException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : the detail message.")),Object(s.b)("h4",{id:"\ud83e\ude84-nutssecurityexceptionworkspace-message-cause"},"\ud83e\ude84 NutsSecurityException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a \\","NutsSecurityException\\"," with the specified\nparameters."),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsSecurityException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h3",{id:"-instance-properties-14"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-workspace-1"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(s.b)("p",null,"current workspace"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(s.b)("h2",{id:"-nutstoomanyelementsexception"},"\u2615 NutsTooManyElementsException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsTooManyElementsException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-32"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutstoomanyelementsexceptionworkspace"},"\ud83e\ude84 NutsTooManyElementsException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsTooManyElementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsTooManyElementsException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutstoomanyelementsexceptionworkspace-cause"},"\ud83e\ude84 NutsTooManyElementsException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsTooManyElementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsTooManyElementsException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutstoomanyelementsexceptionworkspace-cause-1"},"\ud83e\ude84 NutsTooManyElementsException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsTooManyElementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsTooManyElementsException(NutsWorkspace workspace, IOException cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"IOException cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutstoomanyelementsexceptionworkspace-message"},"\ud83e\ude84 NutsTooManyElementsException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsTooManyElementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsTooManyElementsException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutstoomanyelementsexceptionworkspace-message-cause"},"\ud83e\ude84 NutsTooManyElementsException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsTooManyElementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsTooManyElementsException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutstoomanyelementsexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsTooManyElementsException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsTooManyElementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsTooManyElementsException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsunexpectedexception"},"\u2615 NutsUnexpectedException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsUnexpectedException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-33"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunexpectedexceptionworkspace"},"\ud83e\ude84 NutsUnexpectedException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsUnexpectedException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnexpectedException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunexpectedexceptionworkspace-cause"},"\ud83e\ude84 NutsUnexpectedException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnexpectedException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnexpectedException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunexpectedexceptionworkspace-cause-1"},"\ud83e\ude84 NutsUnexpectedException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnexpectedException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnexpectedException(NutsWorkspace workspace, IOException cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"IOException cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunexpectedexceptionworkspace-message"},"\ud83e\ude84 NutsUnexpectedException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsUnexpectedException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnexpectedException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunexpectedexceptionworkspace-message-cause"},"\ud83e\ude84 NutsUnexpectedException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnexpectedException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnexpectedException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunexpectedexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsUnexpectedException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsUnexpectedException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnexpectedException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsuninstallexception"},"\u2615 NutsUninstallException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsUninstallException\n")),Object(s.b)("p",null," This Exception is thrown when an artifact fails to be uninstalled"),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-34"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsuninstallexceptionworkspace-id"},"\ud83e\ude84 NutsUninstallException(workspace, id)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallException(NutsWorkspace workspace, NutsId id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : nuts id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsuninstallexceptionworkspace-id-1"},"\ud83e\ude84 NutsUninstallException(workspace, id)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallException(NutsWorkspace workspace, String id)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : nuts id")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsuninstallexceptionworkspace-id-msg-ex"},"\ud83e\ude84 NutsUninstallException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsId id")," : nuts id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsuninstallexceptionworkspace-id-msg-ex-1"},"\ud83e\ude84 NutsUninstallException(workspace, id, msg, ex)"),Object(s.b)("p",null,"Custom Constructor"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallException(NutsWorkspace workspace, String id, String msg, Exception ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String id")," : nuts id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String msg")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Exception ex")," : exception")),Object(s.b)("h2",{id:"-nutsunsatisfiedrequirementsexception"},"\u2615 NutsUnsatisfiedRequirementsException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsUnsatisfiedRequirementsException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-35"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsatisfiedrequirementsexceptionworkspace"},"\ud83e\ude84 NutsUnsatisfiedRequirementsException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsUnsatisfiedRequirementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsatisfiedRequirementsException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsatisfiedrequirementsexceptionworkspace-cause"},"\ud83e\ude84 NutsUnsatisfiedRequirementsException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnsatisfiedRequirementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsatisfiedrequirementsexceptionworkspace-cause-1"},"\ud83e\ude84 NutsUnsatisfiedRequirementsException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnsatisfiedRequirementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, IOException cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"IOException cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsatisfiedrequirementsexceptionworkspace-message"},"\ud83e\ude84 NutsUnsatisfiedRequirementsException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsUnsatisfiedRequirementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsatisfiedrequirementsexceptionworkspace-message-cause"},"\ud83e\ude84 NutsUnsatisfiedRequirementsException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnsatisfiedRequirementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsatisfiedrequirementsexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsUnsatisfiedRequirementsException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsUnsatisfiedRequirementsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsunsupportedargumentexception"},"\u2615 NutsUnsupportedArgumentException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsUnsupportedArgumentException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-36"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedargumentexceptionworkspace"},"\ud83e\ude84 NutsUnsupportedArgumentException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedArgumentException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedargumentexceptionworkspace-cause"},"\ud83e\ude84 NutsUnsupportedArgumentException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedArgumentException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedargumentexceptionworkspace-message"},"\ud83e\ude84 NutsUnsupportedArgumentException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedArgumentException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedargumentexceptionworkspace-message-cause"},"\ud83e\ude84 NutsUnsupportedArgumentException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedArgumentException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedargumentexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsUnsupportedArgumentException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedArgumentException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedArgumentException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsunsupportedenumexception"},"\u2615 NutsUnsupportedEnumException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsUnsupportedEnumException\n")),Object(s.b)("p",null," Exception Thrown when for any reason, the enum value is not expected/supported."),Object(s.b)("p",null," \\@author vpc\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-37"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedenumexceptionworkspace-enumvalue"},"\ud83e\ude84 NutsUnsupportedEnumException(workspace, enumValue)"),Object(s.b)("p",null,"create new instance of NutsUnexpectedEnumException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedEnumException(NutsWorkspace workspace, Enum enumValue)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Enum enumValue")," : enumeration instance (cannot be null)")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedenumexceptionworkspace-message-enumvalue"},"\ud83e\ude84 NutsUnsupportedEnumException(workspace, message, enumValue)"),Object(s.b)("p",null,"create new instance of NutsUnexpectedEnumException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedEnumException(NutsWorkspace workspace, String message, Enum enumValue)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Enum enumValue")," : enumeration instance (cannot be null)")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedenumexceptionworkspace-message-stringvalue-enumvalue"},"\ud83e\ude84 NutsUnsupportedEnumException(workspace, message, stringValue, enumValue)"),Object(s.b)("p",null,"create new instance of NutsUnexpectedEnumException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedEnumException(NutsWorkspace workspace, String message, String stringValue, Enum enumValue)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String stringValue")," : invalid value"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Enum enumValue")," : enumeration instance (cannot be null)")),Object(s.b)("h3",{id:"-instance-properties-15"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-enumvalue"},"\ud83d\udcc4\ud83c\udf9b enumValue"),Object(s.b)("p",null,"enum value"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Enum public enumValue\npublic Enum getEnumValue()\n")),Object(s.b)("h2",{id:"-nutsunsupportedoperationexception"},"\u2615 NutsUnsupportedOperationException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsUnsupportedOperationException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-38"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedoperationexceptionworkspace"},"\ud83e\ude84 NutsUnsupportedOperationException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedOperationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedOperationException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedoperationexceptionworkspace-cause"},"\ud83e\ude84 NutsUnsupportedOperationException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedOperationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedOperationException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedoperationexceptionworkspace-message"},"\ud83e\ude84 NutsUnsupportedOperationException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedOperationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedOperationException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedoperationexceptionworkspace-message-cause"},"\ud83e\ude84 NutsUnsupportedOperationException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedOperationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedOperationException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsunsupportedoperationexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsUnsupportedOperationException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsUnsupportedOperationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUnsupportedOperationException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsusercancelexception"},"\u2615 NutsUserCancelException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsUserCancelException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"-constant-fields-1"},"\ud83d\udce2\u2744 Constant Fields"),Object(s.b)("h4",{id:"-default_cancel_exit_code"},"\ud83d\udce2\u2744 DEFAULT_CANCEL_EXIT_CODE"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public static final int DEFAULT_CANCEL_EXIT_CODE = 245\n")),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-39"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsusercancelexceptionworkspace"},"\ud83e\ude84 NutsUserCancelException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsUserCancelException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUserCancelException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsusercancelexceptionworkspace-message"},"\ud83e\ude84 NutsUserCancelException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsUserCancelException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUserCancelException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsusercancelexceptionworkspace-message-exitcode"},"\ud83e\ude84 NutsUserCancelException(workspace, message, exitCode)"),Object(s.b)("p",null,"Constructs a new NutsUserCancelException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsUserCancelException(NutsWorkspace workspace, String message, int exitCode)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"int exitCode")," : exit code")),Object(s.b)("h2",{id:"-nutsvalidationexception"},"\u2615 NutsValidationException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsValidationException\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-40"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsvalidationexceptionworkspace"},"\ud83e\ude84 NutsValidationException(workspace)"),Object(s.b)("p",null,"Constructs a new NutsValidationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsValidationException(NutsWorkspace workspace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsvalidationexceptionworkspace-cause"},"\ud83e\ude84 NutsValidationException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsValidationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsValidationException(NutsWorkspace workspace, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsvalidationexceptionworkspace-cause-1"},"\ud83e\ude84 NutsValidationException(workspace, cause)"),Object(s.b)("p",null,"Constructs a new NutsValidationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsValidationException(NutsWorkspace workspace, IOException cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"IOException cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsvalidationexceptionworkspace-message"},"\ud83e\ude84 NutsValidationException(workspace, message)"),Object(s.b)("p",null,"Constructs a new NutsValidationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsValidationException(NutsWorkspace workspace, String message)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsvalidationexceptionworkspace-message-cause"},"\ud83e\ude84 NutsValidationException(workspace, message, cause)"),Object(s.b)("p",null,"Constructs a new NutsValidationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsValidationException(NutsWorkspace workspace, String message, Throwable cause)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsvalidationexceptionworkspace-message-cause-enablesuppression-writablestacktrace"},"\ud83e\ude84 NutsValidationException(workspace, message, cause, enableSuppression, writableStackTrace)"),Object(s.b)("p",null,"Constructs a new NutsValidationException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsValidationException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable cause")," : cause"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean enableSuppression")," : whether or not suppression is enabled or disabled"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean writableStackTrace")," : whether or not the stack trace should be writable")),Object(s.b)("h2",{id:"-nutsworkspacealreadyexistsexception"},"\u2615 NutsWorkspaceAlreadyExistsException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsWorkspaceAlreadyExistsException\n")),Object(s.b)("p",null," Created by vpc on 1/15/17."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-41"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsworkspacealreadyexistsexceptionworkspace-workspacelocation"},"\ud83e\ude84 NutsWorkspaceAlreadyExistsException(workspace, workspaceLocation)"),Object(s.b)("p",null,"Constructs a new NutsWorkspaceAlreadyExistsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceAlreadyExistsException(NutsWorkspace workspace, String workspaceLocation)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String workspaceLocation")," : location")),Object(s.b)("h4",{id:"\ud83e\ude84-nutsworkspacealreadyexistsexceptionworkspace-workspacelocation-err"},"\ud83e\ude84 NutsWorkspaceAlreadyExistsException(workspace, workspaceLocation, err)"),Object(s.b)("p",null,"Constructs a new NutsWorkspaceAlreadyExistsException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceAlreadyExistsException(NutsWorkspace workspace, String workspaceLocation, Throwable err)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String workspaceLocation")," : location"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable err")," : exception")),Object(s.b)("h3",{id:"-instance-properties-16"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-workspacelocation-1"},"\ud83d\udcc4\ud83c\udf9b workspaceLocation"),Object(s.b)("p",null,"workspace location"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public workspaceLocation\npublic String getWorkspaceLocation()\n")),Object(s.b)("h2",{id:"-nutsworkspaceexception"},"\u2615 NutsWorkspaceException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public abstract net.vpc.app.nuts.NutsWorkspaceException\n")),Object(s.b)("p",null," NutsWorkspaceException is the base class for Workspace related exceptions."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-42"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsworkspaceexceptionworkspace-message-ex"},"\ud83e\ude84 NutsWorkspaceException(workspace, message, ex)"),Object(s.b)("p",null,"Constructs a new NutsWorkspaceException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceException(NutsWorkspace workspace, String message, Throwable ex)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String message")," : message"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Throwable ex")," : exception")),Object(s.b)("h2",{id:"-nutsworkspacenotfoundexception"},"\u2615 NutsWorkspaceNotFoundException"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsWorkspaceNotFoundException\n")),Object(s.b)("p",null," This Exception is thrown when the workspace does not exist."),Object(s.b)("p",null," \\@since 0.5.4\n\\@category Exception"),Object(s.b)("h3",{id:"\ud83e\ude84-constructors-43"},"\ud83e\ude84 Constructors"),Object(s.b)("h4",{id:"\ud83e\ude84-nutsworkspacenotfoundexceptionworkspace-workspacelocation"},"\ud83e\ude84 NutsWorkspaceNotFoundException(workspace, workspaceLocation)"),Object(s.b)("p",null,"Constructs a new NutsWorkspaceNotFoundException exception"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceNotFoundException(NutsWorkspace workspace, String workspaceLocation)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : workspace"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String workspaceLocation")," : location")),Object(s.b)("h3",{id:"-instance-properties-17"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-workspacelocation-2"},"\ud83d\udcc4\ud83c\udf9b workspaceLocation"),Object(s.b)("p",null,"workspace location"),Object(s.b)("pre",null,Object(s.b)("code",Object(c.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public workspaceLocation\npublic String getWorkspaceLocation()\n")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/284da823.86abbb82.js b/docs/284da823.86abbb82.js new file mode 100644 index 000000000..8b39366b2 --- /dev/null +++ b/docs/284da823.86abbb82.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{118:function(e,t,r){"use strict";r.d(t,"a",(function(){return f})),r.d(t,"b",(function(){return b}));var n=r(0),o=r.n(n);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=o.a.createContext({}),s=function(e){var t=o.a.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},f=function(e){var t=s(e.components);return o.a.createElement(u.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},d=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),f=s(r),d=n,b=f["".concat(i,".").concat(d)]||f[d]||l[d]||a;return r?o.a.createElement(b,c(c({ref:t},u),{},{components:r})):o.a.createElement(b,c({ref:t},u))}));function b(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,i=new Array(a);i[0]=d;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeof e?e:n,i[1]=c;for(var u=2;u=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=o.a.createContext({}),p=function(e){var t=o.a.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return o.a.createElement(u.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),f=n,d=s["".concat(l,".").concat(f)]||s[f]||b[f]||a;return r?o.a.createElement(d,c(c({ref:t},u),{},{components:r})):o.a.createElement(d,c({ref:t},u))}));function d(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,l=new Array(a);l[0]=f;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c.mdxType="string"==typeof e?e:n,l[1]=c;for(var u=2;u=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var i=r.a.createContext({}),p=function(e){var t=r.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):c(c({},t),e)),a},u=function(e){var t=p(e.components);return r.a.createElement(i.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},y=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,i=s(e,["components","mdxType","originalType","parentName"]),u=p(a),y=n,g=u["".concat(l,".").concat(y)]||u[y]||m[y]||o;return a?r.a.createElement(g,c(c({ref:t},i),{},{components:a})):r.a.createElement(g,c({ref:t},i))}));function g(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,l=new Array(o);l[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:n,l[1]=c;for(var i=2;i{const a=document.createElement("textarea"),n=document.activeElement;a.value=e,a.setAttribute("readonly",""),a.style.contain="strict",a.style.position="absolute",a.style.left="-9999px",a.style.fontSize="12pt";const r=document.getSelection();let o=!1;r.rangeCount>0&&(o=r.getRangeAt(0)),t.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch(c){}return a.remove(),o&&(r.removeAllRanges(),r.addRange(o)),n&&n.focus(),l};e.exports=n,e.exports.default=n},132:function(e,t){e.exports.parse=function(e){var t=e.split(",").map((function(e){return function(e){if(/^-?\d+$/.test(e))return parseInt(e,10);var t;if(t=e.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){var a=t[1],n=t[2],r=t[3];if(a&&r){var o=[],l=(a=parseInt(a))<(r=parseInt(r))?1:-1;"-"!=n&&".."!=n&&"\u2025"!=n||(r+=l);for(var c=a;c!=r;c+=l)o.push(c);return o}}return[]}(e)}));return 0===t.length?[]:1===t.length?Array.isArray(t[0])?t[0]:t:t.reduce((function(e,t){return Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),e.concat(t)}))}},133:function(e,t,a){"use strict";var n=a(0),r=a.n(n),o=a(120),l=a(118),c=a(129),s=a(121),i=a(134),p=a(122),u=a(78),m=a.n(u);const y=["January","February","March","April","May","June","July","August","September","October","November","December"];t.a=function(e){const{children:t,frontMatter:a,metadata:n,truncated:u,isBlogPostPage:g=!1}=e,{date:d,permalink:h,tags:f,readingTime:b}=n,{author:v,title:k,image:E,keywords:j}=a,O=a.author_url||a.authorURL,N=a.author_title||a.authorTitle,x=a.author_image_url||a.authorImageURL,w=Object(p.a)(E,{absolute:!0});return r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,null,j&&j.length&&r.a.createElement("meta",{name:"keywords",content:j.join(",")}),E&&r.a.createElement("meta",{property:"og:image",content:w}),E&&r.a.createElement("meta",{property:"twitter:image",content:w}),E&&r.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+k})),r.a.createElement("article",{className:g?void 0:"margin-bottom--xl"},(()=>{const e=g?"h1":"h2",t=d.substring(0,10).split("-"),a=t[0],n=y[parseInt(t[1],10)-1],l=parseInt(t[2],10);return r.a.createElement("header",null,r.a.createElement(e,{className:Object(o.a)("margin-bottom--sm",m.a.blogPostTitle)},g?k:r.a.createElement(s.a,{to:h},k)),r.a.createElement("div",{className:"margin-vert--md"},r.a.createElement("time",{dateTime:d,className:m.a.blogPostDate},n," ",l,", ",a," ",b&&r.a.createElement(r.a.Fragment,null," \xb7 ",Math.ceil(b)," min read"))),r.a.createElement("div",{className:"avatar margin-vert--md"},x&&r.a.createElement("a",{className:"avatar__photo-link avatar__photo",href:O,target:"_blank",rel:"noreferrer noopener"},r.a.createElement("img",{src:x,alt:v})),r.a.createElement("div",{className:"avatar__intro"},v&&r.a.createElement(r.a.Fragment,null,r.a.createElement("h4",{className:"avatar__name"},r.a.createElement("a",{href:O,target:"_blank",rel:"noreferrer noopener"},v)),r.a.createElement("small",{className:"avatar__subtitle"},N)))))})(),r.a.createElement("section",{className:"markdown"},r.a.createElement(l.a,{components:i.a},t)),(f.length>0||u)&&r.a.createElement("footer",{className:"row margin-vert--lg"},f.length>0&&r.a.createElement("div",{className:"col"},r.a.createElement("strong",null,"Tags:"),f.map(({label:e,permalink:t})=>r.a.createElement(s.a,{key:t,className:"margin-horiz--sm",to:t},e))),u&&r.a.createElement("div",{className:"col text--right"},r.a.createElement(s.a,{to:n.permalink,"aria-label":"Read more about "+k},r.a.createElement("strong",null,"Read More"))))))}},134:function(e,t,a){"use strict";var n=a(2),r=a(0),o=a.n(r),l=a(121),c=a(120),s={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","at-rule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},i={Prism:a(20).a,theme:s};function p(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function u(){return(u=Object.assign||function(e){for(var t=1;t0&&e[a-1]===t?e:e.concat(t)},d=function(e,t){var a=e.plain,n=Object.create(null),r=e.styles.reduce((function(e,a){var n=a.languages,r=a.style;return n&&!n.includes(t)||a.types.forEach((function(t){var a=u({},e[t],r);e[t]=a})),e}),n);return r.root=a,r.plain=u({},a,{backgroundColor:null}),r};function h(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===t.indexOf(n)&&(a[n]=e[n]);return a}var f=function(e){function t(){for(var t=this,a=[],n=arguments.length;n--;)a[n]=arguments[n];e.apply(this,a),p(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var a=e.theme?d(e.theme,e.language):void 0;return t.themeDict=a})),p(this,"getLineProps",(function(e){var a=e.key,n=e.className,r=e.style,o=u({},h(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(o.style=l.plain),void 0!==r&&(o.style=void 0!==o.style?u({},o.style,r):r),void 0!==a&&(o.key=a),n&&(o.className+=" "+n),o})),p(this,"getStyleForToken",(function(e){var a=e.types,n=e.empty,r=a.length,o=t.getThemeDict(t.props);if(void 0!==o){if(1===r&&"plain"===a[0])return n?{display:"inline-block"}:void 0;if(1===r&&!n)return o[a[0]];var l=n?{display:"inline-block"}:{},c=a.map((function(e){return o[e]}));return Object.assign.apply(Object,[l].concat(c))}})),p(this,"getTokenProps",(function(e){var a=e.key,n=e.className,r=e.style,o=e.token,l=u({},h(e,["key","className","style","token"]),{className:"token "+o.types.join(" "),children:o.content,style:t.getStyleForToken(o),key:void 0});return void 0!==r&&(l.style=void 0!==l.style?u({},l.style,r):r),void 0!==a&&(l.key=a),n&&(l.className+=" "+n),l}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,a=e.language,n=e.code,r=e.children,o=this.getThemeDict(this.props),l=t.languages[a];return r({tokens:function(e){for(var t=[[]],a=[e],n=[0],r=[e.length],o=0,l=0,c=[],s=[c];l>-1;){for(;(o=n[l]++)0?p:["plain"],i=u):(p=g(p,u.type),u.alias&&(p=g(p,u.alias)),i=u.content),"string"==typeof i){var d=i.split(m),h=d.length;c.push({types:p,content:d[0]});for(var f=1;f{const{siteConfig:{themeConfig:{prism:e={}}}}=Object(j.a)(),{isDarkTheme:t}=Object(N.a)(),a=e.theme||O,n=e.darkTheme||a;return t?n:a},w=a(47),P=a.n(w);const T=/{([\d,-]+)}/,C=(e=["js","jsBlock","jsx","python","html"])=>{const t={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},a=["highlight-next-line","highlight-start","highlight-end"].join("|"),n=e.map(e=>`(?:${t[e].start}\\s*(${a})\\s*${t[e].end})`).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)},_=/title=".*"/;var D=({children:e,className:t,metastring:a})=>{const{siteConfig:{themeConfig:{prism:l={}}}}=Object(j.a)(),[s,p]=Object(r.useState)(!1),[u,m]=Object(r.useState)(!1);Object(r.useEffect)(()=>{m(!0)},[]);const y=Object(r.useRef)(null);let g=[],d="";const h=x();if(a&&T.test(a)){const e=a.match(T)[1];g=E.a.parse(e).filter(e=>e>0)}a&&_.test(a)&&(d=a.match(_)[0].split("title=")[1].replace(/"+/g,""));let b=t&&t.replace(/language-/,"");!b&&l.defaultLanguage&&(b=l.defaultLanguage);let k=e.replace(/\n$/,"");if(0===g.length&&void 0!==b){let t="";const a=(e=>{switch(e){case"js":case"javascript":case"ts":case"typescript":return C(["js","jsBlock"]);case"jsx":case"tsx":return C(["js","jsBlock","jsx"]);case"html":return C(["js","jsBlock","html"]);case"python":case"py":return C(["python"]);default:return C()}})(b),n=e.replace(/\n$/,"").split("\n");let r;for(let e=0;ee||t,void 0)){case"highlight-next-line":t+=o+",";break;case"highlight-start":r=o;break;case"highlight-end":t+=`${r}-${o-1},`}n.splice(e,1)}else e+=1}g=E.a.parse(t),k=n.join("\n")}const O=()=>{v()(k),p(!0),setTimeout(()=>p(!1),2e3)};return o.a.createElement(f,Object(n.a)({},i,{key:String(u),theme:h,code:k,language:b}),({className:e,style:t,tokens:a,getLineProps:r,getTokenProps:l})=>o.a.createElement(o.a.Fragment,null,d&&o.a.createElement("div",{style:t,className:P.a.codeBlockTitle},d),o.a.createElement("div",{className:P.a.codeBlockContent},o.a.createElement("button",{ref:y,type:"button","aria-label":"Copy code to clipboard",className:Object(c.a)(P.a.copyButton,{[P.a.copyButtonWithTitle]:d}),onClick:O},s?"Copied":"Copy"),o.a.createElement("div",{tabIndex:0,className:Object(c.a)(e,P.a.codeBlock,{[P.a.codeBlockWithTitle]:d})},o.a.createElement("div",{className:P.a.codeBlockLines,style:t},a.map((e,t)=>{1===e.length&&""===e[0].content&&(e[0].content="\n");const a=r({line:e,key:t});return g.includes(t+1)&&(a.className=a.className+" docusaurus-highlight-code-line"),o.a.createElement("div",Object(n.a)({key:t},a),e.map((e,t)=>o.a.createElement("span",Object(n.a)({key:t},l({token:e,key:t})))))}))))))},S=(a(48),a(49)),B=a.n(S);var A=e=>function({id:t,...a}){const{siteConfig:{themeConfig:{navbar:{hideOnScroll:n=!1}={}}={}}={}}=Object(j.a)();return t?o.a.createElement(e,a,o.a.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:Object(c.a)("anchor",{[B.a.enhancedAnchor]:!n}),id:t}),a.children,o.a.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:"hash-link",href:"#"+t,title:"Direct link to heading"},"#")):o.a.createElement(e,a)},L=a(50),I=a.n(L);t.a={code:e=>{const{children:t}=e;return"string"==typeof t?t.includes("\n")?o.a.createElement(D,e):o.a.createElement("code",e):t},a:e=>o.a.createElement(l.a,e),pre:e=>o.a.createElement("div",Object(n.a)({className:I.a.mdxCodeBlock},e)),h1:A("h1"),h2:A("h2"),h3:A("h3"),h4:A("h4"),h5:A("h5"),h6:A("h6")}}}]); \ No newline at end of file diff --git a/docs/3151bb86.8820b159.js b/docs/3151bb86.8820b159.js new file mode 100644 index 000000000..bacd4c405 --- /dev/null +++ b/docs/3151bb86.8820b159.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{118:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r=n(0),o=n.n(r);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=o.a.createContext({}),s=function(e){var t=o.a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},p=function(e){var t=s(e.components);return o.a.createElement(u.Provider,{value:t},e.children)},f={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},b=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,a=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=s(n),b=r,d=p["".concat(a,".").concat(b)]||p[b]||f[b]||i;return n?o.a.createElement(d,c(c({ref:t},u),{},{components:n})):o.a.createElement(d,c({ref:t},u))}));function d(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,a=new Array(i);a[0]=b;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:r,a[1]=c;for(var u=2;u=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=o.a.createContext({}),p=function(e){var t=o.a.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return o.a.createElement(u.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=n,m=s["".concat(c,".").concat(f)]||s[f]||b[f]||a;return r?o.a.createElement(m,i(i({ref:t},u),{},{components:r})):o.a.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:n,c[1]=i;for(var u=2;u + + + + + +Page Not Found | Nuts + + + + + +
+

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

+ + + + + \ No newline at end of file diff --git a/docs/45a4b369.394a8d8c.js b/docs/45a4b369.394a8d8c.js new file mode 100644 index 000000000..2562ce6b5 --- /dev/null +++ b/docs/45a4b369.394a8d8c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{118:function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return j}));var n=a(0),r=a.n(n);function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function o(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var l=r.a.createContext({}),i=function(e){var t=r.a.useContext(l),a=t;return e&&(a="function"==typeof e?e(t):o(o({},t),e)),a},p=function(e){var t=i(e.components);return r.a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},d=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,c=e.originalType,s=e.parentName,l=b(e,["components","mdxType","originalType","parentName"]),p=i(a),d=n,j=p["".concat(s,".").concat(d)]||p[d]||u[d]||c;return a?r.a.createElement(j,o(o({ref:t},l),{},{components:a})):r.a.createElement(j,o({ref:t},l))}));function j(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var c=a.length,s=new Array(c);s[0]=d;var o={};for(var b in t)hasOwnProperty.call(t,b)&&(o[b]=t[b]);o.originalType=e,o.mdxType="string"==typeof e?e:n,s[1]=o;for(var l=2;l","\nDefault Bootstrap implementation. This class is responsible of loading\ninitial nuts-core.jar and its dependencies and for creating workspaces using\nthe method ","{","\\@link #openWorkspace()","}",".\n\\"),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutsbootworkspaceargs"},"\ud83e\ude84 NutsBootWorkspace(args)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsBootWorkspace(String[] args)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String[] args")," : ")),Object(c.b)("h4",{id:"\ud83e\ude84-nutsbootworkspaceoptions"},"\ud83e\ude84 NutsBootWorkspace(options)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsBootWorkspace(NutsWorkspaceOptions options)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceOptions options")," : ")),Object(c.b)("h3",{id:"-instance-properties"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-contextclassloader"},"\ud83d\udcc4\ud83c\udf9b contextClassLoader"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] ClassLoader protected contextClassLoader\nprotected ClassLoader getContextClassLoader()\n")),Object(c.b)("h4",{id:"-home"},"\ud83d\udcc4\ud83c\udf9b home"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String protected home\nprotected String getHome(storeFolder)\n")),Object(c.b)("h4",{id:"-options"},"\ud83d\udcc4\ud83c\udf9b options"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspaceOptions public options\npublic NutsWorkspaceOptions getOptions()\n")),Object(c.b)("h3",{id:"-instance-methods"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-createprocessbuilder"},"\u2699 createProcessBuilder()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"ProcessBuilder createProcessBuilder()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":ProcessBuilder"),Object(c.b)("h4",{id:"-createprocesscommandline"},"\u2699 createProcessCommandLine()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String[] createProcessCommandLine()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String[]"),Object(c.b)("h4",{id:"-expandpathpath-base"},"\u2699 expandPath(path, base)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String expandPath(String path, String base)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String path")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String base")," : ")),Object(c.b)("h4",{id:"-getrequirementshelpstringunsatisfiedonly"},"\u2699 getRequirementsHelpString(unsatisfiedOnly)"),Object(c.b)("p",null,"return a string representing unsatisfied contrains"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String getRequirementsHelpString(boolean unsatisfiedOnly)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean unsatisfiedOnly")," : when true return requirements for new instance")),Object(c.b)("h4",{id:"-hasunsatisfiedrequirements"},"\u2699 hasUnsatisfiedRequirements()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean hasUnsatisfiedRequirements()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("h4",{id:"-openworkspace"},"\u2699 openWorkspace()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspace openWorkspace()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsWorkspace"),Object(c.b)("h4",{id:"-resolvebootrepositories"},"\u2699 resolveBootRepositories()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Collection resolveBootRepositories()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":Collection"),Object(c.b)("h4",{id:"-runworkspace"},"\u2699 runWorkspace()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void runWorkspace()\n")),Object(c.b)("h4",{id:"-startnewprocess"},"\u2699 startNewProcess()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int startNewProcess()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h2",{id:"-nutsbootworkspacefactory"},"\u2615 NutsBootWorkspaceFactory"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsBootWorkspaceFactory\n")),Object(c.b)("p",null," Class responsible of creating and initializing Workspace\nCreated by vpc on 1/5/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-methods-1"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-createworkspaceoptions"},"\u2699 createWorkspace(options)"),Object(c.b)("p",null,"create workspace with the given options"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspace createWorkspace(NutsWorkspaceInitInformation options)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsWorkspace"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceInitInformation options")," : boot init options")),Object(c.b)("h4",{id:"-getbootsupportleveloptions"},"\u2699 getBootSupportLevel(options)"),Object(c.b)("p",null,"when multiple factories are available, the best one is selected according to\nthe maximum value of ","{","\\@code getBootSupportLevel(options)","}",".\nNote that default value (for the reference implementation) is ","{","\\@code NutsComponent.DEFAULT_SUPPORT","}",".\nAny value less or equal to zero is ignored (and the factory is discarded)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int getBootSupportLevel(NutsWorkspaceOptions options)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceOptions options")," : command line options")),Object(c.b)("h2",{id:"-nutscommandaliasfactoryconfig"},"\u2615 NutsCommandAliasFactoryConfig"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsCommandAliasFactoryConfig\n")),Object(c.b)("p",null," Command Alias Factory Definition Config"),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors-1"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutscommandaliasfactoryconfig"},"\ud83e\ude84 NutsCommandAliasFactoryConfig()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandAliasFactoryConfig()\n")),Object(c.b)("h3",{id:"-instance-properties-1"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-factoryid"},"\ud83d\udcdd\ud83c\udf9b factoryId"),Object(c.b)("p",null,"Factory id (unique identifier in the workspace)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandAliasFactoryConfig public factoryId\npublic String getFactoryId()\npublic NutsCommandAliasFactoryConfig setFactoryId(value)\n")),Object(c.b)("h4",{id:"-factorytype"},"\ud83d\udcdd\ud83c\udf9b factoryType"),Object(c.b)("p",null,"Factory Type"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandAliasFactoryConfig public factoryType\npublic String getFactoryType()\npublic NutsCommandAliasFactoryConfig setFactoryType(value)\n")),Object(c.b)("h4",{id:"-parameters"},"\ud83d\udcdd\ud83c\udf9b parameters"),Object(c.b)("p",null,"factory parameters"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandAliasFactoryConfig public parameters\npublic Map getParameters()\npublic NutsCommandAliasFactoryConfig setParameters(value)\n")),Object(c.b)("h4",{id:"-priority"},"\ud83d\udcdd\ud83c\udf9b priority"),Object(c.b)("p",null,"priority (the higher the better)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandAliasFactoryConfig public priority\npublic int getPriority()\npublic NutsCommandAliasFactoryConfig setPriority(value)\n")),Object(c.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-equalso"},"\u2699 equals(o)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object o")," : ")),Object(c.b)("h4",{id:"-hashcode"},"\u2699 hashCode()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h4",{id:"-tostring"},"\u2699 toString()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutscomponent"},"\u2615 NutsComponent"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsComponent\n")),Object(c.b)("p",null," Top Level extension Point in Nuts.\nExtension mechanism in nuts is based on a factory thats select the best\nimplementation for a given predefined interface (named Extension Point).\nSuch interfaces must extend this ","{","\\@code NutsComponent","}"," interface.\nImplementations must implement these extension points by providing their\nbest support level (when method ","{","\\@link #getSupportLevel(net.vpc.app.nuts.NutsSupportLevelContext)","}"," is invoked).\nOnly implementations with positive support level are considered.\nImplementations with higher support level are selected first."),Object(c.b)("p",null," \\@param \\"," support criteria type\n\\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-constant-fields"},"\ud83d\udce2\u2744 Constant Fields"),Object(c.b)("h4",{id:"-custom_support"},"\ud83d\udce2\u2744 CUSTOM_SUPPORT"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int CUSTOM_SUPPORT = 1000\n")),Object(c.b)("h4",{id:"-default_support"},"\ud83d\udce2\u2744 DEFAULT_SUPPORT"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int DEFAULT_SUPPORT = 10\n")),Object(c.b)("h4",{id:"-no_support"},"\ud83d\udce2\u2744 NO_SUPPORT"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int NO_SUPPORT = -1\n")),Object(c.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-getsupportlevelcontext"},"\u2699 getSupportLevel(context)"),Object(c.b)("p",null,"evaluate support level (who much this instance should be considered convenient, acceptable)\nfor the given arguments (provided in context)."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int getSupportLevel(NutsSupportLevelContext context)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSupportLevelContext context")," : evaluation context")),Object(c.b)("h2",{id:"-nutsdefaultsupportlevelcontext"},"\u2615 NutsDefaultSupportLevelContext"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsDefaultSupportLevelContext\n")),Object(c.b)("p",null," Default and dummy NutsSupportLevelContext implementation\n\\@author vpc\n\\@param \\"," support level type\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors-2"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutsdefaultsupportlevelcontextws-constraints"},"\ud83e\ude84 NutsDefaultSupportLevelContext(ws, constraints)"),Object(c.b)("p",null,"default constructor"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDefaultSupportLevelContext(NutsWorkspace ws, Object constraints)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspace ws")," : workspace"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object constraints")," : constraints")),Object(c.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-constraints"},"\ud83d\udcc4\ud83c\udf9b constraints"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public constraints\npublic Object getConstraints()\n")),Object(c.b)("h4",{id:"-workspace"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(c.b)("h3",{id:"-instance-methods-4"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-equalso-1"},"\u2699 equals(o)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object o")," : ")),Object(c.b)("h4",{id:"-hashcode-1"},"\u2699 hashCode()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h4",{id:"-tostring-1"},"\u2699 toString()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutsdeployrepositorycommand"},"\u2615 NutsDeployRepositoryCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDeployRepositoryCommand\n")),Object(c.b)("p",null," Repository Deploy command provided by Repository and used by Workspace.\nThis class is part of Nuts SPI and is not to be used by end users.\n\\@author vpc\n\\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-content"},"\ud83d\udcdd\ud83c\udf9b content"),Object(c.b)("p",null,"set content to deploy"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDeployRepositoryCommand public content\npublic Object getContent()\npublic NutsDeployRepositoryCommand setContent(content)\n")),Object(c.b)("h4",{id:"-descriptor"},"\ud83d\udcdd\ud83c\udf9b descriptor"),Object(c.b)("p",null,"set descriptor to deploy"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDeployRepositoryCommand public descriptor\npublic NutsDescriptor getDescriptor()\npublic NutsDeployRepositoryCommand setDescriptor(descriptor)\n")),Object(c.b)("h4",{id:"-id"},"\ud83d\udcdd\ud83c\udf9b id"),Object(c.b)("p",null,"set id to deploy"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDeployRepositoryCommand public id\npublic NutsId getId()\npublic NutsDeployRepositoryCommand setId(id)\n")),Object(c.b)("h4",{id:"-session"},"\u270f\ud83c\udf9b session"),Object(c.b)("p",null,"session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsDeployRepositoryCommand public session\npublic NutsDeployRepositoryCommand setSession(session)\n")),Object(c.b)("h3",{id:"-instance-methods-5"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-run"},"\u2699 run()"),Object(c.b)("p",null,"run deploy command"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDeployRepositoryCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDeployRepositoryCommand"),Object(c.b)("h2",{id:"-nutsdescriptorcontentparsercomponent"},"\u2615 NutsDescriptorContentParserComponent"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDescriptorContentParserComponent\n")),Object(c.b)("p",null," Content parser component is responsible of resolving a Nuts descriptor form a content file"),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-methods-6"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-parseparsercontext"},"\u2699 parse(parserContext)"),Object(c.b)("p",null,"parse content and return a valid NutsDescriptor or null if not supported."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor parse(NutsDescriptorContentParserContext parserContext)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDescriptorContentParserContext parserContext")," : context")),Object(c.b)("h2",{id:"-nutsdescriptorcontentparsercontext"},"\u2615 NutsDescriptorContentParserContext"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDescriptorContentParserContext\n")),Object(c.b)("p",null," context holding useful information for ","{","\\@link NutsDescriptorContentParserComponent#parse(NutsDescriptorContentParserContext)","}"),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-fileextension"},"\ud83d\udcc4\ud83c\udf9b fileExtension"),Object(c.b)("p",null,"content file extension or null. At least one of file extension or file mime-type is provided."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fileExtension\npublic String getFileExtension()\n")),Object(c.b)("h4",{id:"-fullstream"},"\ud83d\udcc4\ud83c\udf9b fullStream"),Object(c.b)("p",null,"content stream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] InputStream public fullStream\npublic InputStream getFullStream()\n")),Object(c.b)("h4",{id:"-headstream"},"\ud83d\udcc4\ud83c\udf9b headStream"),Object(c.b)("p",null,"return content header stream.\nif the content size is less than 1Mb, then all the content is returned.\nIf not, at least 1Mb is returned."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] InputStream public headStream\npublic InputStream getHeadStream()\n")),Object(c.b)("h4",{id:"-mimetype"},"\ud83d\udcc4\ud83c\udf9b mimeType"),Object(c.b)("p",null,"content mime-type or null. At least one of file extension or file mime-type is provided."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public mimeType\npublic String getMimeType()\n")),Object(c.b)("h4",{id:"-name"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("p",null,"content name (mostly content file name)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-parseoptions"},"\ud83d\udcc4\ud83c\udf9b parseOptions"),Object(c.b)("p",null,"command line options that can be parsed to\nconfigure parsing options.\nA good example of it is the --all-mains option that can be passed\nas executor option which will be catched by parser to force resolution\nof all main classes even though a Main-Class attribute is visited in the MANIFEST.MF\nfile.\nThis array may continue any non supported options. They should be discarded by the parser."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public parseOptions\npublic String[] getParseOptions()\n")),Object(c.b)("h4",{id:"-session-1"},"\ud83d\udcc4\ud83c\udf9b session"),Object(c.b)("p",null,"return session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(c.b)("h4",{id:"-workspace-1"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(c.b)("p",null,"return workspace"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(c.b)("h2",{id:"-nutsexecutorcomponent"},"\u2615 NutsExecutorComponent"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsExecutorComponent\n")),Object(c.b)("p",null,' An Executor Component is responsible of "executing" a nuts component\n(package) Created by vpc on 1/7/17.'),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-5"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-id-1"},"\ud83d\udcc4\ud83c\udf9b id"),Object(c.b)("p",null,"artifact id"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(c.b)("h3",{id:"-instance-methods-7"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-dryexecexecutioncontext"},"\u2699 dryExec(executionContext)"),Object(c.b)("p",null,"performs a dry execution (simulation) avoiding any side effect and issuing trace to standard\noutput in order to log simulation workflow."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void dryExec(NutsExecutionContext executionContext)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsExecutionContext executionContext")," : executionContext")),Object(c.b)("h4",{id:"-execexecutioncontext"},"\u2699 exec(executionContext)"),Object(c.b)("p",null,"execute the artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void exec(NutsExecutionContext executionContext)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsExecutionContext executionContext")," : executionContext")),Object(c.b)("h2",{id:"-nutsfetchcontentrepositorycommand"},"\u2615 NutsFetchContentRepositoryCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsFetchContentRepositoryCommand\n")),Object(c.b)("p",null," Repository command bound to FetchCommand used to fetch an artifact content from a specific repository.\n\\@author vpc\n\\@since 0.5.5\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-6"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-descriptor-1"},"\ud83d\udcdd\ud83c\udf9b descriptor"),Object(c.b)("p",null,"set descriptor to fetch."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsFetchContentRepositoryCommand public descriptor\npublic NutsDescriptor getDescriptor()\npublic NutsFetchContentRepositoryCommand setDescriptor(descriptor)\n")),Object(c.b)("h4",{id:"-fetchmode"},"\ud83d\udcdd\ud83c\udf9b fetchMode"),Object(c.b)("p",null,"fetchMode"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsFetchContentRepositoryCommand public fetchMode\npublic NutsFetchMode getFetchMode()\npublic NutsFetchContentRepositoryCommand setFetchMode(fetchMode)\n")),Object(c.b)("h4",{id:"-id-2"},"\ud83d\udcdd\ud83c\udf9b id"),Object(c.b)("p",null,"set id to fetch."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsFetchContentRepositoryCommand public id\npublic NutsId getId()\npublic NutsFetchContentRepositoryCommand setId(id)\n")),Object(c.b)("h4",{id:"-localpath"},"\ud83d\udcdd\ud83c\udf9b localPath"),Object(c.b)("p",null,"set localPath to store to."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsFetchContentRepositoryCommand public localPath\npublic Path getLocalPath()\npublic NutsFetchContentRepositoryCommand setLocalPath(localPath)\n")),Object(c.b)("h4",{id:"-result"},"\ud83d\udcc4\ud83c\udf9b result"),Object(c.b)("p",null,"return fetch result. if the command is not yet executed, it will be executed first."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsContent public result\npublic NutsContent getResult()\n")),Object(c.b)("h4",{id:"-session-2"},"\u270f\ud83c\udf9b session"),Object(c.b)("p",null,"set current session."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsFetchContentRepositoryCommand public session\npublic NutsFetchContentRepositoryCommand setSession(session)\n")),Object(c.b)("h3",{id:"-instance-methods-8"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-run-1"},"\u2699 run()"),Object(c.b)("p",null,"preform command. Should be called after setting all parameters.\nResult is retrievable with ","{","\\@link #getResult()","}","."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchContentRepositoryCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsFetchContentRepositoryCommand"),Object(c.b)("h2",{id:"-nutsfetchdescriptorrepositorycommand"},"\u2615 NutsFetchDescriptorRepositoryCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsFetchDescriptorRepositoryCommand\n")),Object(c.b)("p",null," Repository command used to fetch an artifact descriptor from a specific repository.\n\\@author vpc\n\\@since 0.5.5\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-7"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-fetchmode-1"},"\ud83d\udcdd\ud83c\udf9b fetchMode"),Object(c.b)("p",null,"fetchMode"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsFetchDescriptorRepositoryCommand public fetchMode\npublic NutsFetchMode getFetchMode()\npublic NutsFetchDescriptorRepositoryCommand setFetchMode(fetchMode)\n")),Object(c.b)("h4",{id:"-id-3"},"\ud83d\udcdd\ud83c\udf9b id"),Object(c.b)("p",null,"set id to fetch"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsFetchDescriptorRepositoryCommand public id\npublic NutsId getId()\npublic NutsFetchDescriptorRepositoryCommand setId(id)\n")),Object(c.b)("h4",{id:"-result-1"},"\ud83d\udcc4\ud83c\udf9b result"),Object(c.b)("p",null,"return fetch result. if the command is not yet executed, it will be executed first."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDescriptor public result\npublic NutsDescriptor getResult()\n")),Object(c.b)("h3",{id:"-instance-methods-9"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-run-2"},"\u2699 run()"),Object(c.b)("p",null,"preform command. Should be called after setting all parameters.\nResult is retrievable with ","{","\\@link #getResult()","}","."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchDescriptorRepositoryCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsFetchDescriptorRepositoryCommand"),Object(c.b)("h4",{id:"-setsessionsession"},"\u2699 setSession(session)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchDescriptorRepositoryCommand setSession(NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsFetchDescriptorRepositoryCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(c.b)("h2",{id:"-nutsinstallercomponent"},"\u2615 NutsInstallerComponent"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsInstallerComponent\n")),Object(c.b)("p",null," Component responsible of installing other artifacts."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-methods-10"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-installexecutioncontext"},"\u2699 install(executionContext)"),Object(c.b)("p",null,"install artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void install(NutsExecutionContext executionContext)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsExecutionContext executionContext")," : execution context")),Object(c.b)("h4",{id:"-uninstallexecutioncontext-deletedata"},"\u2699 uninstall(executionContext, deleteData)"),Object(c.b)("p",null,"uninstall artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void uninstall(NutsExecutionContext executionContext, boolean deleteData)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsExecutionContext executionContext")," : execution context"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean deleteData")," : delete data after uninstall")),Object(c.b)("h4",{id:"-updateexecutioncontext"},"\u2699 update(executionContext)"),Object(c.b)("p",null,"update artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void update(NutsExecutionContext executionContext)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsExecutionContext executionContext")," : execution context")),Object(c.b)("h2",{id:"-nutsprototype"},"\u2615 NutsPrototype"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsPrototype\n")),Object(c.b)("p",null," classes that are marked with this annotation will be created at each call by\nthe factory."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h2",{id:"-nutspushrepositorycommand"},"\u2615 NutsPushRepositoryCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsPushRepositoryCommand\n")),Object(c.b)("p",null," Push Command\n\\@author vpc\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-8"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-args"},"\ud83d\udcdd\ud83c\udf9b args"),Object(c.b)("p",null,"args args to push"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPushRepositoryCommand public args\npublic String[] getArgs()\npublic NutsPushRepositoryCommand setArgs(args)\n")),Object(c.b)("h4",{id:"-id-4"},"\ud83d\udcdd\ud83c\udf9b id"),Object(c.b)("p",null,"set id to push."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPushRepositoryCommand public id\npublic NutsId getId()\npublic NutsPushRepositoryCommand setId(id)\n")),Object(c.b)("h4",{id:"-offline"},"\ud83d\udcdd\ud83c\udf9b offline"),Object(c.b)("p",null,"local only (installed or not)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPushRepositoryCommand public offline\npublic boolean isOffline()\npublic NutsPushRepositoryCommand setOffline(offline)\n")),Object(c.b)("h4",{id:"-repository"},"\ud83d\udcdd\ud83c\udf9b repository"),Object(c.b)("p",null,"repository to push from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPushRepositoryCommand public repository\npublic String getRepository()\npublic NutsPushRepositoryCommand setRepository(repository)\n")),Object(c.b)("h4",{id:"-session-3"},"\u270f\ud83c\udf9b session"),Object(c.b)("p",null,"set session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsPushRepositoryCommand public session\npublic NutsPushRepositoryCommand setSession(session)\n")),Object(c.b)("h3",{id:"-instance-methods-11"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-run-3"},"\u2699 run()"),Object(c.b)("p",null,"run this command and return ","{","\\@code this","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushRepositoryCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsPushRepositoryCommand"),Object(c.b)("h2",{id:"-nutsrepositorycommand"},"\u2615 NutsRepositoryCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRepositoryCommand\n")),Object(c.b)("p",null," Root class for all Repository commands.\n\\@author vpc\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-9"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-session-4"},"\ud83d\udcdd\ud83c\udf9b session"),Object(c.b)("p",null,"set session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsRepositoryCommand public session\npublic NutsSession getSession()\npublic NutsRepositoryCommand setSession(session)\n")),Object(c.b)("h3",{id:"-instance-methods-12"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-configureskipunsupported-args"},"\u2699 configure(skipUnsupported, args)"),Object(c.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryCommand configure(boolean skipUnsupported, String[] args)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepositoryCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(c.b)("h4",{id:"-run-4"},"\u2699 run()"),Object(c.b)("p",null,"run this command and return ","{","\\@code this","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepositoryCommand"),Object(c.b)("h2",{id:"-nutsrepositoryfactorycomponent"},"\u2615 NutsRepositoryFactoryComponent"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRepositoryFactoryComponent\n")),Object(c.b)("p",null," Created by vpc on 1/15/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-10"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-defaultrepositories"},"\ud83d\udcc4\ud83c\udf9b defaultRepositories"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsRepositoryDefinition[] public defaultRepositories\npublic NutsRepositoryDefinition[] getDefaultRepositories(workspace)\n")),Object(c.b)("h3",{id:"-instance-methods-13"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-createoptions-workspace-parentrepository"},"\u2699 create(options, workspace, parentRepository)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepository create(NutsAddRepositoryOptions options, NutsWorkspace workspace, NutsRepository parentRepository)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepository"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsAddRepositoryOptions options")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspace workspace")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsRepository parentRepository")," : ")),Object(c.b)("h2",{id:"-nutsrepositoryundeploycommand"},"\u2615 NutsRepositoryUndeployCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRepositoryUndeployCommand\n")),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-11"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-id-5"},"\ud83d\udcc4\ud83c\udf9b id"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(c.b)("h4",{id:"-offline-1"},"\ud83d\udcc4\ud83c\udf9b offline"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public offline\npublic boolean isOffline()\n")),Object(c.b)("h4",{id:"-repository-1"},"\ud83d\udcc4\ud83c\udf9b repository"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public repository\npublic String getRepository()\n")),Object(c.b)("h4",{id:"-transitive"},"\ud83d\udcc4\ud83c\udf9b transitive"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public transitive\npublic boolean isTransitive()\n")),Object(c.b)("h3",{id:"-instance-methods-14"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-run-5"},"\u2699 run()"),Object(c.b)("p",null,"run this command and return ","{","\\@code this","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryUndeployCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepositoryUndeployCommand"),Object(c.b)("h4",{id:"-setidid"},"\u2699 setId(id)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryUndeployCommand setId(NutsId id)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepositoryUndeployCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(c.b)("h4",{id:"-setofflineoffline"},"\u2699 setOffline(offline)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryUndeployCommand setOffline(boolean offline)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepositoryUndeployCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean offline")," : ")),Object(c.b)("h4",{id:"-setrepositoryrepository"},"\u2699 setRepository(repository)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryUndeployCommand setRepository(String repository)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepositoryUndeployCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String repository")," : ")),Object(c.b)("h4",{id:"-setsessionsession-1"},"\u2699 setSession(session)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryUndeployCommand setSession(NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepositoryUndeployCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(c.b)("h4",{id:"-settransitivetransitive"},"\u2699 setTransitive(transitive)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryUndeployCommand setTransitive(boolean transitive)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsRepositoryUndeployCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean transitive")," : ")),Object(c.b)("h2",{id:"-nutssearchrepositorycommand"},"\u2615 NutsSearchRepositoryCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSearchRepositoryCommand\n")),Object(c.b)("p",null," \\@author vpc\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-12"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-fetchmode-2"},"\ud83d\udcdd\ud83c\udf9b fetchMode"),Object(c.b)("p",null,"fetchMode"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchRepositoryCommand public fetchMode\npublic NutsFetchMode getFetchMode()\npublic NutsSearchRepositoryCommand setFetchMode(fetchMode)\n")),Object(c.b)("h4",{id:"-filter"},"\ud83d\udcc4\ud83c\udf9b filter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsIdFilter public filter\npublic NutsIdFilter getFilter()\n")),Object(c.b)("h4",{id:"-result-2"},"\ud83d\udcc4\ud83c\udf9b result"),Object(c.b)("p",null,"this method should return immediately and returns valid iterator.\nvisiting iterator may be blocking but not this method call.\nIf ","{","\\@code run()","}"," method has not been called yet, it will be called."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Iterator public result\npublic Iterator getResult()\n")),Object(c.b)("h3",{id:"-instance-methods-15"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-run-6"},"\u2699 run()"),Object(c.b)("p",null,"this method should return immediately after initializing a valid iterator to be\nretrieved by ","{","\\@code getResult()","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchRepositoryCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSearchRepositoryCommand"),Object(c.b)("h4",{id:"-setfilterfilter"},"\u2699 setFilter(filter)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchRepositoryCommand setFilter(NutsIdFilter filter)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSearchRepositoryCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsIdFilter filter")," : ")),Object(c.b)("h4",{id:"-setsessionsession-2"},"\u2699 setSession(session)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchRepositoryCommand setSession(NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSearchRepositoryCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(c.b)("h2",{id:"-nutssearchversionsrepositorycommand"},"\u2615 NutsSearchVersionsRepositoryCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSearchVersionsRepositoryCommand\n")),Object(c.b)("p",null," \\@author vpc\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-13"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-fetchmode-3"},"\ud83d\udcdd\ud83c\udf9b fetchMode"),Object(c.b)("p",null,"fetchMode"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchVersionsRepositoryCommand public fetchMode\npublic NutsFetchMode getFetchMode()\npublic NutsSearchVersionsRepositoryCommand setFetchMode(fetchMode)\n")),Object(c.b)("h4",{id:"-filter-1"},"\ud83d\udcc4\ud83c\udf9b filter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsIdFilter public filter\npublic NutsIdFilter getFilter()\n")),Object(c.b)("h4",{id:"-id-6"},"\ud83d\udcc4\ud83c\udf9b id"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(c.b)("h4",{id:"-result-3"},"\ud83d\udcc4\ud83c\udf9b result"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Iterator public result\npublic Iterator getResult()\n")),Object(c.b)("h3",{id:"-instance-methods-16"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-run-7"},"\u2699 run()"),Object(c.b)("p",null,"run this command and return ","{","\\@code this","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchVersionsRepositoryCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSearchVersionsRepositoryCommand"),Object(c.b)("h4",{id:"-setfilterfilter-1"},"\u2699 setFilter(filter)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchVersionsRepositoryCommand setFilter(NutsIdFilter filter)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSearchVersionsRepositoryCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsIdFilter filter")," : ")),Object(c.b)("h4",{id:"-setidid-1"},"\u2699 setId(id)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchVersionsRepositoryCommand setId(NutsId id)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSearchVersionsRepositoryCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(c.b)("h4",{id:"-setsessionsession-3"},"\u2699 setSession(session)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchVersionsRepositoryCommand setSession(NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSearchVersionsRepositoryCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(c.b)("h2",{id:"-nutsserviceloader"},"\u2615 NutsServiceLoader"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsServiceLoader\n")),Object(c.b)("p",null," Component service class loader.\n\\@author vpc\n\\@param \\"," component type\n\\@param \\"," component support constraint type\n\\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-methods-17"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-loadallcriteria"},"\u2699 loadAll(criteria)"),Object(c.b)("p",null,"load all NutsComponent instances matching criteria"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"List loadAll(NutsSupportLevelContext criteria)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":List"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSupportLevelContext criteria")," : criteria to match")),Object(c.b)("h4",{id:"-loadbestcriteria"},"\u2699 loadBest(criteria)"),Object(c.b)("p",null,"load best NutsComponent instance matching criteria"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsComponent loadBest(NutsSupportLevelContext criteria)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsComponent"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSupportLevelContext criteria")," : criteria to match")),Object(c.b)("h2",{id:"-nutssessionterminalbase"},"\u2615 NutsSessionTerminalBase"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSessionTerminalBase\n")),Object(c.b)("p",null," Session Terminal Base instance are special Terminal Base classes instances that handle workspace session."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h2",{id:"-nutssingleton"},"\u2615 NutsSingleton"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSingleton\n")),Object(c.b)("p",null," classes that are marked with this annotation will be created once by the\nfactory."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h2",{id:"-nutssupportlevelcontext"},"\u2615 NutsSupportLevelContext"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSupportLevelContext\n")),Object(c.b)("p",null," \\@author vpc\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-14"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-constraints-1"},"\ud83d\udcc4\ud83c\udf9b constraints"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public constraints\npublic Object getConstraints()\n")),Object(c.b)("h4",{id:"-workspace-2"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(c.b)("h2",{id:"-nutssystemterminalbase"},"\u2615 NutsSystemTerminalBase"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSystemTerminalBase\n")),Object(c.b)("p",null," Created by vpc on 2/20/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h2",{id:"-nutsterminalbase"},"\u2615 NutsTerminalBase"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTerminalBase\n")),Object(c.b)("p",null," Created by vpc on 2/20/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-15"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-err"},"\ud83d\udcc4\ud83c\udf9b err"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] PrintStream public err\npublic PrintStream getErr()\n")),Object(c.b)("h4",{id:"-errmode"},"\ud83d\udcc4\ud83c\udf9b errMode"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTerminalMode public errMode\npublic NutsTerminalMode getErrMode()\n")),Object(c.b)("h4",{id:"-in"},"\ud83d\udcc4\ud83c\udf9b in"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] InputStream public in\npublic InputStream getIn()\n")),Object(c.b)("h4",{id:"-out"},"\ud83d\udcc4\ud83c\udf9b out"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] PrintStream public out\npublic PrintStream getOut()\n")),Object(c.b)("h4",{id:"-outmode"},"\ud83d\udcc4\ud83c\udf9b outMode"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTerminalMode public outMode\npublic NutsTerminalMode getOutMode()\n")),Object(c.b)("h4",{id:"-parent"},"\ud83d\udcc4\ud83c\udf9b parent"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTerminalBase public parent\npublic NutsTerminalBase getParent()\n")),Object(c.b)("h3",{id:"-instance-methods-18"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-readlineout-prompt-params"},"\u2699 readLine(out, prompt, params)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String readLine(PrintStream out, String prompt, Object[] params)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"PrintStream out")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String prompt")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(c.b)("h4",{id:"-readpasswordout-prompt-params"},"\u2699 readPassword(out, prompt, params)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"char[] readPassword(PrintStream out, String prompt, Object[] params)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":char[]"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"PrintStream out")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String prompt")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(c.b)("h4",{id:"-seterrmodemode"},"\u2699 setErrMode(mode)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTerminalBase setErrMode(NutsTerminalMode mode)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTerminalBase"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsTerminalMode mode")," : ")),Object(c.b)("h4",{id:"-setoutmodemode"},"\u2699 setOutMode(mode)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTerminalBase setOutMode(NutsTerminalMode mode)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTerminalBase"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsTerminalMode mode")," : ")),Object(c.b)("h2",{id:"-nutstransportcomponent"},"\u2615 NutsTransportComponent"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTransportComponent\n")),Object(c.b)("p",null," Transport component responsible of creating a connexion to remote servers.\nShould handle at least valid http connections.\n\\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-methods-19"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-openurl"},"\u2699 open(url)"),Object(c.b)("p",null,"open url and return a valid ","{","\\@link NutsTransportConnection","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTransportConnection open(String url)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTransportConnection"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String url")," : url to open")),Object(c.b)("h2",{id:"-nutstransportconnection"},"\u2615 NutsTransportConnection"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTransportConnection\n")),Object(c.b)("p",null," Connection to a remote server."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-16"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-urlheader"},"\ud83d\udcc4\ud83c\udf9b uRLHeader"),Object(c.b)("p",null,"parse connection header and return meaningful information"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsURLHeader public uRLHeader\npublic NutsURLHeader getURLHeader()\n")),Object(c.b)("h3",{id:"-instance-methods-20"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-open"},"\u2699 open()"),Object(c.b)("p",null,"option connection and retrieve input stream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"InputStream open()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":InputStream"),Object(c.b)("h4",{id:"-uploadparts"},"\u2699 upload(parts)"),Object(c.b)("p",null,"parse connection header and return meaningful information"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"InputStream upload(NutsTransportParamPart[] parts)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":InputStream"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsTransportParamPart[] parts")," : parts to upload")),Object(c.b)("h2",{id:"-nutstransportparambinaryfilepart"},"\u2615 NutsTransportParamBinaryFilePart"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsTransportParamBinaryFilePart\n")),Object(c.b)("p",null," Created by vpc on 1/8/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors-3"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutstransportparambinaryfilepartname-filename-value"},"\ud83e\ude84 NutsTransportParamBinaryFilePart(name, fileName, value)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTransportParamBinaryFilePart(String name, String fileName, Path value)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String fileName")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path value")," : ")),Object(c.b)("h3",{id:"-instance-properties-17"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-filename"},"\ud83d\udcc4\ud83c\udf9b fileName"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fileName\npublic String getFileName()\n")),Object(c.b)("h4",{id:"-name-1"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-value"},"\ud83d\udcc4\ud83c\udf9b value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public value\npublic Path getValue()\n")),Object(c.b)("h3",{id:"-instance-methods-21"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-equalso-2"},"\u2699 equals(o)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object o")," : ")),Object(c.b)("h4",{id:"-hashcode-2"},"\u2699 hashCode()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h4",{id:"-tostring-2"},"\u2699 toString()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutstransportparambinarystreampart"},"\u2615 NutsTransportParamBinaryStreamPart"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsTransportParamBinaryStreamPart\n")),Object(c.b)("p",null," Created by vpc on 1/8/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors-4"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutstransportparambinarystreampartname-filename-value"},"\ud83e\ude84 NutsTransportParamBinaryStreamPart(name, fileName, value)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTransportParamBinaryStreamPart(String name, String fileName, InputStream value)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String fileName")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"InputStream value")," : ")),Object(c.b)("h3",{id:"-instance-properties-18"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-filename-1"},"\ud83d\udcc4\ud83c\udf9b fileName"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fileName\npublic String getFileName()\n")),Object(c.b)("h4",{id:"-name-2"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-value-1"},"\ud83d\udcc4\ud83c\udf9b value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] InputStream public value\npublic InputStream getValue()\n")),Object(c.b)("h2",{id:"-nutstransportparamparampart"},"\u2615 NutsTransportParamParamPart"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsTransportParamParamPart\n")),Object(c.b)("p",null," Created by vpc on 1/8/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors-5"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutstransportparamparampartname-value"},"\ud83e\ude84 NutsTransportParamParamPart(name, value)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTransportParamParamPart(String name, String value)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String value")," : ")),Object(c.b)("h3",{id:"-instance-properties-19"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-name-3"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-value-2"},"\ud83d\udcc4\ud83c\udf9b value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public value\npublic String getValue()\n")),Object(c.b)("h3",{id:"-instance-methods-22"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-equalso-3"},"\u2699 equals(o)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object o")," : ")),Object(c.b)("h4",{id:"-hashcode-3"},"\u2699 hashCode()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h4",{id:"-tostring-3"},"\u2699 toString()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutstransportparampart"},"\u2615 NutsTransportParamPart"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsTransportParamPart\n")),Object(c.b)("p",null," Created by vpc on 1/8/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors-6"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutstransportparampart"},"\ud83e\ude84 NutsTransportParamPart()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTransportParamPart()\n")),Object(c.b)("h2",{id:"-nutstransportparamtextfilepart"},"\u2615 NutsTransportParamTextFilePart"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsTransportParamTextFilePart\n")),Object(c.b)("p",null," Created by vpc on 1/8/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors-7"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutstransportparamtextfilepartname-filename-value"},"\ud83e\ude84 NutsTransportParamTextFilePart(name, fileName, value)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTransportParamTextFilePart(String name, String fileName, Path value)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String fileName")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path value")," : ")),Object(c.b)("h3",{id:"-instance-properties-20"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-filename-2"},"\ud83d\udcc4\ud83c\udf9b fileName"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fileName\npublic String getFileName()\n")),Object(c.b)("h4",{id:"-name-4"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-value-3"},"\ud83d\udcc4\ud83c\udf9b value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public value\npublic Path getValue()\n")),Object(c.b)("h3",{id:"-instance-methods-23"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-equalso-4"},"\u2699 equals(o)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object o")," : ")),Object(c.b)("h4",{id:"-hashcode-4"},"\u2699 hashCode()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h4",{id:"-tostring-4"},"\u2699 toString()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutstransportparamtextreaderpart"},"\u2615 NutsTransportParamTextReaderPart"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsTransportParamTextReaderPart\n")),Object(c.b)("p",null," Created by vpc on 1/8/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"\ud83e\ude84-constructors-8"},"\ud83e\ude84 Constructors"),Object(c.b)("h4",{id:"\ud83e\ude84-nutstransportparamtextreaderpartname-filename-value"},"\ud83e\ude84 NutsTransportParamTextReaderPart(name, fileName, value)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTransportParamTextReaderPart(String name, String fileName, Reader value)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String fileName")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Reader value")," : ")),Object(c.b)("h3",{id:"-instance-properties-21"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-filename-3"},"\ud83d\udcc4\ud83c\udf9b fileName"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fileName\npublic String getFileName()\n")),Object(c.b)("h4",{id:"-name-5"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-value-4"},"\ud83d\udcc4\ud83c\udf9b value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Reader public value\npublic Reader getValue()\n")),Object(c.b)("h3",{id:"-instance-methods-24"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-equalso-5"},"\u2699 equals(o)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object o")," : ")),Object(c.b)("h4",{id:"-hashcode-5"},"\u2699 hashCode()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h4",{id:"-tostring-5"},"\u2699 toString()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutsurlheader"},"\u2615 NutsURLHeader"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsURLHeader\n")),Object(c.b)("p",null," url header meaning ful information\n\\@author vpc\n\\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-22"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-contentencoding"},"\ud83d\udcc4\ud83c\udf9b contentEncoding"),Object(c.b)("p",null,"url content encoding"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public contentEncoding\npublic String getContentEncoding()\n")),Object(c.b)("h4",{id:"-contentlength"},"\ud83d\udcc4\ud83c\udf9b contentLength"),Object(c.b)("p",null,"url content length (file size)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public contentLength\npublic long getContentLength()\n")),Object(c.b)("h4",{id:"-contenttype"},"\ud83d\udcc4\ud83c\udf9b contentType"),Object(c.b)("p",null,"url content type (file type)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public contentType\npublic String getContentType()\n")),Object(c.b)("h4",{id:"-lastmodified"},"\ud83d\udcc4\ud83c\udf9b lastModified"),Object(c.b)("p",null,"url content last modified"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Instant public lastModified\npublic Instant getLastModified()\n")),Object(c.b)("h4",{id:"-url"},"\ud83d\udcc4\ud83c\udf9b url"),Object(c.b)("p",null,"url value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public url\npublic String getUrl()\n")),Object(c.b)("h2",{id:"-nutsupdaterepositorystatisticscommand"},"\u2615 NutsUpdateRepositoryStatisticsCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsUpdateRepositoryStatisticsCommand\n")),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-methods-25"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-configureskipunsupported-args-1"},"\u2699 configure(skipUnsupported, args)"),Object(c.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateRepositoryStatisticsCommand configure(boolean skipUnsupported, String[] args)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsUpdateRepositoryStatisticsCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(c.b)("h4",{id:"-run-8"},"\u2699 run()"),Object(c.b)("p",null,"run this command and return ","{","\\@code this","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateRepositoryStatisticsCommand run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsUpdateRepositoryStatisticsCommand"),Object(c.b)("h4",{id:"-setsessionsession-4"},"\u2699 setSession(session)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateRepositoryStatisticsCommand setSession(NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsUpdateRepositoryStatisticsCommand"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(c.b)("h2",{id:"-nutsworkspacearchetypecomponent"},"\u2615 NutsWorkspaceArchetypeComponent"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceArchetypeComponent\n")),Object(c.b)("p",null," Created by vpc on 1/23/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-23"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-name-6"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h3",{id:"-instance-methods-26"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-initializesession"},"\u2699 initialize(session)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void initialize(NutsSession session)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(c.b)("h2",{id:"-nutsworkspaceaware"},"\u2615 NutsWorkspaceAware"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceAware\n")),Object(c.b)("p",null," classes that implement this class will have their method ","{","\\@link #setWorkspace(NutsWorkspace)","}","\ncalled upon its creation (by factory) with a non ","{","\\@code null","}"," argument to \\","initialize\\",".\nThey \\","may\\"," accept a call with a ","{","\\@code null","}","\nargument later to \\","dispose\\"," the instance.\n\\@author vpc\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-24"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-workspace-3"},"\u270f\ud83c\udf9b workspace"),Object(c.b)("p",null,"initialize or dispose the instance.\nwhen workspace is not null, the instance should initialize it values\naccordingly.\nwhen workspace is null, the instance should dispose resources."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] void public workspace\npublic void setWorkspace(workspace)\n")),Object(c.b)("h2",{id:"-nutsworkspaceinitinformation"},"\u2615 NutsWorkspaceInitInformation"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceInitInformation\n")),Object(c.b)("p",null," workspace initialization options."),Object(c.b)("p",null," Created by vpc on 1/23/17."),Object(c.b)("p",null," \\@since 0.5.7\n\\@category SPI Base"),Object(c.b)("h3",{id:"-instance-properties-25"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-apiid"},"\ud83d\udcc4\ud83c\udf9b apiId"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public apiId\npublic String getApiId()\n")),Object(c.b)("h4",{id:"-apiversion"},"\ud83d\udcc4\ud83c\udf9b apiVersion"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public apiVersion\npublic String getApiVersion()\n")),Object(c.b)("h4",{id:"-bootrepositories"},"\ud83d\udcc4\ud83c\udf9b bootRepositories"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public bootRepositories\npublic String getBootRepositories()\n")),Object(c.b)("h4",{id:"-bootworkspacefactory"},"\ud83d\udcc4\ud83c\udf9b bootWorkspaceFactory"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsBootWorkspaceFactory public bootWorkspaceFactory\npublic NutsBootWorkspaceFactory getBootWorkspaceFactory()\n")),Object(c.b)("h4",{id:"-classworldloader"},"\ud83d\udcc4\ud83c\udf9b classWorldLoader"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] ClassLoader public classWorldLoader\npublic ClassLoader getClassWorldLoader()\n")),Object(c.b)("h4",{id:"-classworldurls"},"\ud83d\udcc4\ud83c\udf9b classWorldURLs"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] URL[] public classWorldURLs\npublic URL[] getClassWorldURLs()\n")),Object(c.b)("h4",{id:"-extensiondependencies"},"\ud83d\udcc4\ud83c\udf9b extensionDependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public extensionDependencies\npublic String getExtensionDependencies()\n")),Object(c.b)("h4",{id:"-extensiondependenciesset"},"\ud83d\udcc4\ud83c\udf9b extensionDependenciesSet"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Set public extensionDependenciesSet\npublic Set getExtensionDependenciesSet()\n")),Object(c.b)("h4",{id:"-javacommand"},"\ud83d\udcc4\ud83c\udf9b javaCommand"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public javaCommand\npublic String getJavaCommand()\n")),Object(c.b)("h4",{id:"-javaoptions"},"\ud83d\udcc4\ud83c\udf9b javaOptions"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public javaOptions\npublic String getJavaOptions()\n")),Object(c.b)("h4",{id:"-name-7"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-options-1"},"\ud83d\udcc4\ud83c\udf9b options"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspaceOptions public options\npublic NutsWorkspaceOptions getOptions()\n")),Object(c.b)("h4",{id:"-repositorystorelocationstrategy"},"\ud83d\udcc4\ud83c\udf9b repositoryStoreLocationStrategy"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsStoreLocationStrategy public repositoryStoreLocationStrategy\npublic NutsStoreLocationStrategy getRepositoryStoreLocationStrategy()\n")),Object(c.b)("h4",{id:"-runtimedependencies"},"\ud83d\udcc4\ud83c\udf9b runtimeDependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public runtimeDependencies\npublic String getRuntimeDependencies()\n")),Object(c.b)("h4",{id:"-runtimedependenciesset"},"\ud83d\udcc4\ud83c\udf9b runtimeDependenciesSet"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Set public runtimeDependenciesSet\npublic Set getRuntimeDependenciesSet()\n")),Object(c.b)("h4",{id:"-runtimeid"},"\ud83d\udcc4\ud83c\udf9b runtimeId"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public runtimeId\npublic String getRuntimeId()\n")),Object(c.b)("h4",{id:"-storelocation"},"\ud83d\udcc4\ud83c\udf9b storeLocation"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public storeLocation\npublic String getStoreLocation(location)\n")),Object(c.b)("h4",{id:"-storelocationlayout"},"\ud83d\udcc4\ud83c\udf9b storeLocationLayout"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsOsFamily public storeLocationLayout\npublic NutsOsFamily getStoreLocationLayout()\n")),Object(c.b)("h4",{id:"-storelocationstrategy"},"\ud83d\udcc4\ud83c\udf9b storeLocationStrategy"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsStoreLocationStrategy public storeLocationStrategy\npublic NutsStoreLocationStrategy getStoreLocationStrategy()\n")),Object(c.b)("h4",{id:"-uuid"},"\ud83d\udcc4\ud83c\udf9b uuid"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public uuid\npublic String getUuid()\n")),Object(c.b)("h4",{id:"-workspacelocation"},"\ud83d\udcc4\ud83c\udf9b workspaceLocation"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public workspaceLocation\npublic String getWorkspaceLocation()\n")))}i.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/4ed1c10b.b640ea65.js b/docs/4ed1c10b.b640ea65.js new file mode 100644 index 000000000..082fe1bf0 --- /dev/null +++ b/docs/4ed1c10b.b640ea65.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{118:function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return O}));var n=a(0),r=a.n(n);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function b(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var i=r.a.createContext({}),l=function(e){var t=r.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):b(b({},t),e)),a},p=function(e){var t=l(e.components);return r.a.createElement(i.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},j=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,c=e.parentName,i=s(e,["components","mdxType","originalType","parentName"]),p=l(a),j=n,O=p["".concat(c,".").concat(j)]||p[j]||u[j]||o;return a?r.a.createElement(O,b(b({ref:t},i),{},{components:a})):r.a.createElement(O,b({ref:t},i))}));function O(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,c=new Array(o);c[0]=j;var b={};for(var s in t)hasOwnProperty.call(t,s)&&(b[s]=t[s]);b.originalType=e,b.mdxType="string"==typeof e?e:n,c[1]=b;for(var i=2;i","\n\\","\\'local\\' : corresponds to a local updatable repository. will be named\n\\'local\\'\\","\n\\","\\'m2\\', \\'.m2\\', \\'maven-local\\' : corresponds the local maven folder\nrepository. will be named \\'local\\'\\","\n\\","\\'maven-central\\': corresponds the remote maven central repository.\nwill be named \\'local\\'\\","\n\\","\\'maven-git\\', \\'vpc-public-maven\\': corresponds the remote maven\nvpc-public-maven git folder repository. will be named \\'local\\'\\","\n\\","\\'maven-git\\', \\'vpc-public-nuts\\': corresponds the remote nuts\nvpc-public-nuts git folder repository. will be named \\'local\\'\\","\n\\","name=uri-or-path : corresponds the given uri. will be named name.\nHere are some examples:\n\\","\n\\","myremote=",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"http://192.168.6.3/folder%5C"}),"http://192.168.6.3/folder\\"),"","\n\\","myremote=/folder/subfolder\\","\n\\","myremote=c:/folder/subfolder\\","\n\\","\n\\","\n\\","uri-or-path : corresponds the given uri. will be named uri\\'s last\npath component name. Here are some examples:\n\\","\n\\",Object(o.b)("a",Object(n.a)({parentName:"p"},{href:"http://192.168.6.3/folder"}),"http://192.168.6.3/folder")," : will be named \\'folder\\'\\","\n\\","myremote=/folder/subfolder : will be named \\'folder\\'\\","\n\\","myremote=c:/folder/subfolder : will be named \\'folder\\'\\","\n\\","\n\\","\n\\"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepository addRepository(String repositoryNamedUrl, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsRepository"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String repositoryNamedUrl")," : repositoryNamedUrl"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-addsdklocation-options"},"\u2699 addSdk(location, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean addSdk(NutsSdkLocation location, NutsAddOptions options)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":boolean"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSdkLocation location")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsAddOptions options")," : ")),Object(o.b)("h4",{id:"-createcontentfaceidid-desc"},"\u2699 createContentFaceId(id, desc)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsId createContentFaceId(NutsId id, NutsDescriptor desc)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsId"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsId id")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsDescriptor desc")," : ")),Object(o.b)("h4",{id:"-createrepositoryoptions-rootfolder-parentrepository"},"\u2699 createRepository(options, rootFolder, parentRepository)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepository createRepository(NutsAddRepositoryOptions options, Path rootFolder, NutsRepository parentRepository)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsRepository"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsAddRepositoryOptions options")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Path rootFolder")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsRepository parentRepository")," : ")),Object(o.b)("h4",{id:"-createworkspacelistmanagername-session"},"\u2699 createWorkspaceListManager(name, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceListManager createWorkspaceListManager(String name, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceListManager"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findcommandaliasname-session"},"\u2699 findCommandAlias(name, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceCommandAlias findCommandAlias(String name, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceCommandAlias"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findcommandaliasname-forid-forowner-session"},"\u2699 findCommandAlias(name, forId, forOwner, session)"),Object(o.b)("p",null,"return alias definition for given name id and owner."),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceCommandAlias findCommandAlias(String name, NutsId forId, NutsId forOwner, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceCommandAlias"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : alias name, not null"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsId forId")," : if not null, the alias name should resolve to the given id"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsId forOwner")," : if not null, the alias name should resolve to the owner"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(o.b)("h4",{id:"-findcommandaliasessession"},"\u2699 findCommandAliases(session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"List findCommandAliases(NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":List"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findcommandaliasesid-session"},"\u2699 findCommandAliases(id, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"List findCommandAliases(NutsId id, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":List"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsId id")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findrepositoryrepositoryidorname-session"},"\u2699 findRepository(repositoryIdOrName, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepository findRepository(String repositoryIdOrName, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsRepository"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String repositoryIdOrName")," : repository id or name"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(o.b)("h4",{id:"-findrepositorybyidrepositoryidorname-session"},"\u2699 findRepositoryById(repositoryIdOrName, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepository findRepositoryById(String repositoryIdOrName, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsRepository"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String repositoryIdOrName")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findrepositorybynamerepositoryidorname-session"},"\u2699 findRepositoryByName(repositoryIdOrName, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepository findRepositoryByName(String repositoryIdOrName, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsRepository"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String repositoryIdOrName")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findsdksdktype-location-session"},"\u2699 findSdk(sdkType, location, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSdkLocation findSdk(String sdkType, NutsSdkLocation location, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsSdkLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String sdkType")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSdkLocation location")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findsdkbynamesdktype-locationname-session"},"\u2699 findSdkByName(sdkType, locationName, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSdkLocation findSdkByName(String sdkType, String locationName, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsSdkLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String sdkType")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String locationName")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findsdkbypathsdktype-path-session"},"\u2699 findSdkByPath(sdkType, path, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSdkLocation findSdkByPath(String sdkType, Path path, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsSdkLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String sdkType")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Path path")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-findsdkbyversionsdktype-version-session"},"\u2699 findSdkByVersion(sdkType, version, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSdkLocation findSdkByVersion(String sdkType, String version, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsSdkLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String sdkType")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String version")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-name-11"},"\u2699 name()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String name()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":String"),Object(o.b)("h4",{id:"-options-1"},"\u2699 options()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptions options()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptions"),Object(o.b)("h4",{id:"-removeallimportsoptions"},"\u2699 removeAllImports(options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void removeAllImports(NutsRemoveOptions options)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsRemoveOptions options")," : ")),Object(o.b)("h4",{id:"-removecommandaliasname-options"},"\u2699 removeCommandAlias(name, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean removeCommandAlias(String name, NutsRemoveOptions options)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":boolean"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsRemoveOptions options")," : ")),Object(o.b)("h4",{id:"-removecommandaliasfactoryname-options"},"\u2699 removeCommandAliasFactory(name, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean removeCommandAliasFactory(String name, NutsRemoveOptions options)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":boolean"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsRemoveOptions options")," : ")),Object(o.b)("h4",{id:"-removeimportsimportexpression-options"},"\u2699 removeImports(importExpression, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void removeImports(String[] importExpression, NutsRemoveOptions options)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] importExpression")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsRemoveOptions options")," : ")),Object(o.b)("h4",{id:"-removerepositorylocationorrepositoryid-options"},"\u2699 removeRepository(locationOrRepositoryId, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceConfigManager removeRepository(String locationOrRepositoryId, NutsRemoveOptions options)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceConfigManager"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String locationOrRepositoryId")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsRemoveOptions options")," : ")),Object(o.b)("h4",{id:"-removesdklocation-options"},"\u2699 removeSdk(location, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSdkLocation removeSdk(NutsSdkLocation location, NutsRemoveOptions options)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsSdkLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSdkLocation location")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsRemoveOptions options")," : ")),Object(o.b)("h4",{id:"-resolverepositorypathrepositorylocation"},"\u2699 resolveRepositoryPath(repositoryLocation)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Path resolveRepositoryPath(String repositoryLocation)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":Path"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String repositoryLocation")," : ")),Object(o.b)("h4",{id:"-resolvesdklocationsdktype-path-preferredname-session"},"\u2699 resolveSdkLocation(sdkType, path, preferredName, session)"),Object(o.b)("p",null,"verify if the path is a valid sdk path and return null if not"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSdkLocation resolveSdkLocation(String sdkType, Path path, String preferredName, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsSdkLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String sdkType")," : sdk type"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Path path")," : sdk path"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String preferredName")," : preferredName"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(o.b)("h4",{id:"-savesession-1"},"\u2699 save(session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void save(NutsSession session)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-saveforce-session-1"},"\u2699 save(force, session)"),Object(o.b)("p",null,"save config file if force is activated or non read only and some changes\nwas detected in config file"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean save(boolean force, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":boolean"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean force")," : when true, save will always be performed"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(o.b)("h4",{id:"-searchsdklocationssdktype-session"},"\u2699 searchSdkLocations(sdkType, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSdkLocation[] searchSdkLocations(String sdkType, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsSdkLocation[]"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String sdkType")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-searchsdklocationssdktype-path-session"},"\u2699 searchSdkLocations(sdkType, path, session)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSdkLocation[] searchSdkLocations(String sdkType, Path path, NutsSession session)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsSdkLocation[]"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String sdkType")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Path path")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(o.b)("h4",{id:"-setenvproperty-value-options-1"},"\u2699 setEnv(property, value, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setEnv(String property, String value, NutsUpdateOptions options)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String property")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String value")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : ")),Object(o.b)("h4",{id:"-sethomelocationlayout-foldertype-location-options"},"\u2699 setHomeLocation(layout, folderType, location, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setHomeLocation(NutsOsFamily layout, NutsStoreLocation folderType, String location, NutsUpdateOptions options)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsOsFamily layout")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocation folderType")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String location")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : ")),Object(o.b)("h4",{id:"-setimportsimports-options"},"\u2699 setImports(imports, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setImports(String[] imports, NutsUpdateOptions options)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] imports")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : ")),Object(o.b)("h4",{id:"-setstorelocationfoldertype-location-options"},"\u2699 setStoreLocation(folderType, location, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setStoreLocation(NutsStoreLocation folderType, String location, NutsUpdateOptions options)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocation folderType")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String location")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : ")),Object(o.b)("h4",{id:"-setstorelocationlayoutlayout-options"},"\u2699 setStoreLocationLayout(layout, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setStoreLocationLayout(NutsOsFamily layout, NutsUpdateOptions options)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsOsFamily layout")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : ")),Object(o.b)("h4",{id:"-setstorelocationstrategystrategy-options"},"\u2699 setStoreLocationStrategy(strategy, options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setStoreLocationStrategy(NutsStoreLocationStrategy strategy, NutsUpdateOptions options)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocationStrategy strategy")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : ")),Object(o.b)("h4",{id:"-stored"},"\u2699 stored()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceStoredConfig stored()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceStoredConfig"),Object(o.b)("h2",{id:"-nutsworkspacelistconfig"},"\u2615 NutsWorkspaceListConfig"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsWorkspaceListConfig\n")),Object(o.b)("p",null," Class for managing a Workspace list"),Object(o.b)("p",null," \\@author Nasreddine Bac Ali\ndate 2019-03-02\n\\@since 0.5.4\n\\@category Config"),Object(o.b)("h3",{id:"\ud83e\ude84-constructors-9"},"\ud83e\ude84 Constructors"),Object(o.b)("h4",{id:"\ud83e\ude84-nutsworkspacelistconfig"},"\ud83e\ude84 NutsWorkspaceListConfig()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceListConfig()\n")),Object(o.b)("h4",{id:"\ud83e\ude84-nutsworkspacelistconfigother"},"\ud83e\ude84 NutsWorkspaceListConfig(other)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceListConfig(NutsWorkspaceListConfig other)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsWorkspaceListConfig other")," : ")),Object(o.b)("h4",{id:"\ud83e\ude84-nutsworkspacelistconfiguuid-name"},"\ud83e\ude84 NutsWorkspaceListConfig(uuid, name)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceListConfig(String uuid, String name)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String uuid")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : ")),Object(o.b)("h3",{id:"-instance-properties-16"},"\ud83c\udf9b Instance Properties"),Object(o.b)("h4",{id:"-name-12"},"\ud83d\udcc4\ud83c\udf9b name"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(o.b)("h4",{id:"-uuid-4"},"\ud83d\udcc4\ud83c\udf9b uuid"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public uuid\npublic String getUuid()\n")),Object(o.b)("h4",{id:"-workspaces"},"\ud83d\udcc4\ud83c\udf9b workspaces"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] List public workspaces\npublic List getWorkspaces()\n")),Object(o.b)("h3",{id:"-instance-methods-15"},"\u2699 Instance Methods"),Object(o.b)("h4",{id:"-setnamename-2"},"\u2699 setName(name)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceListConfig setName(String name)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceListConfig"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : ")),Object(o.b)("h4",{id:"-setuuiduuid-1"},"\u2699 setUuid(uuid)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceListConfig setUuid(String uuid)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceListConfig"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String uuid")," : ")),Object(o.b)("h4",{id:"-setworkspacesworkspaces"},"\u2699 setWorkspaces(workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setWorkspaces(List workspaces)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"List workspaces")," : ")),Object(o.b)("h4",{id:"-tostring-8"},"\u2699 toString()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":String"),Object(o.b)("h2",{id:"-nutsworkspacelistmanager"},"\u2615 NutsWorkspaceListManager"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceListManager\n")),Object(o.b)("p",null," Class for managing a Workspace list"),Object(o.b)("p",null," \\@author Nasreddine Bac Ali\ndate 2019-03-02\n\\@since 0.5.4\n\\@category Config"),Object(o.b)("h3",{id:"-instance-properties-17"},"\ud83c\udf9b Instance Properties"),Object(o.b)("h4",{id:"-config-1"},"\ud83d\udcc4\ud83c\udf9b config"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspaceListConfig public config\npublic NutsWorkspaceListConfig getConfig()\n")),Object(o.b)("h4",{id:"-workspacelocation-1"},"\ud83d\udcc4\ud83c\udf9b workspaceLocation"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspaceLocation public workspaceLocation\npublic NutsWorkspaceLocation getWorkspaceLocation(uuid)\n")),Object(o.b)("h4",{id:"-workspaces-1"},"\ud83d\udcc4\ud83c\udf9b workspaces"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] List public workspaces\npublic List getWorkspaces()\n")),Object(o.b)("h3",{id:"-instance-methods-16"},"\u2699 Instance Methods"),Object(o.b)("h4",{id:"-addworkspacepath"},"\u2699 addWorkspace(path)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspace addWorkspace(String path)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspace"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String path")," : ")),Object(o.b)("h4",{id:"-removeworkspacename"},"\u2699 removeWorkspace(name)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean removeWorkspace(String name)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":boolean"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : ")),Object(o.b)("h4",{id:"-save"},"\u2699 save()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void save()\n")),Object(o.b)("h4",{id:"-setconfigconfig"},"\u2699 setConfig(config)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceListManager setConfig(NutsWorkspaceListConfig config)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceListManager"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsWorkspaceListConfig config")," : ")),Object(o.b)("h2",{id:"-nutsworkspacelocation"},"\u2615 NutsWorkspaceLocation"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsWorkspaceLocation\n")),Object(o.b)("p",null," Class for managing a Workspace list"),Object(o.b)("p",null," \\@author Nasreddine Bac Ali\ndate 2019-03-02\n\\@since 0.5.4\n\\@category Config"),Object(o.b)("h3",{id:"\ud83e\ude84-constructors-10"},"\ud83e\ude84 Constructors"),Object(o.b)("h4",{id:"\ud83e\ude84-nutsworkspacelocation"},"\ud83e\ude84 NutsWorkspaceLocation()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceLocation()\n")),Object(o.b)("h4",{id:"\ud83e\ude84-nutsworkspacelocationother"},"\ud83e\ude84 NutsWorkspaceLocation(other)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceLocation(NutsWorkspaceLocation other)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsWorkspaceLocation other")," : ")),Object(o.b)("h4",{id:"\ud83e\ude84-nutsworkspacelocationuuid-name-location"},"\ud83e\ude84 NutsWorkspaceLocation(uuid, name, location)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceLocation(String uuid, String name, String location)\n")),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String uuid")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String location")," : ")),Object(o.b)("h3",{id:"-instance-properties-18"},"\ud83c\udf9b Instance Properties"),Object(o.b)("h4",{id:"-enabled-2"},"\ud83d\udcc4\ud83c\udf9b enabled"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public enabled\npublic boolean isEnabled()\n")),Object(o.b)("h4",{id:"-location-3"},"\ud83d\udcc4\ud83c\udf9b location"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public location\npublic String getLocation()\n")),Object(o.b)("h4",{id:"-name-13"},"\ud83d\udcc4\ud83c\udf9b name"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(o.b)("h4",{id:"-uuid-5"},"\ud83d\udcc4\ud83c\udf9b uuid"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public uuid\npublic String getUuid()\n")),Object(o.b)("h3",{id:"-instance-methods-17"},"\u2699 Instance Methods"),Object(o.b)("h4",{id:"-copy-3"},"\u2699 copy()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceLocation copy()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceLocation"),Object(o.b)("h4",{id:"-equalso-5"},"\u2699 equals(o)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":boolean"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Object o")," : ")),Object(o.b)("h4",{id:"-hashcode-6"},"\u2699 hashCode()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":int"),Object(o.b)("h4",{id:"-setenabledenabled"},"\u2699 setEnabled(enabled)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceLocation setEnabled(boolean enabled)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean enabled")," : ")),Object(o.b)("h4",{id:"-setlocationlocation-2"},"\u2699 setLocation(location)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceLocation setLocation(String location)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String location")," : ")),Object(o.b)("h4",{id:"-setnamename-3"},"\u2699 setName(name)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceLocation setName(String name)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : ")),Object(o.b)("h4",{id:"-setuuiduuid-2"},"\u2699 setUuid(uuid)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceLocation setUuid(String uuid)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceLocation"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String uuid")," : ")),Object(o.b)("h4",{id:"-tostring-9"},"\u2699 toString()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":String"),Object(o.b)("h2",{id:"-nutsworkspaceopenmode"},"\u2615 NutsWorkspaceOpenMode"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsWorkspaceOpenMode\n")),Object(o.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Config"),Object(o.b)("h3",{id:"-constant-fields-2"},"\ud83d\udce2\u2744 Constant Fields"),Object(o.b)("h4",{id:"-create_new"},"\ud83d\udce2\u2744 CREATE_NEW"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsWorkspaceOpenMode CREATE_NEW\n")),Object(o.b)("h4",{id:"-open_existing"},"\ud83d\udce2\u2744 OPEN_EXISTING"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsWorkspaceOpenMode OPEN_EXISTING\n")),Object(o.b)("h4",{id:"-open_or_create"},"\ud83d\udce2\u2744 OPEN_OR_CREATE"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsWorkspaceOpenMode OPEN_OR_CREATE\n")),Object(o.b)("h3",{id:"-static-methods-1"},"\ud83d\udce2\u2699 Static Methods"),Object(o.b)("h4",{id:"-valueofname"},"\ud83d\udce2\u2699 valueOf(name)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOpenMode valueOf(String name)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOpenMode"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String name")," : ")),Object(o.b)("h4",{id:"-values"},"\ud83d\udce2\u2699 values()"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOpenMode[] values()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOpenMode[]"),Object(o.b)("h3",{id:"-instance-methods-18"},"\u2699 Instance Methods"),Object(o.b)("h4",{id:"-id-2"},"\u2699 id()"),Object(o.b)("p",null,"lower cased identifier."),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":String"),Object(o.b)("h2",{id:"-nutsworkspaceoptions"},"\u2615 NutsWorkspaceOptions"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceOptions\n")),Object(o.b)("p",null," Workspace options class that holds command argument information."),Object(o.b)("p",null," \\@since 0.5.4\n\\@category Config"),Object(o.b)("h3",{id:"-instance-properties-19"},"\ud83c\udf9b Instance Properties"),Object(o.b)("h4",{id:"-apiversion-2"},"\ud83d\udcc4\ud83c\udf9b apiVersion"),Object(o.b)("p",null,"nuts api version to boot.\n\\","\n\\","option-type :\\"," exported (inherited in child\nworkspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public apiVersion\npublic String getApiVersion()\n")),Object(o.b)("h4",{id:"-applicationarguments-1"},"\ud83d\udcc4\ud83c\udf9b applicationArguments"),Object(o.b)("p",null,"application arguments.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public applicationArguments\npublic String[] getApplicationArguments()\n")),Object(o.b)("h4",{id:"-archetype-1"},"\ud83d\udcc4\ud83c\udf9b archetype"),Object(o.b)("p",null,"workspace archetype to consider when creating a new workspace.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public archetype\npublic String getArchetype()\n")),Object(o.b)("h4",{id:"-bootrepositories-2"},"\ud83d\udcc4\ud83c\udf9b bootRepositories"),Object(o.b)("p",null,"boot repositories \\';\\' separated"),Object(o.b)("p",null," \\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public bootRepositories\npublic String getBootRepositories()\n")),Object(o.b)("h4",{id:"-cached-1"},"\ud83d\udcc4\ud83c\udf9b cached"),Object(o.b)("p",null,"when true, use cache\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public cached\npublic boolean isCached()\n")),Object(o.b)("h4",{id:"-classloadersupplier-1"},"\ud83d\udcc4\ud83c\udf9b classLoaderSupplier"),Object(o.b)("p",null,"class loader supplier.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Supplier public classLoaderSupplier\npublic Supplier getClassLoaderSupplier()\n")),Object(o.b)("h4",{id:"-confirm-1"},"\ud83d\udcc4\ud83c\udf9b confirm"),Object(o.b)("p",null,"confirm mode.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsConfirmationMode public confirm\npublic NutsConfirmationMode getConfirm()\n")),Object(o.b)("h4",{id:"-creationtime-1"},"\ud83d\udcc4\ud83c\udf9b creationTime"),Object(o.b)("p",null,"workspace creation evaluated time.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public creationTime\npublic long getCreationTime()\n")),Object(o.b)("h4",{id:"-credentials-2"},"\ud83d\udcc4\ud83c\udf9b credentials"),Object(o.b)("p",null,"credential needed to log into workspace.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] char[] public credentials\npublic char[] getCredentials()\n")),Object(o.b)("h4",{id:"-debug-1"},"\ud83d\udcc4\ud83c\udf9b debug"),Object(o.b)("p",null,"if true, extra debug information is written to standard output.\nParticularly, exception stack traces are displayed instead of simpler messages.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public debug\npublic boolean isDebug()\n")),Object(o.b)("h4",{id:"-dry-1"},"\ud83d\udcc4\ud83c\udf9b dry"),Object(o.b)("p",null,"if true no real execution, wil dry exec (execute without side effect).\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public dry\npublic boolean isDry()\n")),Object(o.b)("h4",{id:"-excludedextensions-1"},"\ud83d\udcc4\ud83c\udf9b excludedExtensions"),Object(o.b)("p",null,"extensions to be excluded when opening the workspace.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public excludedExtensions\npublic String[] getExcludedExtensions()\n")),Object(o.b)("h4",{id:"-excludedrepositories-1"},"\ud83d\udcc4\ud83c\udf9b excludedRepositories"),Object(o.b)("p",null,"repository list to be excluded when opening the workspace.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public excludedRepositories\npublic String[] getExcludedRepositories()\n")),Object(o.b)("h4",{id:"-executiontype-1"},"\ud83d\udcc4\ud83c\udf9b executionType"),Object(o.b)("p",null,"execution type.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsExecutionType public executionType\npublic NutsExecutionType getExecutionType()\n")),Object(o.b)("h4",{id:"-executoroptions-3"},"\ud83d\udcc4\ud83c\udf9b executorOptions"),Object(o.b)("p",null,"extra executor options.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public executorOptions\npublic String[] getExecutorOptions()\n")),Object(o.b)("h4",{id:"-executorservice-1"},"\ud83d\udcc4\ud83c\udf9b executorService"),Object(o.b)("p",null,"executor service used to create worker threads. when null, use default.\nthis option cannot be defined via arguments."),Object(o.b)("p",null," \\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] ExecutorService public executorService\npublic ExecutorService getExecutorService()\n")),Object(o.b)("h4",{id:"-fetchstrategy-1"},"\ud83d\udcc4\ud83c\udf9b fetchStrategy"),Object(o.b)("p",null,"default fetch strategy\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsFetchStrategy public fetchStrategy\npublic NutsFetchStrategy getFetchStrategy()\n")),Object(o.b)("h4",{id:"-global-2"},"\ud83d\udcc4\ud83c\udf9b global"),Object(o.b)("p",null,"if true consider global/system repository\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public global\npublic boolean isGlobal()\n")),Object(o.b)("h4",{id:"-gui-1"},"\ud83d\udcc4\ud83c\udf9b gui"),Object(o.b)("p",null,"if true consider GUI/Swing mode\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public gui\npublic boolean isGui()\n")),Object(o.b)("h4",{id:"-homelocations-2"},"\ud83d\udcc4\ud83c\udf9b homeLocations"),Object(o.b)("p",null,"return home locations.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)."),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public homeLocations\npublic Map getHomeLocations()\n")),Object(o.b)("h4",{id:"-indexed-1"},"\ud83d\udcc4\ud83c\udf9b indexed"),Object(o.b)("p",null,"when true, use index\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public indexed\npublic boolean isIndexed()\n")),Object(o.b)("h4",{id:"-inherited-1"},"\ud83d\udcc4\ud83c\udf9b inherited"),Object(o.b)("p",null,"if true, workspace were invoked from parent process and hence inherits its options.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public inherited\npublic boolean isInherited()\n")),Object(o.b)("h4",{id:"-javacommand-2"},"\ud83d\udcc4\ud83c\udf9b javaCommand"),Object(o.b)("p",null,"java command (or java home) used to run workspace.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public javaCommand\npublic String getJavaCommand()\n")),Object(o.b)("h4",{id:"-javaoptions-2"},"\ud83d\udcc4\ud83c\udf9b javaOptions"),Object(o.b)("p",null,"java options used to run workspace.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public javaOptions\npublic String getJavaOptions()\n")),Object(o.b)("h4",{id:"-logconfig-1"},"\ud83d\udcc4\ud83c\udf9b logConfig"),Object(o.b)("p",null,"workspace log configuration.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsLogConfig public logConfig\npublic NutsLogConfig getLogConfig()\n")),Object(o.b)("h4",{id:"-name-14"},"\ud83d\udcc4\ud83c\udf9b name"),Object(o.b)("p",null,"user friendly workspace name.\n\\","\n\\","option-type :\\"," exported (inherited in child\nworkspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(o.b)("h4",{id:"-openmode-1"},"\ud83d\udcc4\ud83c\udf9b openMode"),Object(o.b)("p",null,"mode used to open workspace.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspaceOpenMode public openMode\npublic NutsWorkspaceOpenMode getOpenMode()\n")),Object(o.b)("h4",{id:"-outputformat-1"},"\ud83d\udcc4\ud83c\udf9b outputFormat"),Object(o.b)("p",null,"default output format type.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsOutputFormat public outputFormat\npublic NutsOutputFormat getOutputFormat()\n")),Object(o.b)("h4",{id:"-outputformatoptions-1"},"\ud83d\udcc4\ud83c\udf9b outputFormatOptions"),Object(o.b)("p",null,"default output formation options.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public outputFormatOptions\npublic String[] getOutputFormatOptions()\n")),Object(o.b)("h4",{id:"-progressoptions-1"},"\ud83d\udcc4\ud83c\udf9b progressOptions"),Object(o.b)("p",null,"return progress options string.\nprogress options configures how progress monitors are processed.\n\\'no\\' value means that progress is disabled.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public progressOptions\npublic String getProgressOptions()\n")),Object(o.b)("h4",{id:"-readonly-2"},"\ud83d\udcc4\ud83c\udf9b readOnly"),Object(o.b)("p",null,"if true, workspace configuration are non modifiable.\nHowever cache stills modifiable so that it is possible to load external libraries.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public readOnly\npublic boolean isReadOnly()\n")),Object(o.b)("h4",{id:"-recover-1"},"\ud83d\udcc4\ud83c\udf9b recover"),Object(o.b)("p",null,"if true, boot, cache and temp folder are deleted.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public recover\npublic boolean isRecover()\n")),Object(o.b)("h4",{id:"-repositorystorelocationstrategy-2"},"\ud83d\udcc4\ud83c\udf9b repositoryStoreLocationStrategy"),Object(o.b)("p",null,"repository store location strategy to consider when creating new repositories\nfor a new workspace.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsStoreLocationStrategy public repositoryStoreLocationStrategy\npublic NutsStoreLocationStrategy getRepositoryStoreLocationStrategy()\n")),Object(o.b)("h4",{id:"-reset-1"},"\ud83d\udcc4\ud83c\udf9b reset"),Object(o.b)("p",null,"if true, workspace will be reset (all configuration and runtime files deleted).\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public reset\npublic boolean isReset()\n")),Object(o.b)("h4",{id:"-runtimeid-2"},"\ud83d\udcc4\ud83c\udf9b runtimeId"),Object(o.b)("p",null,"nuts runtime id (or version) to boot."),Object(o.b)("p",null," \\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public runtimeId\npublic String getRuntimeId()\n")),Object(o.b)("h4",{id:"-skipboot-1"},"\ud83d\udcc4\ud83c\udf9b skipBoot"),Object(o.b)("p",null,"if true, do not bootstrap workspace after reset/recover.\nWhen reset/recover is not active this option is not accepted and an error will be thrown\n\\","\ndefaults to false.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public skipBoot\npublic boolean isSkipBoot()\n")),Object(o.b)("h4",{id:"-skipcompanions-1"},"\ud83d\udcc4\ud83c\udf9b skipCompanions"),Object(o.b)("p",null,"if true, do not install nuts companion tools upon workspace creation.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public skipCompanions\npublic boolean isSkipCompanions()\n")),Object(o.b)("h4",{id:"-skipwelcome-1"},"\ud83d\udcc4\ud83c\udf9b skipWelcome"),Object(o.b)("p",null,"if true, do not run welcome when no application arguments were resolved.\n\\","\ndefaults to false.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public skipWelcome\npublic boolean isSkipWelcome()\n")),Object(o.b)("h4",{id:"-stderr-1"},"\ud83d\udcc4\ud83c\udf9b stderr"),Object(o.b)("p",null,"default standard error. when null, use ","{","\\@code System.err","}","\nthis option cannot be defined via arguments."),Object(o.b)("p",null," \\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] PrintStream public stderr\npublic PrintStream getStderr()\n")),Object(o.b)("h4",{id:"-stdin-1"},"\ud83d\udcc4\ud83c\udf9b stdin"),Object(o.b)("p",null,"default standard input. when null, use ","{","\\@code System.in","}","\nthis option cannot be defined via arguments."),Object(o.b)("p",null," \\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] InputStream public stdin\npublic InputStream getStdin()\n")),Object(o.b)("h4",{id:"-stdout-1"},"\ud83d\udcc4\ud83c\udf9b stdout"),Object(o.b)("p",null,"default standard output. when null, use ","{","\\@code System.out","}","\nthis option cannot be defined via arguments."),Object(o.b)("p",null," \\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] PrintStream public stdout\npublic PrintStream getStdout()\n")),Object(o.b)("h4",{id:"-storelocationlayout-2"},"\ud83d\udcc4\ud83c\udf9b storeLocationLayout"),Object(o.b)("p",null,"store location layout to consider when creating a new workspace.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsOsFamily public storeLocationLayout\npublic NutsOsFamily getStoreLocationLayout()\n")),Object(o.b)("h4",{id:"-storelocationstrategy-5"},"\ud83d\udcc4\ud83c\udf9b storeLocationStrategy"),Object(o.b)("p",null,"store location strategy for creating a new workspace.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsStoreLocationStrategy public storeLocationStrategy\npublic NutsStoreLocationStrategy getStoreLocationStrategy()\n")),Object(o.b)("h4",{id:"-storelocations-3"},"\ud83d\udcc4\ud83c\udf9b storeLocations"),Object(o.b)("p",null,"store locations map to consider when creating a new workspace.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public storeLocations\npublic Map getStoreLocations()\n")),Object(o.b)("h4",{id:"-terminalmode-1"},"\ud83d\udcc4\ud83c\udf9b terminalMode"),Object(o.b)("p",null,"terminal mode (inherited, formatted, filtered) to use.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTerminalMode public terminalMode\npublic NutsTerminalMode getTerminalMode()\n")),Object(o.b)("h4",{id:"-trace-1"},"\ud83d\udcc4\ud83c\udf9b trace"),Object(o.b)("p",null,"when true, extra trace user-friendly information is written to standard output.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public trace\npublic boolean isTrace()\n")),Object(o.b)("h4",{id:"-transientrepositories-1"},"\ud83d\udcc4\ud83c\udf9b transientRepositories"),Object(o.b)("p",null,"repositories to register temporarily when running the workspace.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public transientRepositories\npublic String[] getTransientRepositories()\n")),Object(o.b)("h4",{id:"-transitive-1"},"\ud83d\udcc4\ud83c\udf9b transitive"),Object(o.b)("p",null,"when true, use transitive repositories\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public transitive\npublic boolean isTransitive()\n")),Object(o.b)("h4",{id:"-username-2"},"\ud83d\udcc4\ud83c\udf9b userName"),Object(o.b)("p",null,"username to log into when running workspace.\n\\","\n\\","option-type :\\"," exported (inherited in child workspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public userName\npublic String getUserName()\n")),Object(o.b)("h4",{id:"-workspace-1"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(o.b)("p",null,"workspace folder location path.\n\\","\n\\","option-type :\\"," exported (inherited in child\nworkspaces)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public workspace\npublic String getWorkspace()\n")),Object(o.b)("h3",{id:"-instance-methods-19"},"\u2699 Instance Methods"),Object(o.b)("h4",{id:"-copy-4"},"\u2699 copy()"),Object(o.b)("p",null,"create a \\","mutable\\"," copy of this instance"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder copy()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("h4",{id:"-format-1"},"\u2699 format()"),Object(o.b)("p",null,"create a new instance of options formatter that help formatting this instance."),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat format()\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(o.b)("h4",{id:"-gethomelocationlayout-location"},"\u2699 getHomeLocation(layout, location)"),Object(o.b)("p",null,"return home location.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)."),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String getHomeLocation(NutsOsFamily layout, NutsStoreLocation location)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":String"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsOsFamily layout")," : layout"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocation location")," : location")),Object(o.b)("h4",{id:"-getstorelocationfolder"},"\u2699 getStoreLocation(folder)"),Object(o.b)("p",null,"store location for the given folder.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String getStoreLocation(NutsStoreLocation folder)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":String"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocation folder")," : folder type")),Object(o.b)("h2",{id:"-nutsworkspaceoptionsbuilder"},"\u2615 NutsWorkspaceOptionsBuilder"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceOptionsBuilder\n")),Object(o.b)("p",null," Mutable Workspace options\n\\@category Config"),Object(o.b)("h3",{id:"-instance-properties-20"},"\ud83c\udf9b Instance Properties"),Object(o.b)("h4",{id:"-homelocations-3"},"\u270f\ud83c\udf9b homeLocations"),Object(o.b)("p",null,"set home locations.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)."),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsWorkspaceOptionsBuilder public homeLocations\npublic NutsWorkspaceOptionsBuilder setHomeLocations(homeLocations)\n")),Object(o.b)("h4",{id:"-skipboot-2"},"\u270f\ud83c\udf9b skipBoot"),Object(o.b)("p",null,"if true, do not bootstrap workspace after reset/recover.\nWhen reset/recover is not active this option is not accepted and an error will be thrown\n\\","\ndefaults to false.\n\\","\n\\","option-type :\\"," runtime (available only for the current workspace instance)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsWorkspaceOptionsBuilder public skipBoot\npublic NutsWorkspaceOptionsBuilder setSkipBoot(skipBoot)\n")),Object(o.b)("h4",{id:"-storelocations-4"},"\u270f\ud83c\udf9b storeLocations"),Object(o.b)("p",null,"set store location strategy for creating a new workspace.\n\\","\n\\","option-type :\\"," create (used when creating new workspace. will not be\nexported nor promoted to runtime)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsWorkspaceOptionsBuilder public storeLocations\npublic NutsWorkspaceOptionsBuilder setStoreLocations(storeLocations)\n")),Object(o.b)("h3",{id:"-instance-methods-20"},"\u2699 Instance Methods"),Object(o.b)("h4",{id:"-addoutputformatoptionsoptions-1"},"\u2699 addOutputFormatOptions(options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder addOutputFormatOptions(String[] options)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] options")," : ")),Object(o.b)("h4",{id:"-setapiversionapiversion"},"\u2699 setApiVersion(apiVersion)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setApiVersion(String apiVersion)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String apiVersion")," : ")),Object(o.b)("h4",{id:"-setapplicationargumentsapplicationarguments"},"\u2699 setApplicationArguments(applicationArguments)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setApplicationArguments(String[] applicationArguments)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] applicationArguments")," : ")),Object(o.b)("h4",{id:"-setarchetypearchetype"},"\u2699 setArchetype(archetype)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setArchetype(String archetype)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String archetype")," : ")),Object(o.b)("h4",{id:"-setbootrepositoriesbootrepositories-1"},"\u2699 setBootRepositories(bootRepositories)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setBootRepositories(String bootRepositories)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String bootRepositories")," : ")),Object(o.b)("h4",{id:"-setcachedcached-1"},"\u2699 setCached(cached)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setCached(boolean cached)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean cached")," : ")),Object(o.b)("h4",{id:"-setclassloadersupplierprovider"},"\u2699 setClassLoaderSupplier(provider)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setClassLoaderSupplier(Supplier provider)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Supplier provider")," : ")),Object(o.b)("h4",{id:"-setconfirmconfirm"},"\u2699 setConfirm(confirm)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setConfirm(NutsConfirmationMode confirm)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsConfirmationMode confirm")," : ")),Object(o.b)("h4",{id:"-setcreationtimecreationtime"},"\u2699 setCreationTime(creationTime)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setCreationTime(long creationTime)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"long creationTime")," : ")),Object(o.b)("h4",{id:"-setcredentialscredentials-1"},"\u2699 setCredentials(credentials)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setCredentials(char[] credentials)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"char[] credentials")," : ")),Object(o.b)("h4",{id:"-setdebugdebug"},"\u2699 setDebug(debug)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setDebug(boolean debug)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean debug")," : ")),Object(o.b)("h4",{id:"-setdrydry"},"\u2699 setDry(dry)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setDry(boolean dry)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean dry")," : ")),Object(o.b)("h4",{id:"-setexcludedextensionsexcludedextensions"},"\u2699 setExcludedExtensions(excludedExtensions)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setExcludedExtensions(String[] excludedExtensions)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] excludedExtensions")," : ")),Object(o.b)("h4",{id:"-setexcludedrepositoriesexcludedrepositories"},"\u2699 setExcludedRepositories(excludedRepositories)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setExcludedRepositories(String[] excludedRepositories)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] excludedRepositories")," : ")),Object(o.b)("h4",{id:"-setexecutiontypeexecutiontype"},"\u2699 setExecutionType(executionType)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setExecutionType(NutsExecutionType executionType)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsExecutionType executionType")," : ")),Object(o.b)("h4",{id:"-setexecutoroptionsexecutoroptions"},"\u2699 setExecutorOptions(executorOptions)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setExecutorOptions(String[] executorOptions)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] executorOptions")," : ")),Object(o.b)("h4",{id:"-setexecutorserviceexecutorservice-1"},"\u2699 setExecutorService(executorService)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setExecutorService(ExecutorService executorService)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"ExecutorService executorService")," : ")),Object(o.b)("h4",{id:"-setfetchstrategyfetchstrategy-1"},"\u2699 setFetchStrategy(fetchStrategy)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setFetchStrategy(NutsFetchStrategy fetchStrategy)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsFetchStrategy fetchStrategy")," : ")),Object(o.b)("h4",{id:"-setglobalglobal"},"\u2699 setGlobal(global)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setGlobal(boolean global)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean global")," : ")),Object(o.b)("h4",{id:"-setguigui"},"\u2699 setGui(gui)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setGui(boolean gui)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean gui")," : ")),Object(o.b)("h4",{id:"-sethomelocationlayout-location-value-1"},"\u2699 setHomeLocation(layout, location, value)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setHomeLocation(NutsOsFamily layout, NutsStoreLocation location, String value)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsOsFamily layout")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocation location")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String value")," : ")),Object(o.b)("h4",{id:"-setindexedindexed-1"},"\u2699 setIndexed(indexed)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setIndexed(boolean indexed)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean indexed")," : ")),Object(o.b)("h4",{id:"-setinheritedinherited"},"\u2699 setInherited(inherited)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setInherited(boolean inherited)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean inherited")," : ")),Object(o.b)("h4",{id:"-setjavacommandjavacommand-1"},"\u2699 setJavaCommand(javaCommand)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setJavaCommand(String javaCommand)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String javaCommand")," : ")),Object(o.b)("h4",{id:"-setjavaoptionsjavaoptions"},"\u2699 setJavaOptions(javaOptions)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setJavaOptions(String javaOptions)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String javaOptions")," : ")),Object(o.b)("h4",{id:"-setlogconfiglogconfig"},"\u2699 setLogConfig(logConfig)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setLogConfig(NutsLogConfig logConfig)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsLogConfig logConfig")," : ")),Object(o.b)("h4",{id:"-setnameworkspacename"},"\u2699 setName(workspaceName)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setName(String workspaceName)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String workspaceName")," : ")),Object(o.b)("h4",{id:"-setopenmodeopenmode"},"\u2699 setOpenMode(openMode)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setOpenMode(NutsWorkspaceOpenMode openMode)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsWorkspaceOpenMode openMode")," : ")),Object(o.b)("h4",{id:"-setoutputformatoutputformat"},"\u2699 setOutputFormat(outputFormat)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setOutputFormat(NutsOutputFormat outputFormat)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsOutputFormat outputFormat")," : ")),Object(o.b)("h4",{id:"-setoutputformatoptionsoptions"},"\u2699 setOutputFormatOptions(options)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setOutputFormatOptions(String[] options)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] options")," : ")),Object(o.b)("h4",{id:"-setprogressoptionsprogressoptions-1"},"\u2699 setProgressOptions(progressOptions)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setProgressOptions(String progressOptions)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String progressOptions")," : ")),Object(o.b)("h4",{id:"-setreadonlyreadonly"},"\u2699 setReadOnly(readOnly)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setReadOnly(boolean readOnly)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean readOnly")," : ")),Object(o.b)("h4",{id:"-setrecoverrecover"},"\u2699 setRecover(recover)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setRecover(boolean recover)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean recover")," : ")),Object(o.b)("h4",{id:"-setrepositorystorelocationstrategyrepositorystorelocationstrategy"},"\u2699 setRepositoryStoreLocationStrategy(repositoryStoreLocationStrategy)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setRepositoryStoreLocationStrategy(NutsStoreLocationStrategy repositoryStoreLocationStrategy)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocationStrategy repositoryStoreLocationStrategy")," : ")),Object(o.b)("h4",{id:"-setresetreset"},"\u2699 setReset(reset)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setReset(boolean reset)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean reset")," : ")),Object(o.b)("h4",{id:"-setruntimeidruntimeid"},"\u2699 setRuntimeId(runtimeId)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setRuntimeId(String runtimeId)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String runtimeId")," : ")),Object(o.b)("h4",{id:"-setskipcompanionsskipinstallcompanions"},"\u2699 setSkipCompanions(skipInstallCompanions)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setSkipCompanions(boolean skipInstallCompanions)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean skipInstallCompanions")," : ")),Object(o.b)("h4",{id:"-setskipwelcomeskipwelcome"},"\u2699 setSkipWelcome(skipWelcome)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setSkipWelcome(boolean skipWelcome)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean skipWelcome")," : ")),Object(o.b)("h4",{id:"-setstderrstderr-1"},"\u2699 setStderr(stderr)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setStderr(PrintStream stderr)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"PrintStream stderr")," : ")),Object(o.b)("h4",{id:"-setstdinstdin-1"},"\u2699 setStdin(stdin)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setStdin(InputStream stdin)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"InputStream stdin")," : ")),Object(o.b)("h4",{id:"-setstdoutstdout-1"},"\u2699 setStdout(stdout)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setStdout(PrintStream stdout)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"PrintStream stdout")," : ")),Object(o.b)("h4",{id:"-setstorelocationlocation-value-1"},"\u2699 setStoreLocation(location, value)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setStoreLocation(NutsStoreLocation location, String value)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocation location")," : "),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String value")," : ")),Object(o.b)("h4",{id:"-setstorelocationlayoutstorelocationlayout"},"\u2699 setStoreLocationLayout(storeLocationLayout)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setStoreLocationLayout(NutsOsFamily storeLocationLayout)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsOsFamily storeLocationLayout")," : ")),Object(o.b)("h4",{id:"-setstorelocationstrategystorelocationstrategy-2"},"\u2699 setStoreLocationStrategy(storeLocationStrategy)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setStoreLocationStrategy(NutsStoreLocationStrategy storeLocationStrategy)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsStoreLocationStrategy storeLocationStrategy")," : ")),Object(o.b)("h4",{id:"-setterminalmodeterminalmode"},"\u2699 setTerminalMode(terminalMode)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setTerminalMode(NutsTerminalMode terminalMode)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"NutsTerminalMode terminalMode")," : ")),Object(o.b)("h4",{id:"-settracetrace"},"\u2699 setTrace(trace)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setTrace(boolean trace)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean trace")," : ")),Object(o.b)("h4",{id:"-settransientrepositoriestransientrepositories"},"\u2699 setTransientRepositories(transientRepositories)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setTransientRepositories(String[] transientRepositories)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String[] transientRepositories")," : ")),Object(o.b)("h4",{id:"-settransitivetransitive-1"},"\u2699 setTransitive(transitive)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setTransitive(boolean transitive)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"boolean transitive")," : ")),Object(o.b)("h4",{id:"-setusernameusername"},"\u2699 setUsername(username)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setUsername(String username)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String username")," : ")),Object(o.b)("h4",{id:"-setworkspaceworkspace"},"\u2699 setWorkspace(workspace)"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsBuilder setWorkspace(String workspace)\n")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsBuilder"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"String workspace")," : ")),Object(o.b)("h2",{id:"-nutsworkspacestoredconfig"},"\u2615 NutsWorkspaceStoredConfig"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceStoredConfig\n")),Object(o.b)("p",null," Nuts read-only configuration"),Object(o.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Config"),Object(o.b)("h3",{id:"-instance-properties-21"},"\ud83c\udf9b Instance Properties"),Object(o.b)("h4",{id:"-apiid-1"},"\ud83d\udcc4\ud83c\udf9b apiId"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public apiId\npublic NutsId getApiId()\n")),Object(o.b)("h4",{id:"-bootrepositories-3"},"\ud83d\udcc4\ud83c\udf9b bootRepositories"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public bootRepositories\npublic String getBootRepositories()\n")),Object(o.b)("h4",{id:"-global-3"},"\ud83d\udcc4\ud83c\udf9b global"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public global\npublic boolean isGlobal()\n")),Object(o.b)("h4",{id:"-homelocation-2"},"\ud83d\udcc4\ud83c\udf9b homeLocation"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public homeLocation\npublic String getHomeLocation(layout, location)\n")),Object(o.b)("h4",{id:"-homelocations-4"},"\ud83d\udcc4\ud83c\udf9b homeLocations"),Object(o.b)("p",null,'all home locations key/value map where keys are in the form\n"osfamily:location" and values are absolute paths.'),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public homeLocations\npublic Map getHomeLocations()\n")),Object(o.b)("h4",{id:"-javacommand-3"},"\ud83d\udcc4\ud83c\udf9b javaCommand"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public javaCommand\npublic String getJavaCommand()\n")),Object(o.b)("h4",{id:"-javaoptions-3"},"\ud83d\udcc4\ud83c\udf9b javaOptions"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public javaOptions\npublic String getJavaOptions()\n")),Object(o.b)("h4",{id:"-name-15"},"\ud83d\udcc4\ud83c\udf9b name"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(o.b)("h4",{id:"-repositorystorelocationstrategy-3"},"\ud83d\udcc4\ud83c\udf9b repositoryStoreLocationStrategy"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsStoreLocationStrategy public repositoryStoreLocationStrategy\npublic NutsStoreLocationStrategy getRepositoryStoreLocationStrategy()\n")),Object(o.b)("h4",{id:"-runtimedependencies"},"\ud83d\udcc4\ud83c\udf9b runtimeDependencies"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public runtimeDependencies\npublic String getRuntimeDependencies()\n")),Object(o.b)("h4",{id:"-runtimeid-3"},"\ud83d\udcc4\ud83c\udf9b runtimeId"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public runtimeId\npublic NutsId getRuntimeId()\n")),Object(o.b)("h4",{id:"-storelocation-3"},"\ud83d\udcc4\ud83c\udf9b storeLocation"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public storeLocation\npublic String getStoreLocation(folderType)\n")),Object(o.b)("h4",{id:"-storelocationlayout-3"},"\ud83d\udcc4\ud83c\udf9b storeLocationLayout"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsOsFamily public storeLocationLayout\npublic NutsOsFamily getStoreLocationLayout()\n")),Object(o.b)("h4",{id:"-storelocationstrategy-6"},"\ud83d\udcc4\ud83c\udf9b storeLocationStrategy"),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsStoreLocationStrategy public storeLocationStrategy\npublic NutsStoreLocationStrategy getStoreLocationStrategy()\n")),Object(o.b)("h4",{id:"-storelocations-5"},"\ud83d\udcc4\ud83c\udf9b storeLocations"),Object(o.b)("p",null,'all home locations key/value map where keys are in the form "location"\nand values are absolute paths.'),Object(o.b)("pre",null,Object(o.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public storeLocations\npublic Map getStoreLocations()\n")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/50b155a7.7c5f7b29.js b/docs/50b155a7.7c5f7b29.js new file mode 100644 index 000000000..3fd763027 --- /dev/null +++ b/docs/50b155a7.7c5f7b29.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{118:function(e,t,a){"use strict";a.d(t,"a",(function(){return u})),a.d(t,"b",(function(){return j}));var n=a(0),r=a.n(n);function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function b(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=r.a.createContext({}),s=function(e){var t=r.a.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):b(b({},t),e)),a},u=function(e){var t=s(e.components);return r.a.createElement(p.Provider,{value:t},e.children)},o={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},d=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,c=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=s(a),d=n,j=u["".concat(l,".").concat(d)]||u[d]||o[d]||c;return a?r.a.createElement(j,b(b({ref:t},p),{},{components:a})):r.a.createElement(j,b({ref:t},p))}));function j(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var c=a.length,l=new Array(c);l[0]=d;var b={};for(var i in t)hasOwnProperty.call(t,i)&&(b[i]=t[i]);b.originalType=e,b.mdxType="string"==typeof e?e:n,l[1]=b;for(var p=2;p","immutable\\"," object that contains all information about a component\\'s dependency.\n\\@author vpc\n\\@since 0.5.3\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-artifactid"},"\ud83d\udcc4\ud83c\udf9b artifactId"),Object(c.b)("p",null,"return artifact id (aka artifactId)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public artifactId\npublic String getArtifactId()\n")),Object(c.b)("h4",{id:"-classifier-2"},"\ud83d\udcc4\ud83c\udf9b classifier"),Object(c.b)("p",null,"get classifier string value (may be $ var)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public classifier\npublic String getClassifier()\n")),Object(c.b)("h4",{id:"-exclusions"},"\ud83d\udcc4\ud83c\udf9b exclusions"),Object(c.b)("p",null,"dependency exclusions"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public exclusions\npublic NutsId[] getExclusions()\n")),Object(c.b)("h4",{id:"-fullname"},"\ud83d\udcc4\ud83c\udf9b fullName"),Object(c.b)("p",null,"return dependency full name in the form\nnamespace://group:name#version?scope=","<","scope",">","{","\\@code &","}","optional=","<","optional",">"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fullName\npublic String getFullName()\n")),Object(c.b)("h4",{id:"-groupid"},"\ud83d\udcc4\ud83c\udf9b groupId"),Object(c.b)("p",null,"return artifact group id (aka groupId in maven)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public groupId\npublic String getGroupId()\n")),Object(c.b)("h4",{id:"-id"},"\ud83d\udcc4\ud83c\udf9b id"),Object(c.b)("p",null,"convert to NutsId"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(c.b)("h4",{id:"-longname"},"\ud83d\udcc4\ud83c\udf9b longName"),Object(c.b)("p",null,"return dependency full name in the form\ngroup:name#version"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public longName\npublic String getLongName()\n")),Object(c.b)("h4",{id:"-namespace"},"\ud83d\udcc4\ud83c\udf9b namespace"),Object(c.b)("p",null,"return namespace"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public namespace\npublic String getNamespace()\n")),Object(c.b)("h4",{id:"-optional"},"\ud83d\udcc4\ud83c\udf9b optional"),Object(c.b)("p",null,"Indicates the dependency is optional for use of this library."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public optional\npublic String getOptional()\n")),Object(c.b)("h4",{id:"-properties"},"\ud83d\udcc4\ud83c\udf9b properties"),Object(c.b)("p",null,"properties in the url query form"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public properties\npublic Map getProperties()\n")),Object(c.b)("h4",{id:"-propertiesquery"},"\ud83d\udcc4\ud83c\udf9b propertiesQuery"),Object(c.b)("p",null,"properties in the url query form"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public propertiesQuery\npublic String getPropertiesQuery()\n")),Object(c.b)("h4",{id:"-scope"},"\ud83d\udcc4\ud83c\udf9b scope"),Object(c.b)("p",null,"get scope string value (may be $ var)."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public scope\npublic String getScope()\n")),Object(c.b)("h4",{id:"-simplename"},"\ud83d\udcc4\ud83c\udf9b simpleName"),Object(c.b)("p",null,"return dependency full name in the form\ngroup:name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public simpleName\npublic String getSimpleName()\n")),Object(c.b)("h4",{id:"-version"},"\ud83d\udcc4\ud83c\udf9b version"),Object(c.b)("p",null,"return dependency version"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsVersion public version\npublic NutsVersion getVersion()\n")),Object(c.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-builder"},"\u2699 builder()"),Object(c.b)("p",null,"return mutable id builder instance initialized with ","{","\\@code this","}"," instance."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder builder()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("h2",{id:"-nutsdependencybuilder"},"\u2615 NutsDependencyBuilder"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDependencyBuilder\n")),Object(c.b)("p",null," Dependency Builder (mutable).\nUser should use available \\'set\\' method and finally call ","{","\\@link #build()","}","\nto get an instance of immutable NutsDependency"),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-5"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-artifactid-1"},"\ud83d\udcdd\ud83c\udf9b artifactId"),Object(c.b)("p",null,"set name value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public artifactId\npublic String getArtifactId()\npublic NutsDependencyBuilder setArtifactId(artifactId)\n")),Object(c.b)("h4",{id:"-classifier-3"},"\ud83d\udcdd\ud83c\udf9b classifier"),Object(c.b)("p",null,"set classifier value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public classifier\npublic String getClassifier()\npublic NutsDependencyBuilder setClassifier(classifier)\n")),Object(c.b)("h4",{id:"-dependency"},"\u270f\ud83c\udf9b dependency"),Object(c.b)("p",null,"reset this instance with value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsDependencyBuilder public dependency\npublic NutsDependencyBuilder setDependency(value)\n")),Object(c.b)("h4",{id:"-exclusions-1"},"\ud83d\udcdd\ud83c\udf9b exclusions"),Object(c.b)("p",null,"set exclusions value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public exclusions\npublic NutsId[] getExclusions()\npublic NutsDependencyBuilder setExclusions(exclusions)\n")),Object(c.b)("h4",{id:"-fullname-1"},"\ud83d\udcc4\ud83c\udf9b fullName"),Object(c.b)("p",null,"return full name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fullName\npublic String getFullName()\n")),Object(c.b)("h4",{id:"-groupid-1"},"\ud83d\udcdd\ud83c\udf9b groupId"),Object(c.b)("p",null,"set group value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public groupId\npublic String getGroupId()\npublic NutsDependencyBuilder setGroupId(groupId)\n")),Object(c.b)("h4",{id:"-id-1"},"\ud83d\udcdd\ud83c\udf9b id"),Object(c.b)("p",null,"set id value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public id\npublic NutsId getId()\npublic NutsDependencyBuilder setId(id)\n")),Object(c.b)("h4",{id:"-namespace-1"},"\ud83d\udcdd\ud83c\udf9b namespace"),Object(c.b)("p",null,"set namespace value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public namespace\npublic String getNamespace()\npublic NutsDependencyBuilder setNamespace(namespace)\n")),Object(c.b)("h4",{id:"-optional-1"},"\ud83d\udcdd\ud83c\udf9b optional"),Object(c.b)("p",null,"set optional value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public optional\npublic String getOptional()\npublic NutsDependencyBuilder setOptional(optional)\n")),Object(c.b)("h4",{id:"-properties-1"},"\ud83d\udcc4\ud83c\udf9b properties"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public properties\npublic Map getProperties()\n")),Object(c.b)("h4",{id:"-propertiesquery-1"},"\ud83d\udcc4\ud83c\udf9b propertiesQuery"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public propertiesQuery\npublic String getPropertiesQuery()\n")),Object(c.b)("h4",{id:"-scope-1"},"\ud83d\udcdd\ud83c\udf9b scope"),Object(c.b)("p",null,"set scope value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public scope\npublic String getScope()\npublic NutsDependencyBuilder setScope(scope)\n")),Object(c.b)("h4",{id:"-version-1"},"\ud83d\udcdd\ud83c\udf9b version"),Object(c.b)("p",null,"set version value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDependencyBuilder public version\npublic NutsVersion getVersion()\npublic NutsDependencyBuilder setVersion(version)\n")),Object(c.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-addpropertiespropertiesquery"},"\u2699 addProperties(propertiesQuery)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder addProperties(String propertiesQuery)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String propertiesQuery")," : ")),Object(c.b)("h4",{id:"-addpropertiesquerymap"},"\u2699 addProperties(queryMap)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder addProperties(Map queryMap)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Map queryMap")," : ")),Object(c.b)("h4",{id:"-build-1"},"\u2699 build()"),Object(c.b)("p",null,"build new instance of NutsDependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependency build()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependency"),Object(c.b)("h4",{id:"-clear-1"},"\u2699 clear()"),Object(c.b)("p",null,"reset this instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder clear()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("h4",{id:"-setvalue-2"},"\u2699 set(value)"),Object(c.b)("p",null,"reset this instance with value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder set(NutsDependencyBuilder value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependencyBuilder value")," : new value")),Object(c.b)("h4",{id:"-setvalue-3"},"\u2699 set(value)"),Object(c.b)("p",null,"reset this instance with value"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder set(NutsDependency value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency value")," : new value")),Object(c.b)("h4",{id:"-setpropertiespropertiesquery"},"\u2699 setProperties(propertiesQuery)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder setProperties(String propertiesQuery)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String propertiesQuery")," : ")),Object(c.b)("h4",{id:"-setpropertiesquerymap"},"\u2699 setProperties(queryMap)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder setProperties(Map queryMap)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Map queryMap")," : ")),Object(c.b)("h4",{id:"-setpropertyproperty-value"},"\u2699 setProperty(property, value)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyBuilder setProperty(String property, String value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String property")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String value")," : ")),Object(c.b)("h2",{id:"-nutsdependencyfilter"},"\u2615 NutsDependencyFilter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDependencyFilter\n")),Object(c.b)("p",null," Dependency filter"),Object(c.b)("p",null," \\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-methods-4"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-acceptfrom-dependency-session"},"\u2699 accept(from, dependency, session)"),Object(c.b)("p",null,"return true if the ","{","\\@code dependency","}"," is accepted"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean accept(NutsId from, NutsDependency dependency, NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsId from")," : parent (dependent) id"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency dependency")," : dependency id"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(c.b)("h2",{id:"-nutsdependencyscope"},"\u2615 NutsDependencyScope"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsDependencyScope\n")),Object(c.b)("p",null," Supported dependency scope lists\n\\@author vpc\n\\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-constant-fields"},"\ud83d\udce2\u2744 Constant Fields"),Object(c.b)("h4",{id:"-api"},"\ud83d\udce2\u2744 API"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope API\n")),Object(c.b)("h4",{id:"-implementation"},"\ud83d\udce2\u2744 IMPLEMENTATION"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope IMPLEMENTATION\n")),Object(c.b)("h4",{id:"-import"},"\ud83d\udce2\u2744 IMPORT"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope IMPORT\n")),Object(c.b)("h4",{id:"-other"},"\ud83d\udce2\u2744 OTHER"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope OTHER\n")),Object(c.b)("h4",{id:"-provided"},"\ud83d\udce2\u2744 PROVIDED"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope PROVIDED\n")),Object(c.b)("h4",{id:"-runtime"},"\ud83d\udce2\u2744 RUNTIME"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope RUNTIME\n")),Object(c.b)("h4",{id:"-system"},"\ud83d\udce2\u2744 SYSTEM"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope SYSTEM\n")),Object(c.b)("h4",{id:"-test_compile"},"\ud83d\udce2\u2744 TEST_COMPILE"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope TEST_COMPILE\n")),Object(c.b)("h4",{id:"-test_provided"},"\ud83d\udce2\u2744 TEST_PROVIDED"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope TEST_PROVIDED\n")),Object(c.b)("h4",{id:"-test_runtime"},"\ud83d\udce2\u2744 TEST_RUNTIME"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScope TEST_RUNTIME\n")),Object(c.b)("h3",{id:"-static-methods"},"\ud83d\udce2\u2699 Static Methods"),Object(c.b)("h4",{id:"-valueofname"},"\ud83d\udce2\u2699 valueOf(name)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyScope valueOf(String name)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyScope"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : ")),Object(c.b)("h4",{id:"-values"},"\ud83d\udce2\u2699 values()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyScope[] values()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyScope[]"),Object(c.b)("h3",{id:"-instance-methods-5"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-id-2"},"\u2699 id()"),Object(c.b)("p",null,"lower cased identifier."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutsdependencyscopepattern"},"\u2615 NutsDependencyScopePattern"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsDependencyScopePattern\n")),Object(c.b)("p",null," Supported dependency scope pattern.\nA dependency scope pattern\n\\@author vpc\n\\@since 0.5.6\n\\@category Descriptor"),Object(c.b)("h3",{id:"-constant-fields-1"},"\ud83d\udce2\u2744 Constant Fields"),Object(c.b)("h4",{id:"-all"},"\ud83d\udce2\u2744 ALL"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern ALL\n")),Object(c.b)("h4",{id:"-api-1"},"\ud83d\udce2\u2744 API"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern API\n")),Object(c.b)("h4",{id:"-compile"},"\ud83d\udce2\u2744 COMPILE"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern COMPILE\n")),Object(c.b)("h4",{id:"-implementation-1"},"\ud83d\udce2\u2744 IMPLEMENTATION"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern IMPLEMENTATION\n")),Object(c.b)("h4",{id:"-import-1"},"\ud83d\udce2\u2744 IMPORT"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern IMPORT\n")),Object(c.b)("h4",{id:"-other-1"},"\ud83d\udce2\u2744 OTHER"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern OTHER\n")),Object(c.b)("h4",{id:"-provided-1"},"\ud83d\udce2\u2744 PROVIDED"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern PROVIDED\n")),Object(c.b)("h4",{id:"-run"},"\ud83d\udce2\u2744 RUN"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern RUN\n")),Object(c.b)("h4",{id:"-runtime-1"},"\ud83d\udce2\u2744 RUNTIME"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern RUNTIME\n")),Object(c.b)("h4",{id:"-run_test"},"\ud83d\udce2\u2744 RUN_TEST"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern RUN_TEST\n")),Object(c.b)("h4",{id:"-system-1"},"\ud83d\udce2\u2744 SYSTEM"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern SYSTEM\n")),Object(c.b)("h4",{id:"-test"},"\ud83d\udce2\u2744 TEST"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern TEST\n")),Object(c.b)("h4",{id:"-test_compile-1"},"\ud83d\udce2\u2744 TEST_COMPILE"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern TEST_COMPILE\n")),Object(c.b)("h4",{id:"-test_provided-1"},"\ud83d\udce2\u2744 TEST_PROVIDED"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern TEST_PROVIDED\n")),Object(c.b)("h4",{id:"-test_runtime-1"},"\ud83d\udce2\u2744 TEST_RUNTIME"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsDependencyScopePattern TEST_RUNTIME\n")),Object(c.b)("h3",{id:"-static-methods-1"},"\ud83d\udce2\u2699 Static Methods"),Object(c.b)("h4",{id:"-valueofname-1"},"\ud83d\udce2\u2699 valueOf(name)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyScopePattern valueOf(String name)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyScopePattern"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : ")),Object(c.b)("h4",{id:"-values-1"},"\ud83d\udce2\u2699 values()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyScopePattern[] values()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDependencyScopePattern[]"),Object(c.b)("h3",{id:"-instance-methods-6"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-id-3"},"\u2699 id()"),Object(c.b)("p",null,"lower cased identifier."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutsdependencytreenode"},"\u2615 NutsDependencyTreeNode"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDependencyTreeNode\n")),Object(c.b)("p",null," Dependency tree node\n\\@author vpc\n\\@since 0.5.5\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-6"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-children"},"\ud83d\udcc4\ud83c\udf9b children"),Object(c.b)("p",null,"node children"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDependencyTreeNode[] public children\npublic NutsDependencyTreeNode[] getChildren()\n")),Object(c.b)("h4",{id:"-dependency-1"},"\ud83d\udcc4\ud83c\udf9b dependency"),Object(c.b)("p",null,"node dependency"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDependency public dependency\npublic NutsDependency getDependency()\n")),Object(c.b)("h4",{id:"-partial"},"\ud83d\udcc4\ud83c\udf9b partial"),Object(c.b)("p",null,"true if the node is partial filled (not all children are considered)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public partial\npublic boolean isPartial()\n")),Object(c.b)("h2",{id:"-nutsdescriptor"},"\u2615 NutsDescriptor"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDescriptor\n")),Object(c.b)("p",null," Nuts descriptors define an \\","immutable\\"," image to all information needed to execute an artifact.\nIt resembles to maven\\'s pom file but it focuses on execution information\nrather then build information. Common features are inheritance\ndependencies, standard dependencies, exclusions and properties.\nHowever nuts descriptor adds new features such as :\n\\","\n\\","multiple parent inheritance\\","\n\\","executable/nuts-executable flag\\","\n\\","environment (arch, os, dist,platform) filters\\","\n\\","classifiers may be mapped to environment (think of dlls for windows and so for linux)\\","\n\\","\nA versatile way to change descriptor is to use builder (","{","\\@link #builder()","}",")."),Object(c.b)("p",null," \\@since 0.1.0\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-7"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-application"},"\ud83d\udcc4\ud83c\udf9b application"),Object(c.b)("p",null,"true if the artifact is a java executable that implements ","{","\\@link NutsApplication","}"," interface."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public application\npublic boolean isApplication()\n")),Object(c.b)("h4",{id:"-arch-2"},"\ud83d\udcc4\ud83c\udf9b arch"),Object(c.b)("p",null,"supported archs. if empty, all arch are supported (for example for java, all arch are supported)."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public arch\npublic String[] getArch()\n")),Object(c.b)("h4",{id:"-classifiermappings"},"\ud83d\udcc4\ud83c\udf9b classifierMappings"),Object(c.b)("p",null,"ordered list of classifier mapping used to resolve valid classifier to use of ra given environment."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsClassifierMapping[] public classifierMappings\npublic NutsClassifierMapping[] getClassifierMappings()\n")),Object(c.b)("h4",{id:"-dependencies"},"\ud83d\udcc4\ud83c\udf9b dependencies"),Object(c.b)("p",null,"list of immediate (non inherited and non transitive dependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDependency[] public dependencies\npublic NutsDependency[] getDependencies()\n")),Object(c.b)("h4",{id:"-description"},"\ud83d\udcc4\ud83c\udf9b description"),Object(c.b)("p",null,"long description for the artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public description\npublic String getDescription()\n")),Object(c.b)("h4",{id:"-executable"},"\ud83d\udcc4\ud83c\udf9b executable"),Object(c.b)("p",null,"true if the artifact is executable and is considered an application. if not it is a library."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public executable\npublic boolean isExecutable()\n")),Object(c.b)("h4",{id:"-executor"},"\ud83d\udcc4\ud83c\udf9b executor"),Object(c.b)("p",null,"descriptor of artifact responsible of running this artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsArtifactCall public executor\npublic NutsArtifactCall getExecutor()\n")),Object(c.b)("h4",{id:"-id-4"},"\ud83d\udcc4\ud83c\udf9b id"),Object(c.b)("p",null,"artifact full id (groupId+artifactId+version)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(c.b)("h4",{id:"-installer"},"\ud83d\udcc4\ud83c\udf9b installer"),Object(c.b)("p",null,"descriptor of artifact responsible of installing this artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsArtifactCall public installer\npublic NutsArtifactCall getInstaller()\n")),Object(c.b)("h4",{id:"-locations"},"\ud83d\udcc4\ud83c\udf9b locations"),Object(c.b)("p",null,"list of available mirror locations from which nuts can download artifact content.\nlocation can be mapped to a classifier."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsIdLocation[] public locations\npublic NutsIdLocation[] getLocations()\n")),Object(c.b)("h4",{id:"-name"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("p",null,"user friendly name, a short description for the artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-os-2"},"\ud83d\udcc4\ud83c\udf9b os"),Object(c.b)("p",null,"supported operating systems. if empty, all oses are supported (for example for java, all arch are supported)."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public os\npublic String[] getOs()\n")),Object(c.b)("h4",{id:"-osdist-2"},"\ud83d\udcc4\ud83c\udf9b osdist"),Object(c.b)("p",null,"supported operating system distributions (mostly for linux systems). if empty, all distributions are supported."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public osdist\npublic String[] getOsdist()\n")),Object(c.b)("h4",{id:"-packaging-2"},"\ud83d\udcc4\ud83c\udf9b packaging"),Object(c.b)("p",null,"return descriptor packaging (used to resolve file extension)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public packaging\npublic String getPackaging()\n")),Object(c.b)("h4",{id:"-parents"},"\ud83d\udcc4\ud83c\udf9b parents"),Object(c.b)("p",null,"descriptor parent list (may be empty)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public parents\npublic NutsId[] getParents()\n")),Object(c.b)("h4",{id:"-platform-2"},"\ud83d\udcc4\ud83c\udf9b platform"),Object(c.b)("p",null,"supported platforms (java, dotnet, ...). if empty patform is not relevant.\nThis is helpful to bind application to a jdk version for instance (in that case platform may be in the form java#8 for instance)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public platform\npublic String[] getPlatform()\n")),Object(c.b)("h4",{id:"-properties-2"},"\ud83d\udcc4\ud83c\udf9b properties"),Object(c.b)("p",null,"custom properties that can be used as place holders (int $","{","name","}"," form) in other fields."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public properties\npublic Map getProperties()\n")),Object(c.b)("h4",{id:"-standarddependencies"},"\ud83d\udcc4\ud83c\udf9b standardDependencies"),Object(c.b)("p",null,"The dependencies specified here are not used until they are referenced in\na POM within the group. This allows the specification of a\n",'"',"standard",'"',' version for a particular. This corresponds to\n"dependencyManagement.dependencies" in maven'),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDependency[] public standardDependencies\npublic NutsDependency[] getStandardDependencies()\n")),Object(c.b)("h3",{id:"-instance-methods-7"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-builder-1"},"\u2699 builder()"),Object(c.b)("p",null,"create new builder filled with this descriptor fields."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder builder()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("h2",{id:"-nutsdescriptorbuilder"},"\u2615 NutsDescriptorBuilder"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDescriptorBuilder\n")),Object(c.b)("p",null," Nuts descriptors define a \\","mutable\\"," image to all information needed to execute an artifact.\nIt help creating an instance of ","{","\\@link NutsDescriptor","}"," by calling ","{","\\@link #build()","}"),Object(c.b)("p",null," \\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-8"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-application-1"},"\u270f\ud83c\udf9b application"),Object(c.b)("p",null,"set nutsApp flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsDescriptorBuilder public application\npublic NutsDescriptorBuilder setApplication(nutsApp)\n")),Object(c.b)("h4",{id:"-arch-3"},"\ud83d\udcdd\ud83c\udf9b arch"),Object(c.b)("p",null,"set archs"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public arch\npublic String[] getArch()\npublic NutsDescriptorBuilder setArch(archs)\n")),Object(c.b)("h4",{id:"-classifiermappings-1"},"\ud83d\udcdd\ud83c\udf9b classifierMappings"),Object(c.b)("p",null,"set classifier mappings"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public classifierMappings\npublic NutsClassifierMapping[] getClassifierMappings()\npublic NutsDescriptorBuilder setClassifierMappings(value)\n")),Object(c.b)("h4",{id:"-dependencies-1"},"\ud83d\udcdd\ud83c\udf9b dependencies"),Object(c.b)("p",null,"set dependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public dependencies\npublic NutsDependency[] getDependencies()\npublic NutsDescriptorBuilder setDependencies(dependencies)\n")),Object(c.b)("h4",{id:"-description-1"},"\ud83d\udcdd\ud83c\udf9b description"),Object(c.b)("p",null,"set description"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public description\npublic String getDescription()\npublic NutsDescriptorBuilder setDescription(description)\n")),Object(c.b)("h4",{id:"-executable-1"},"\ud83d\udcdd\ud83c\udf9b executable"),Object(c.b)("p",null,"set executable flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public executable\npublic boolean isExecutable()\npublic NutsDescriptorBuilder setExecutable(executable)\n")),Object(c.b)("h4",{id:"-executor-1"},"\ud83d\udcdd\ud83c\udf9b executor"),Object(c.b)("p",null,"set executor flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public executor\npublic NutsArtifactCall getExecutor()\npublic NutsDescriptorBuilder setExecutor(executor)\n")),Object(c.b)("h4",{id:"-id-5"},"\ud83d\udcdd\ud83c\udf9b id"),Object(c.b)("p",null,"set id"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public id\npublic NutsId getId()\npublic NutsDescriptorBuilder setId(id)\n")),Object(c.b)("h4",{id:"-installer-1"},"\ud83d\udcdd\ud83c\udf9b installer"),Object(c.b)("p",null,"set installer"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public installer\npublic NutsArtifactCall getInstaller()\npublic NutsDescriptorBuilder setInstaller(installer)\n")),Object(c.b)("h4",{id:"-locations-1"},"\ud83d\udcdd\ud83c\udf9b locations"),Object(c.b)("p",null,"set locations"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public locations\npublic NutsIdLocation[] getLocations()\npublic NutsDescriptorBuilder setLocations(locations)\n")),Object(c.b)("h4",{id:"-name-1"},"\ud83d\udcdd\ud83c\udf9b name"),Object(c.b)("p",null,"set name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public name\npublic String getName()\npublic NutsDescriptorBuilder setName(name)\n")),Object(c.b)("h4",{id:"-nutsapplication"},"\ud83d\udcc4\ud83c\udf9b nutsApplication"),Object(c.b)("p",null,"true if the artifact is a java executable that implements ","{","\\@link NutsApplication","}"," interface."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public nutsApplication\npublic boolean isNutsApplication()\n")),Object(c.b)("h4",{id:"-os-3"},"\ud83d\udcdd\ud83c\udf9b os"),Object(c.b)("p",null,"set os"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public os\npublic String[] getOs()\npublic NutsDescriptorBuilder setOs(os)\n")),Object(c.b)("h4",{id:"-osdist-3"},"\ud83d\udcdd\ud83c\udf9b osdist"),Object(c.b)("p",null,"set osdist"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public osdist\npublic String[] getOsdist()\npublic NutsDescriptorBuilder setOsdist(osdist)\n")),Object(c.b)("h4",{id:"-packaging-3"},"\ud83d\udcdd\ud83c\udf9b packaging"),Object(c.b)("p",null,"set packaging"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public packaging\npublic String getPackaging()\npublic NutsDescriptorBuilder setPackaging(packaging)\n")),Object(c.b)("h4",{id:"-parents-1"},"\ud83d\udcdd\ud83c\udf9b parents"),Object(c.b)("p",null,"set parents"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public parents\npublic NutsId[] getParents()\npublic NutsDescriptorBuilder setParents(parents)\n")),Object(c.b)("h4",{id:"-platform-3"},"\ud83d\udcdd\ud83c\udf9b platform"),Object(c.b)("p",null,"set platform"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public platform\npublic String[] getPlatform()\npublic NutsDescriptorBuilder setPlatform(platform)\n")),Object(c.b)("h4",{id:"-properties-3"},"\ud83d\udcdd\ud83c\udf9b properties"),Object(c.b)("p",null,"set properties"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public properties\npublic Map getProperties()\npublic NutsDescriptorBuilder setProperties(properties)\n")),Object(c.b)("h4",{id:"-standarddependencies-1"},"\ud83d\udcdd\ud83c\udf9b standardDependencies"),Object(c.b)("p",null,"set standard dependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorBuilder public standardDependencies\npublic NutsDependency[] getStandardDependencies()\npublic NutsDescriptorBuilder setStandardDependencies(dependencies)\n")),Object(c.b)("h3",{id:"-instance-methods-8"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-addarcharch"},"\u2699 addArch(arch)"),Object(c.b)("p",null,"add arch"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addArch(String arch)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String arch")," : new value to add")),Object(c.b)("h4",{id:"-addclassifiermappingmapping"},"\u2699 addClassifierMapping(mapping)"),Object(c.b)("p",null,"add classifier mapping"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addClassifierMapping(NutsClassifierMapping mapping)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsClassifierMapping mapping")," : classifier mapping")),Object(c.b)("h4",{id:"-adddependenciesdependencies"},"\u2699 addDependencies(dependencies)"),Object(c.b)("p",null,"add dependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addDependencies(NutsDependency[] dependencies)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency[] dependencies")," : new value to add")),Object(c.b)("h4",{id:"-adddependencydependency"},"\u2699 addDependency(dependency)"),Object(c.b)("p",null,"add dependency"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addDependency(NutsDependency dependency)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency dependency")," : new value to add")),Object(c.b)("h4",{id:"-addlocationlocation"},"\u2699 addLocation(location)"),Object(c.b)("p",null,"add location"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addLocation(NutsIdLocation location)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsIdLocation location")," : location to add")),Object(c.b)("h4",{id:"-addosos"},"\u2699 addOs(os)"),Object(c.b)("p",null,"add os"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addOs(String os)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String os")," : new value to add")),Object(c.b)("h4",{id:"-addosdistosdist"},"\u2699 addOsdist(osdist)"),Object(c.b)("p",null,"add os dist"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addOsdist(String osdist)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String osdist")," : new value to add")),Object(c.b)("h4",{id:"-addplatformplatform"},"\u2699 addPlatform(platform)"),Object(c.b)("p",null,"add platform"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addPlatform(String platform)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String platform")," : new value to add")),Object(c.b)("h4",{id:"-addpropertiesproperties"},"\u2699 addProperties(properties)"),Object(c.b)("p",null,"merge properties"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addProperties(Map properties)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Map properties")," : new value")),Object(c.b)("h4",{id:"-addstandarddependenciesdependencies"},"\u2699 addStandardDependencies(dependencies)"),Object(c.b)("p",null,"add standard dependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addStandardDependencies(NutsDependency[] dependencies)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency[] dependencies")," : value to add")),Object(c.b)("h4",{id:"-addstandarddependencydependency"},"\u2699 addStandardDependency(dependency)"),Object(c.b)("p",null,"add standard dependency"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder addStandardDependency(NutsDependency dependency)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency dependency")," : value to add")),Object(c.b)("h4",{id:"-application-2"},"\u2699 application()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder application()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("h4",{id:"-applicationnutsapp"},"\u2699 application(nutsApp)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder application(boolean nutsApp)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean nutsApp")," : ")),Object(c.b)("h4",{id:"-applyparentsparentdescriptors"},"\u2699 applyParents(parentDescriptors)"),Object(c.b)("p",null,"merge parent and child information (apply inheritance)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder applyParents(NutsDescriptor[] parentDescriptors)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDescriptor[] parentDescriptors")," : parent descriptors")),Object(c.b)("h4",{id:"-applyproperties"},"\u2699 applyProperties()"),Object(c.b)("p",null,"replace placeholders with the corresponding property value in properties list"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder applyProperties()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("h4",{id:"-applypropertiesproperties"},"\u2699 applyProperties(properties)"),Object(c.b)("p",null,"replace placeholders with the corresponding property value in the given properties list and return a new instance."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder applyProperties(Map properties)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Map properties")," : properties")),Object(c.b)("h4",{id:"-archarchs"},"\u2699 arch(archs)"),Object(c.b)("p",null,"set archs"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder arch(String[] archs)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String[] archs")," : value to set")),Object(c.b)("h4",{id:"-build-2"},"\u2699 build()"),Object(c.b)("p",null,"create new Descriptor filled with this builder fields."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor build()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(c.b)("h4",{id:"-classifiermappingsvalue"},"\u2699 classifierMappings(value)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder classifierMappings(NutsClassifierMapping[] value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsClassifierMapping[] value")," : ")),Object(c.b)("h4",{id:"-clear-2"},"\u2699 clear()"),Object(c.b)("p",null,"clear this instance (set null/default all properties)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder clear()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("h4",{id:"-dependenciesdependencies"},"\u2699 dependencies(dependencies)"),Object(c.b)("p",null,"set dependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder dependencies(NutsDependency[] dependencies)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency[] dependencies")," : new value")),Object(c.b)("h4",{id:"-descriptiondescription"},"\u2699 description(description)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder description(String description)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String description")," : ")),Object(c.b)("h4",{id:"-descriptorother"},"\u2699 descriptor(other)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder descriptor(NutsDescriptor other)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDescriptor other")," : ")),Object(c.b)("h4",{id:"-descriptorother-1"},"\u2699 descriptor(other)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder descriptor(NutsDescriptorBuilder other)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDescriptorBuilder other")," : ")),Object(c.b)("h4",{id:"-executable-2"},"\u2699 executable()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder executable()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("h4",{id:"-executableexecutable"},"\u2699 executable(executable)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder executable(boolean executable)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean executable")," : ")),Object(c.b)("h4",{id:"-executorexecutor"},"\u2699 executor(executor)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder executor(NutsArtifactCall executor)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsArtifactCall executor")," : ")),Object(c.b)("h4",{id:"-idid"},"\u2699 id(id)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder id(NutsId id)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(c.b)("h4",{id:"-installerinstaller"},"\u2699 installer(installer)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder installer(NutsArtifactCall installer)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsArtifactCall installer")," : ")),Object(c.b)("h4",{id:"-locationslocations"},"\u2699 locations(locations)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder locations(NutsIdLocation[] locations)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsIdLocation[] locations")," : ")),Object(c.b)("h4",{id:"-namename"},"\u2699 name(name)"),Object(c.b)("p",null,"set name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder name(String name)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : value to set")),Object(c.b)("h4",{id:"-osos"},"\u2699 os(os)"),Object(c.b)("p",null,"set os"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder os(String[] os)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String[] os")," : value to set")),Object(c.b)("h4",{id:"-osdistosdist"},"\u2699 osdist(osdist)"),Object(c.b)("p",null,"set osdist"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder osdist(String[] osdist)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String[] osdist")," : value to set")),Object(c.b)("h4",{id:"-packagingpackaging"},"\u2699 packaging(packaging)"),Object(c.b)("p",null,"set packaging"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder packaging(String packaging)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String packaging")," : new value")),Object(c.b)("h4",{id:"-parentsparents"},"\u2699 parents(parents)"),Object(c.b)("p",null,"set parents"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder parents(NutsId[] parents)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsId[] parents")," : value to set")),Object(c.b)("h4",{id:"-platformplatform"},"\u2699 platform(platform)"),Object(c.b)("p",null,"set platform"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder platform(String[] platform)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String[] platform")," : value to set")),Object(c.b)("h4",{id:"-propertiesproperties"},"\u2699 properties(properties)"),Object(c.b)("p",null,"set properties"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder properties(Map properties)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Map properties")," : new value")),Object(c.b)("h4",{id:"-propertyname-value"},"\u2699 property(name, value)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder property(String name, String value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String value")," : ")),Object(c.b)("h4",{id:"-removearcharch"},"\u2699 removeArch(arch)"),Object(c.b)("p",null,"remove arch"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder removeArch(String arch)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String arch")," : value to remove")),Object(c.b)("h4",{id:"-removedependencydependency"},"\u2699 removeDependency(dependency)"),Object(c.b)("p",null,"remove dependency"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder removeDependency(NutsDependency dependency)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency dependency")," : value to remove")),Object(c.b)("h4",{id:"-removedependencydependency-1"},"\u2699 removeDependency(dependency)"),Object(c.b)("p",null,"create a new instance of descriptor with removed dependencies that match the predicate"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder removeDependency(Predicate dependency)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Predicate dependency")," : predicate to test against")),Object(c.b)("h4",{id:"-removeosos"},"\u2699 removeOs(os)"),Object(c.b)("p",null,"remove os"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder removeOs(String os)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String os")," : value to remove")),Object(c.b)("h4",{id:"-removeosdistosdist"},"\u2699 removeOsdist(osdist)"),Object(c.b)("p",null,"remove osdist"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder removeOsdist(String osdist)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String osdist")," : value to remove")),Object(c.b)("h4",{id:"-removeplatformplatform"},"\u2699 removePlatform(platform)"),Object(c.b)("p",null,"remove platform"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder removePlatform(String platform)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String platform")," : value to remove")),Object(c.b)("h4",{id:"-removestandarddependencydependency"},"\u2699 removeStandardDependency(dependency)"),Object(c.b)("p",null,"remove standard dependency"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder removeStandardDependency(NutsDependency dependency)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency dependency")," : value to remove")),Object(c.b)("h4",{id:"-replacedependencyfilter-converter"},"\u2699 replaceDependency(filter, converter)"),Object(c.b)("p",null,"create a new instance of descriptor with added/merged dependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder replaceDependency(Predicate filter, UnaryOperator converter)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Predicate filter")," : properties entry that match the update"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"UnaryOperator converter")," : function to provide new value to replace with")),Object(c.b)("h4",{id:"-replacepropertyfilter-converter"},"\u2699 replaceProperty(filter, converter)"),Object(c.b)("p",null,"create a new instance of descriptor with added/merged properties"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder replaceProperty(Predicate filter, Function converter)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Predicate filter")," : properties entry that match the update"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Function converter")," : function to provide new value to replace with")),Object(c.b)("h4",{id:"-setother"},"\u2699 set(other)"),Object(c.b)("p",null,"set all fields from ","{","\\@code other","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder set(NutsDescriptorBuilder other)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDescriptorBuilder other")," : builder to copy from")),Object(c.b)("h4",{id:"-setother-1"},"\u2699 set(other)"),Object(c.b)("p",null,"set all fields from ","{","\\@code other","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder set(NutsDescriptor other)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDescriptor other")," : descriptor to copy from")),Object(c.b)("h4",{id:"-setpropertyname-value"},"\u2699 setProperty(name, value)"),Object(c.b)("p",null,"set or unset property.\nif the value is null, the property is removed."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder setProperty(String name, String value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : property name"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String value")," : new value")),Object(c.b)("h4",{id:"-standarddependenciesdependencies"},"\u2699 standardDependencies(dependencies)"),Object(c.b)("p",null,"set standard dependencies"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder standardDependencies(NutsDependency[] dependencies)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDependency[] dependencies")," : value to set")),Object(c.b)("h2",{id:"-nutsdescriptorfilter"},"\u2615 NutsDescriptorFilter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDescriptorFilter\n")),Object(c.b)("p",null," Descriptor filter"),Object(c.b)("p",null," \\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-methods-9"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-acceptdescriptor-session"},"\u2699 accept(descriptor, session)"),Object(c.b)("p",null,"return true if descriptor is accepted"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean accept(NutsDescriptor descriptor, NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDescriptor descriptor")," : descriptor"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(c.b)("h4",{id:"-acceptsearchidsid-session"},"\u2699 acceptSearchId(sid, session)"),Object(c.b)("p",null,"default implementation of ","{","\\@link NutsSearchIdFilter","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean acceptSearchId(NutsSearchId sid, NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSearchId sid")," : search id"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(c.b)("h2",{id:"-nutsexecutableinformation"},"\u2615 NutsExecutableInformation"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsExecutableInformation\n")),Object(c.b)("p",null," Class describing executable command.\n\\@author vpc\n\\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-9"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-description-2"},"\ud83d\udcc4\ud83c\udf9b description"),Object(c.b)("p",null,"executable description"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public description\npublic String getDescription()\n")),Object(c.b)("h4",{id:"-helptext"},"\ud83d\udcc4\ud83c\udf9b helpText"),Object(c.b)("p",null,"executable help string"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public helpText\npublic String getHelpText()\n")),Object(c.b)("h4",{id:"-id-6"},"\ud83d\udcc4\ud83c\udf9b id"),Object(c.b)("p",null,"executable artifact id"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(c.b)("h4",{id:"-name-2"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("p",null,"executable name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h4",{id:"-type"},"\ud83d\udcc4\ud83c\udf9b type"),Object(c.b)("p",null,"return executable type"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsExecutableType public type\npublic NutsExecutableType getType()\n")),Object(c.b)("h4",{id:"-value"},"\ud83d\udcc4\ud83c\udf9b value"),Object(c.b)("p",null,"versatile executable name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public value\npublic String getValue()\n")),Object(c.b)("h2",{id:"-nutsexecutabletype"},"\u2615 NutsExecutableType"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsExecutableType\n")),Object(c.b)("p",null," Executable command type returned by which internal command\n\\@author vpc\n\\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-constant-fields-2"},"\ud83d\udce2\u2744 Constant Fields"),Object(c.b)("h4",{id:"-alias"},"\ud83d\udce2\u2744 ALIAS"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsExecutableType ALIAS\n")),Object(c.b)("h4",{id:"-artifact"},"\ud83d\udce2\u2744 ARTIFACT"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsExecutableType ARTIFACT\n")),Object(c.b)("h4",{id:"-internal"},"\ud83d\udce2\u2744 INTERNAL"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsExecutableType INTERNAL\n")),Object(c.b)("h4",{id:"-system-2"},"\ud83d\udce2\u2744 SYSTEM"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsExecutableType SYSTEM\n")),Object(c.b)("h3",{id:"-static-methods-2"},"\ud83d\udce2\u2699 Static Methods"),Object(c.b)("h4",{id:"-valueofname-2"},"\ud83d\udce2\u2699 valueOf(name)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutableType valueOf(String name)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsExecutableType"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : ")),Object(c.b)("h4",{id:"-values-2"},"\ud83d\udce2\u2699 values()"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutableType[] values()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsExecutableType[]"),Object(c.b)("h3",{id:"-instance-methods-10"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-id-7"},"\u2699 id()"),Object(c.b)("p",null,"lower cased identifier."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h2",{id:"-nutsexecutionentry"},"\u2615 NutsExecutionEntry"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsExecutionEntry\n")),Object(c.b)("p",null," Execution entry is a class that can be executed.\n\\@author vpc\n\\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-10"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-app"},"\ud83d\udcc4\ud83c\udf9b app"),Object(c.b)("p",null,"true if the entry resolved to a valid nuts application"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public app\npublic boolean isApp()\n")),Object(c.b)("h4",{id:"-defaultentry"},"\ud83d\udcc4\ud83c\udf9b defaultEntry"),Object(c.b)("p",null,"true if the class if registered as main class in META-INF"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public defaultEntry\npublic boolean isDefaultEntry()\n")),Object(c.b)("h4",{id:"-name-3"},"\ud83d\udcc4\ud83c\udf9b name"),Object(c.b)("p",null,"class name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(c.b)("h2",{id:"-nutsid"},"\u2615 NutsId"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsId\n")),Object(c.b)("p",null," Immutable Artifact id information.\n\\@author vpc\n\\@since 0.1.0\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-11"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-arch-4"},"\ud83d\udcc4\ud83c\udf9b arch"),Object(c.b)("p",null,"hardware architecture supported by the artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public arch\npublic String getArch()\n")),Object(c.b)("h4",{id:"-artifactid-2"},"\ud83d\udcc4\ud83c\udf9b artifactId"),Object(c.b)("p",null,"return name part of this id"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public artifactId\npublic String getArtifactId()\n")),Object(c.b)("h4",{id:"-classifier-4"},"\ud83d\udcc4\ud83c\udf9b classifier"),Object(c.b)("p",null,"tag used to distinguish between different artifacts that were built from the same source code"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public classifier\npublic String getClassifier()\n")),Object(c.b)("h4",{id:"-face"},"\ud83d\udcc4\ud83c\udf9b face"),Object(c.b)("p",null,"id face define is a release file type selector of the id.\nIt helps discriminating content (jar) from descriptor, from other (hash,...)\nfiles released for the very same artifact."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public face\npublic String getFace()\n")),Object(c.b)("h4",{id:"-fullname-2"},"\ud83d\udcc4\ud83c\udf9b fullName"),Object(c.b)("p",null,"return a string representation of this id. All of group, name, version,\nnamespace, queryMap values are printed. This method is equivalent to\n","{","\\@link Object#toString()","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fullName\npublic String getFullName()\n")),Object(c.b)("h4",{id:"-groupid-2"},"\ud83d\udcc4\ud83c\udf9b groupId"),Object(c.b)("p",null,"artifact group which identifies uniquely projects and group of projects."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public groupId\npublic String getGroupId()\n")),Object(c.b)("h4",{id:"-longname-1"},"\ud83d\udcc4\ud83c\udf9b longName"),Object(c.b)("p",null,"return a string concatenation of group, name and version,\nignoring namespace, and queryMap values. An example of long name is\n\\","my-group:my-artifact#my-version?alt\\"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public longName\npublic String getLongName()\n")),Object(c.b)("h4",{id:"-longnameid"},"\ud83d\udcc4\ud83c\udf9b longNameId"),Object(c.b)("p",null,"return a new instance of NutsId defining only group, name and version,\nignoring namespace, and queryMap values."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public longNameId\npublic NutsId getLongNameId()\n")),Object(c.b)("h4",{id:"-namespace-2"},"\ud83d\udcc4\ud83c\udf9b namespace"),Object(c.b)("p",null,"artifact namespace (usually repository name or id)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public namespace\npublic String getNamespace()\n")),Object(c.b)("h4",{id:"-os-4"},"\ud83d\udcc4\ud83c\udf9b os"),Object(c.b)("p",null,"os supported by the artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public os\npublic String getOs()\n")),Object(c.b)("h4",{id:"-osdist-4"},"\ud83d\udcc4\ud83c\udf9b osdist"),Object(c.b)("p",null,"os distribution supported by the artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public osdist\npublic String getOsdist()\n")),Object(c.b)("h4",{id:"-platform-4"},"\ud83d\udcc4\ud83c\udf9b platform"),Object(c.b)("p",null,"platform supported by the artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public platform\npublic String getPlatform()\n")),Object(c.b)("h4",{id:"-properties-4"},"\ud83d\udcc4\ud83c\udf9b properties"),Object(c.b)("p",null,"properties as map."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public properties\npublic Map getProperties()\n")),Object(c.b)("h4",{id:"-propertiesquery-2"},"\ud83d\udcc4\ud83c\udf9b propertiesQuery"),Object(c.b)("p",null,"properties in the url query form"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public propertiesQuery\npublic String getPropertiesQuery()\n")),Object(c.b)("h4",{id:"-shortname"},"\ud83d\udcc4\ud83c\udf9b shortName"),Object(c.b)("p",null,"returns a string concatenation of group and name (\\':\\' separated) ignoring\nversion,namespace, and queryMap values. In group is empty or null, name\nis returned. Ann null values are trimmed to \"\" An example of simple name\nis \\","my-group:my-artifact\\"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public shortName\npublic String getShortName()\n")),Object(c.b)("h4",{id:"-shortnameid"},"\ud83d\udcc4\ud83c\udf9b shortNameId"),Object(c.b)("p",null,"return a new instance of NutsId defining only group and name ignoring\nversion,namespace, and queryMap values."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public shortNameId\npublic NutsId getShortNameId()\n")),Object(c.b)("h4",{id:"-version-2"},"\ud83d\udcc4\ud83c\udf9b version"),Object(c.b)("p",null,"artifact version (never null)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsVersion public version\npublic NutsVersion getVersion()\n")),Object(c.b)("h3",{id:"-instance-methods-11"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-anytoken"},"\u2699 anyToken()"),Object(c.b)("p",null,"non null token filter that searches in all id fields"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTokenFilter anyToken()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTokenFilter"),Object(c.b)("h4",{id:"-artifactidtoken"},"\u2699 artifactIdToken()"),Object(c.b)("p",null,"non null artifact id token"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTokenFilter artifactIdToken()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTokenFilter"),Object(c.b)("h4",{id:"-builder-2"},"\u2699 builder()"),Object(c.b)("p",null,"create a builder (mutable id) based on this id"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder builder()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("h4",{id:"-equalsshortnameother"},"\u2699 equalsShortName(other)"),Object(c.b)("p",null,"true if other has exact shot name than ","{","\\@code this","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equalsShortName(NutsId other)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsId other")," : other id")),Object(c.b)("h4",{id:"-filter"},"\u2699 filter()"),Object(c.b)("p",null,"create a filter based on this id"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFilter filter()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdFilter"),Object(c.b)("h4",{id:"-groupidtoken"},"\u2699 groupIdToken()"),Object(c.b)("p",null,"non null group id token"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTokenFilter groupIdToken()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTokenFilter"),Object(c.b)("h4",{id:"-namespacetoken"},"\u2699 namespaceToken()"),Object(c.b)("p",null,"non null namespace non null namespace token"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTokenFilter namespaceToken()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTokenFilter"),Object(c.b)("h4",{id:"-propertiestoken"},"\u2699 propertiesToken()"),Object(c.b)("p",null,"non null properties query token"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTokenFilter propertiesToken()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTokenFilter"),Object(c.b)("h4",{id:"-versiontoken"},"\u2699 versionToken()"),Object(c.b)("p",null,"non null version token"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTokenFilter versionToken()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTokenFilter"),Object(c.b)("h2",{id:"-nutsidbuilder"},"\u2615 NutsIdBuilder"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIdBuilder\n")),Object(c.b)("p",null," Mutable Artifact id information used to create instance of ","{","\\@link NutsId","}","\n\\@author vpc\n\\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-12"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-arch-5"},"\ud83d\udcdd\ud83c\udf9b arch"),Object(c.b)("p",null,"update arch"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public arch\npublic String getArch()\npublic NutsIdBuilder setArch(value)\n")),Object(c.b)("h4",{id:"-artifactid-3"},"\ud83d\udcdd\ud83c\udf9b artifactId"),Object(c.b)("p",null,"update artifactId"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public artifactId\npublic String getArtifactId()\npublic NutsIdBuilder setArtifactId(value)\n")),Object(c.b)("h4",{id:"-classifier-5"},"\ud83d\udcdd\ud83c\udf9b classifier"),Object(c.b)("p",null,"update classifier"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public classifier\npublic String getClassifier()\npublic NutsIdBuilder setClassifier(value)\n")),Object(c.b)("h4",{id:"-face-1"},"\ud83d\udcdd\ud83c\udf9b face"),Object(c.b)("p",null,"update id face which defines is a release file type selector"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public face\npublic String getFace()\npublic NutsIdBuilder setFace(value)\n")),Object(c.b)("h4",{id:"-fullname-3"},"\ud83d\udcc4\ud83c\udf9b fullName"),Object(c.b)("p",null,"return a string representation of this id. All of group, name, version,\nnamespace, queryMap values are printed. This method is equivalent to\n","{","\\@link Object#toString()","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public fullName\npublic String getFullName()\n")),Object(c.b)("h4",{id:"-groupid-3"},"\ud83d\udcdd\ud83c\udf9b groupId"),Object(c.b)("p",null,"update groupId"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public groupId\npublic String getGroupId()\npublic NutsIdBuilder setGroupId(value)\n")),Object(c.b)("h4",{id:"-longname-2"},"\ud83d\udcc4\ud83c\udf9b longName"),Object(c.b)("p",null,"return a string concatenation of group, name and version,\nignoring namespace, and queryMap values. An example of long name is\n\\","my-group:my-artifact#my-version?alt\\"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public longName\npublic String getLongName()\n")),Object(c.b)("h4",{id:"-namespace-3"},"\ud83d\udcdd\ud83c\udf9b namespace"),Object(c.b)("p",null,"update namespace"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public namespace\npublic String getNamespace()\npublic NutsIdBuilder setNamespace(value)\n")),Object(c.b)("h4",{id:"-os-5"},"\ud83d\udcdd\ud83c\udf9b os"),Object(c.b)("p",null,"update os"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public os\npublic String getOs()\npublic NutsIdBuilder setOs(value)\n")),Object(c.b)("h4",{id:"-osdist-5"},"\ud83d\udcdd\ud83c\udf9b osdist"),Object(c.b)("p",null,"update osdist"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public osdist\npublic String getOsdist()\npublic NutsIdBuilder setOsdist(value)\n")),Object(c.b)("h4",{id:"-packaging-4"},"\u270f\ud83c\udf9b packaging"),Object(c.b)("p",null,"update packaging"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsIdBuilder public packaging\npublic NutsIdBuilder setPackaging(packaging)\n")),Object(c.b)("h4",{id:"-platform-5"},"\ud83d\udcdd\ud83c\udf9b platform"),Object(c.b)("p",null,"update platform"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public platform\npublic String getPlatform()\npublic NutsIdBuilder setPlatform(value)\n")),Object(c.b)("h4",{id:"-properties-5"},"\ud83d\udcdd\ud83c\udf9b properties"),Object(c.b)("p",null,"update all properties property."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public properties\npublic Map getProperties()\npublic NutsIdBuilder setProperties(query)\n")),Object(c.b)("h4",{id:"-propertiesquery-3"},"\ud83d\udcc4\ud83c\udf9b propertiesQuery"),Object(c.b)("p",null,"properties in the url query form"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public propertiesQuery\npublic String getPropertiesQuery()\n")),Object(c.b)("h4",{id:"-shortname-1"},"\ud83d\udcc4\ud83c\udf9b shortName"),Object(c.b)("p",null,"returns a string concatenation of group and name (\\':\\' separated) ignoring\nversion,namespace, and queryMap values. In group is empty or null, name\nis returned. Ann null values are trimmed to \"\" An example of simple name\nis \\","my-group:my-artifact\\"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public shortName\npublic String getShortName()\n")),Object(c.b)("h4",{id:"-version-3"},"\ud83d\udcdd\ud83c\udf9b version"),Object(c.b)("p",null,"update setVersion"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdBuilder public version\npublic NutsVersion getVersion()\npublic NutsIdBuilder setVersion(value)\n")),Object(c.b)("h3",{id:"-instance-methods-12"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-addpropertiesquery"},"\u2699 addProperties(query)"),Object(c.b)("p",null,"update all properties property while retaining old,\nnon overridden properties."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder addProperties(String query)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String query")," : new value")),Object(c.b)("h4",{id:"-addpropertiesquerymap-1"},"\u2699 addProperties(queryMap)"),Object(c.b)("p",null,"update all properties property while retaining old,\nnon overridden properties."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder addProperties(Map queryMap)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Map queryMap")," : new value")),Object(c.b)("h4",{id:"-applyproperties-1"},"\u2699 apply(properties)"),Object(c.b)("p",null,"replace dollar based variables with the given properties"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder apply(Function properties)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Function properties")," : to replace")),Object(c.b)("h4",{id:"-build-3"},"\u2699 build()"),Object(c.b)("p",null,"create new instance of ","{","\\@link NutsId","}"," initialized with this builder values."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsId build()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsId"),Object(c.b)("h4",{id:"-clear-3"},"\u2699 clear()"),Object(c.b)("p",null,"clear this instance (set null/default all properties)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder clear()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("h4",{id:"-setid"},"\u2699 set(id)"),Object(c.b)("p",null,"update all arguments"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder set(NutsId id)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsId id")," : new value")),Object(c.b)("h4",{id:"-setid-1"},"\u2699 set(id)"),Object(c.b)("p",null,"update all arguments"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder set(NutsIdBuilder id)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsIdBuilder id")," : new value")),Object(c.b)("h4",{id:"-setfacecontent"},"\u2699 setFaceContent()"),Object(c.b)("p",null,"equivalent to ","{","\\@code setFace(NutsConstants.QueryFaces.CONTENT)","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder setFaceContent()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("h4",{id:"-setfacedescriptor"},"\u2699 setFaceDescriptor()"),Object(c.b)("p",null,"equivalent to ","{","\\@code setFace(NutsConstants.QueryFaces.DESCRIPTOR)","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder setFaceDescriptor()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("h4",{id:"-setpropertyproperty-value-1"},"\u2699 setProperty(property, value)"),Object(c.b)("p",null,"update property.\nWhen ","{","\\@code value","}"," is null, property will be removed."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder setProperty(String property, String value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String property")," : name"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String value")," : new value")),Object(c.b)("h2",{id:"-nutsidfilter"},"\u2615 NutsIdFilter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIdFilter\n")),Object(c.b)("p",null," Class for filtering Artifact Ids"),Object(c.b)("p",null," \\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-methods-13"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-acceptid-session"},"\u2699 accept(id, session)"),Object(c.b)("p",null,"return true when the id is to be accepted"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean accept(NutsId id, NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsId id")," : id to check"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : current workspace session")),Object(c.b)("h4",{id:"-acceptsearchidsid-session-1"},"\u2699 acceptSearchId(sid, session)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean acceptSearchId(NutsSearchId sid, NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSearchId sid")," : "),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(c.b)("h2",{id:"-nutsidlocation"},"\u2615 NutsIdLocation"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIdLocation\n")),Object(c.b)("p",null," This class is used in ","{","\\@link NutsDescriptor","}"," to describe\nlocations/mirrors to download artifact content instead of the\nregular location.\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-13"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-classifier-6"},"\ud83d\udcc4\ud83c\udf9b classifier"),Object(c.b)("p",null,"classifier for the artifact"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public classifier\npublic String getClassifier()\n")),Object(c.b)("h4",{id:"-region"},"\ud83d\udcc4\ud83c\udf9b region"),Object(c.b)("p",null,"location (geographic) region that may be used to select\nthe most effective mirror"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public region\npublic String getRegion()\n")),Object(c.b)("h4",{id:"-url"},"\ud83d\udcc4\ud83c\udf9b url"),Object(c.b)("p",null,"location url of the artifact content"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public url\npublic String getUrl()\n")),Object(c.b)("h2",{id:"-nutsversion"},"\u2615 NutsVersion"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsVersion\n")),Object(c.b)("p",null," this class represents an \\","immutable\\"," string representation of a version parsed as a suite of alternating numbers and words.\nParsing algorithm is simply to split whenever word type changes.\nExamples:\n\\","\n\\","1 = ","[1]","\\","\n\\","1.2 = ","[1,\\'.\\',2]","\\","\n\\","10.20update3 = ","[10,\\'.\\',20,\\'update\\',3]","\\","\n\\","\n\\@author vpc\n\\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-properties-14"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-singlevalue"},"\ud83d\udcc4\ud83c\udf9b singleValue"),Object(c.b)("p",null,"return true if this version denotes as single value and does not match an interval."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public singleValue\npublic boolean isSingleValue()\n")),Object(c.b)("h4",{id:"-value-1"},"\ud83d\udcc4\ud83c\udf9b value"),Object(c.b)("p",null,"return string representation of the version"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public value\npublic String getValue()\n")),Object(c.b)("h3",{id:"-instance-methods-14"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-comparetoother"},"\u2699 compareTo(other)"),Object(c.b)("p",null,"compare this version to the other version"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int compareTo(String other)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String other")," : other version")),Object(c.b)("h4",{id:"-comparetoother-1"},"\u2699 compareTo(other)"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int compareTo(NutsVersion other)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsVersion other")," : ")),Object(c.b)("h4",{id:"-filter-1"},"\u2699 filter()"),Object(c.b)("p",null,"parse the current version as new instance of ","{","\\@link NutsVersionFilter","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersionFilter filter()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsVersionFilter"),Object(c.b)("h4",{id:"-getindex"},"\u2699 get(index)"),Object(c.b)("p",null,"element at given index. if the index is negative will return from right.\n\\","\n\\","(1.a22).get(0)=1\\","\n\\","(1.a22).get(1)=a\\","\n\\","(1.a22).get(-1)=22\\","\n\\"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String get(int index)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"int index")," : version part index")),Object(c.b)("h4",{id:"-getnumberindex"},"\u2699 getNumber(index)"),Object(c.b)("p",null,"number element at given index. if the index is negative will return from right (-1 is the first starting from the right).\nThe version is first split (as a suite of number and words) then all words are discarded.\n\\","\n\\","size(1.22)=3 ","{","\\'1\\',\\'.\\',\\'22\\'","}","\\","\n\\","size(1.22_u1)=5 ","{","\\'1\\',\\'.\\',\\'22\\',\\'_u\\',\\'1\\'","}","\\","\n\\","\n\\","\n\\","(1.a22).getNumber(0)=1\\","\n\\","(1.a22).getNumber(1)=22\\","\n\\","(1.a22).getNumber(-1)=22\\","\n\\"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int getNumber(int index)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"int index")," : version part index")),Object(c.b)("h4",{id:"-getnumberindex-defaultvalue"},"\u2699 getNumber(index, defaultValue)"),Object(c.b)("p",null,"return number element at position or default value. if the index is negative will return from right (-1 is the first starting from the right).\nThe version is first split (as a suite of number and words) then all words are discarded."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int getNumber(int index, int defaultValue)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"int index")," : position"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"int defaultValue")," : default value")),Object(c.b)("h4",{id:"-inc"},"\u2699 inc()"),Object(c.b)("p",null,"increment the last number in the version with 1"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersion inc()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsVersion"),Object(c.b)("h4",{id:"-incposition"},"\u2699 inc(position)"),Object(c.b)("p",null,"increment the number at ","{","\\@code position","}"," in the version with 1"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersion inc(int position)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsVersion"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"int position")," : number position")),Object(c.b)("h4",{id:"-incposition-amount"},"\u2699 inc(position, amount)"),Object(c.b)("p",null,"increment the last number in the version with the given ","{","\\@code amount","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersion inc(int position, int amount)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsVersion"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"int position")," : number position"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"int amount")," : amount of the increment")),Object(c.b)("h4",{id:"-intervals"},"\u2699 intervals()"),Object(c.b)("p",null,"parse the current version as an interval array"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersionInterval[] intervals()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsVersionInterval[]"),Object(c.b)("h4",{id:"-numbersize"},"\u2699 numberSize()"),Object(c.b)("p",null,"number of elements in the version.\n\\","\n\\","numberSize(1.22)=2 ","{","1,22","}","\\","\n\\","numberSize(1.22_u1)=3 ","{","1,22,1","}","\\","\n\\"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int numberSize()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h4",{id:"-size"},"\u2699 size()"),Object(c.b)("p",null,"number of elements in the version.\n\\","\n\\","size(1.22)=3 ","{","\\'1\\',\\'.\\',\\'22\\'","}","\\","\n\\","size(1.22_u1)=5 ","{","\\'1\\',\\'.\\',\\'22\\',\\'_u\\',\\'1\\'","}","\\","\n\\"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int size()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":int"),Object(c.b)("h2",{id:"-nutsversionfilter"},"\u2615 NutsVersionFilter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsVersionFilter\n")),Object(c.b)("p",null," version interval is a version filter that accepts interval ranges of versions."),Object(c.b)("p",null," version intervals can be in one of the following forms\n\\","\n","[ version, ]","\n] version, ] or ( version, ]\n[ version, [ or ","[ version, )\n]"," version, ","[ or ]"," version, ["),Object(c.b)("p",null," ","[ ,version ]","\n] ,version ] or ( ,version ]\n[ ,version [ or ","[ ,version )\n]"," ,version ","[ or ]"," ,version ["),Object(c.b)("p",null," ","[ version1 , version2 ]","\n] version1 , version2 ] or ( version1 , version2 ]\n[ version1 , version2 [ or ","[ version1 , version2 )\n]"," version1 , version2 ","[ or ]"," version1 , version2 ["),Object(c.b)("p",null," comma or space separated intervals such as :\n","[ version1 , version2 ]",", ","[ version1 , version2 ][ version1 , version2 ]"," ","[ version1 , version2 ]","\n\\"),Object(c.b)("p",null," Created by vpc on 1/8/17.\n\\@since 0.5.4\n\\@category Descriptor"),Object(c.b)("h3",{id:"-instance-methods-15"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-acceptversion-session"},"\u2699 accept(version, session)"),Object(c.b)("p",null,"true if the version is accepted by this instance filter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean accept(NutsVersion version, NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsVersion version")," : version to check"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : current session instance")),Object(c.b)("h4",{id:"-acceptsearchidsid-session-2"},"\u2699 acceptSearchId(sid, session)"),Object(c.b)("p",null,"true if the version is accepted by this instance filter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean acceptSearchId(NutsSearchId sid, NutsSession session)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":boolean"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSearchId sid")," : search id"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsSession session")," : current session instance")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/50ece04e.7a563ceb.js b/docs/50ece04e.7a563ceb.js new file mode 100644 index 000000000..11fae986a --- /dev/null +++ b/docs/50ece04e.7a563ceb.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{118:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return m}));var a=n(0),r=n.n(a);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=r.a.createContext({}),c=function(e){var t=r.a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},u=function(e){var t=c(e.components);return r.a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},b=r.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),u=c(n),b=a,m=u["".concat(i,".").concat(b)]||u[b]||d[b]||o;return n?r.a.createElement(m,s(s({ref:t},l),{},{components:n})):r.a.createElement(m,s({ref:t},l))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,i=new Array(o);i[0]=b;var s={};for(var p in t)hasOwnProperty.call(t,p)&&(s[p]=t[p]);s.originalType=e,s.mdxType="string"==typeof e?e:a,i[1]=s;for(var l=2;lMaven enough?",id:"why-do-we-need-a-package-manager-for-java-isnt-maven-enough",children:[]},{value:"What does Nuts mean and why ?",id:"what-does-nuts-mean-and-why-",children:[]},{value:"Does nuts support only jar packaging",id:"does-nuts-support-only-jar-packaging",children:[]},{value:"Can I contribute to the project",id:"can-i-contribute-to-the-project",children:[]},{value:"Where can I find Documentation about the Project",id:"where-can-i-find-documentation-about-the-project",children:[]},{value:"How can I make my application "Nuts aware"",id:"how-can-i-make-my-application-nuts-aware",children:[]},{value:"Why should I consider implementing my terminal application using Nuts Application Framework (NAF)",id:"why-should-i-consider-implementing-my-terminal-application-using-nuts-application-framework-naf",children:[]},{value:"Can I use NAF for non terminal applications, Swing or JavaFX perhaps",id:"can-i-use-naf-for-non-terminal-applications-swing-or-javafx-perhaps",children:[]},{value:"What is the License used in Nuts",id:"what-is-the-license-used-in-nuts",children:[]}],l={rightToc:p};function c(e){var t=e.components,n=Object(r.a)(e,["components"]);return Object(o.b)("wrapper",Object(a.a)({},l,n,{components:t,mdxType:"MDXLayout"}),Object(o.b)("pre",null,Object(o.b)("code",Object(a.a)({parentName:"pre"},{})," __ __ \n /\\ \\ \\ _ __/ /______\n / \\/ / / / / __/ ___/\n/ /\\ / /_/ / /_(__ )\n\\_\\ \\/\\__,_/\\__/____/ version v0.7.0\n")),Object(o.b)("h2",{id:"why-do-we-need-a-package-manager-for-java-isnt-maven-enough"},"Why do we need a package manager for Java. Isn't ",Object(o.b)("strong",{parentName:"h2"},"Maven")," enough?"),Object(o.b)("p",null,"please read ",Object(o.b)("a",Object(a.a)({parentName:"p"},{href:"/nuts/docs/intro/nutsAndMaven"}),"Nuts Introduction, Why and What for")),Object(o.b)("h2",{id:"what-does-nuts-mean-and-why-"},"What does Nuts mean and why ?"),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts")),' stands for "Network Updatable Things Services". It helps managing things (artifacts of any type, not only java).\nThe Name also helps depicting another idea : ',Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," is a good companion and complement to Maven tool. The word maven (MAY-vin), from Yiddish, means a super-enthusiastic expert/fan/connoisseur/Wizard.\nAnd where wizards are, fools and ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," must be. ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," is the foolish tool to support the deployment and not the build.\nHence the name."),Object(o.b)("h2",{id:"does-nuts-support-only-jar-packaging"},"Does nuts support only jar packaging"),Object(o.b)("p",null,"Not only. ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," supports all packagings supported by maven. This includes pom , jar , maven-plugin , ejb , war , ear , rar.\nHowever ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts")),' is also intended to support any "thing" including "exe" ,"dll", "so", "zip" files, etc.\n',Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," differs from maven as it defines other properties to the artifact descriptor (aka pom in maven) : os (operating system),\narch (hardware architecture), osdist (relevant for linux for instance : opensuse, ubuntu) and platform (relevant to vm platforms like java vm, dotnet clr, etc).\nSuch properties are queried to download the most appropriate binaries for the the current characteristics."),Object(o.b)("h2",{id:"can-i-contribute-to-the-project"},"Can I contribute to the project"),Object(o.b)("p",null,"I hoped you would ask this question. Sure.\nYou can drop me an email to add you as contributor or fork the repository and ping a pull request.\nYou can also open a new issue for feature implementation to invite any other contributor to implement that feature (or even implement it your self)."),Object(o.b)("h2",{id:"where-can-i-find-documentation-about-the-project"},"Where can I find Documentation about the Project"),Object(o.b)("p",null,"The doc folder is intended to include documentation. The wiki also should help. "),Object(o.b)("h2",{id:"how-can-i-make-my-application-nuts-aware"},'How can I make my application "Nuts aware"'),Object(o.b)("p",null,"If by ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," aware you mean that you would download your application and run it using ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts")),", then you just need to create the application using maven and deploy your application to the public maven central.\nNothing really special is to be done from your side. You do not have to use plugins like 'maven-assembly-plugin' and 'maven-shade-plugin' to include your dependencies.\nOr, you can also use NAF (",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts")),' Application Framework) make your application full featured "Nuts aware" application.'),Object(o.b)("h2",{id:"why-should-i-consider-implementing-my-terminal-application-using-nuts-application-framework-naf"},"Why should I consider implementing my terminal application using Nuts Application Framework (NAF)"),Object(o.b)("p",null,"First of all, NAF is a simple 300k jar so for what it provided to you, you would be surprised.\nIndeed, implementing your application using NAF will provide you a clean way to :"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"seamless integration with ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," and all other NAF applications")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"support standard file system layout (XDG) where config files and log files are not necessarily in the same folder see ",Object(o.b)("a",Object(a.a)({parentName:"p"},{href:"/nuts/docs/advanced/filesystem"}),"Nuts File System")," for more details.")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"support application life cycle events (onInstall, onUninstall, onUpgrade), ")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"standard support of command line arguments")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"dynamic dependency aware class loading")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"terminal coloring and components (progress bar, etc...)")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"json,xml,table,tree and plain format support out of the box")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"pipe manipulation when calling sub processes")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"advanced io features (persistence Locks, monitored downloads, compression, file hashing....)")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"standard ways to support and use installed platforms (installed JRE, JDK, ...)")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},"and more..."))),Object(o.b)("h2",{id:"can-i-use-naf-for-non-terminal-applications-swing-or-javafx-perhaps"},"Can I use NAF for non terminal applications, Swing or JavaFX perhaps"),Object(o.b)("p",null,"Sure, you will be able to benefit of all the items in the preceding question but terminal coloring wont be relevant of course.\nCheck netbeans-launcher in github. It's a good example of how interesting is to use NAF in non terminal applications. "),Object(o.b)("h2",{id:"what-is-the-license-used-in-nuts"},"What is the License used in Nuts"),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," is published under GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/53baeae1.a16aa577.js b/docs/53baeae1.a16aa577.js new file mode 100644 index 000000000..e0aab7e14 --- /dev/null +++ b/docs/53baeae1.a16aa577.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{73:function(o){o.exports=JSON.parse('{"permalink":"/nuts/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":3,"previousPage":null,"nextPage":null,"blogDescription":"Blog"}')}}]); \ No newline at end of file diff --git a/docs/55789b7b.4cd69f0b.js b/docs/55789b7b.4cd69f0b.js new file mode 100644 index 000000000..edbf6c151 --- /dev/null +++ b/docs/55789b7b.4cd69f0b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{118:function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return j}));var n=a(0),c=a.n(n);function b(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t=0||(c[a]=e[a]);return c}(e,t);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(c[a]=e[a])}return c}var i=c.a.createContext({}),p=function(e){var t=c.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},o=function(e){var t=p(e.components);return c.a.createElement(i.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return c.a.createElement(c.a.Fragment,{},t)}},O=c.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,b=e.originalType,l=e.parentName,i=s(e,["components","mdxType","originalType","parentName"]),o=p(a),O=n,j=o["".concat(l,".").concat(O)]||o[O]||u[O]||b;return a?c.a.createElement(j,r(r({ref:t},i),{},{components:a})):c.a.createElement(j,r({ref:t},i))}));function j(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var b=a.length,l=new Array(b);l[0]=O;var r={};for(var s in t)hasOwnProperty.call(t,s)&&(r[s]=t[s]);r.originalType=e,r.mdxType="string"==typeof e?e:n,l[1]=r;for(var i=2;i","\nThis class defines all standard key names and their default values in the\nquery part."),Object(b.b)("h3",{id:"-constant-fields-3"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-arch"},"\ud83d\udce2\u2744 ARCH"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String ARCH = "arch"\n')),Object(b.b)("h4",{id:"-classifier"},"\ud83d\udce2\u2744 CLASSIFIER"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String CLASSIFIER = "classifier"\n')),Object(b.b)("h4",{id:"-exclusions"},"\ud83d\udce2\u2744 EXCLUSIONS"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String EXCLUSIONS = "exclusions"\n')),Object(b.b)("h4",{id:"-face"},"\ud83d\udce2\u2744 FACE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String FACE = "face"\n')),Object(b.b)("h4",{id:"-namespace"},"\ud83d\udce2\u2744 NAMESPACE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String NAMESPACE = "namespace"\n')),Object(b.b)("h4",{id:"-optional"},"\ud83d\udce2\u2744 OPTIONAL"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String OPTIONAL = "optional"\n')),Object(b.b)("h4",{id:"-os"},"\ud83d\udce2\u2744 OS"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String OS = "os"\n')),Object(b.b)("h4",{id:"-osdist"},"\ud83d\udce2\u2744 OSDIST"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String OSDIST = "osdist"\n')),Object(b.b)("h4",{id:"-packaging"},"\ud83d\udce2\u2744 PACKAGING"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String PACKAGING = "packaging"\n')),Object(b.b)("h4",{id:"-platform"},"\ud83d\udce2\u2744 PLATFORM"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String PLATFORM = "platform"\n')),Object(b.b)("h4",{id:"-scope"},"\ud83d\udce2\u2744 SCOPE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String SCOPE = "scope"\n')),Object(b.b)("h4",{id:"-version"},"\ud83d\udce2\u2744 VERSION"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String VERSION = "version"\n')),Object(b.b)("h2",{id:"-nutsconstantsids"},"\u2615 NutsConstants.Ids"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final net.vpc.app.nuts.NutsConstants.Ids\n")),Object(b.b)("p",null," identifier related constants"),Object(b.b)("h3",{id:"-constant-fields-4"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-nuts_api"},"\ud83d\udce2\u2744 NUTS_API"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String NUTS_API = "net.vpc.app.nuts:nuts"\n')),Object(b.b)("h4",{id:"-nuts_runtime"},"\ud83d\udce2\u2744 NUTS_RUNTIME"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String NUTS_RUNTIME = "net.vpc.app.nuts:nuts-core"\n')),Object(b.b)("h4",{id:"-nuts_shell"},"\ud83d\udce2\u2744 NUTS_SHELL"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String NUTS_SHELL = "net.vpc.app.nuts.toolbox:nsh"\n')),Object(b.b)("h2",{id:"-nutsconstantsnames"},"\u2615 NutsConstants.Names"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final net.vpc.app.nuts.NutsConstants.Names\n")),Object(b.b)("p",null," name constants"),Object(b.b)("h3",{id:"-constant-fields-5"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-default_repository_name"},"\ud83d\udce2\u2744 DEFAULT_REPOSITORY_NAME"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String DEFAULT_REPOSITORY_NAME = "local"\n')),Object(b.b)("h4",{id:"-default_workspace_name"},"\ud83d\udce2\u2744 DEFAULT_WORKSPACE_NAME"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String DEFAULT_WORKSPACE_NAME = "default-workspace"\n')),Object(b.b)("h2",{id:"-nutsconstantspermissions"},"\u2615 NutsConstants.Permissions"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final net.vpc.app.nuts.NutsConstants.Permissions\n")),Object(b.b)("p",null," standard right keys for distinct operations in nuts."),Object(b.b)("h3",{id:"-constant-fields-6"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-add_repository"},"\ud83d\udce2\u2744 ADD_REPOSITORY"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String ADD_REPOSITORY = "add-repo"\n')),Object(b.b)("h4",{id:"-admin"},"\ud83d\udce2\u2744 ADMIN"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String ADMIN = "admin"\n')),Object(b.b)("h4",{id:"-all"},"\ud83d\udce2\u2744 ALL"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Set ALL\n")),Object(b.b)("h4",{id:"-auto_install"},"\ud83d\udce2\u2744 AUTO_INSTALL"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String AUTO_INSTALL = "auto-install"\n')),Object(b.b)("h4",{id:"-deploy"},"\ud83d\udce2\u2744 DEPLOY"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String DEPLOY = "deploy"\n')),Object(b.b)("h4",{id:"-exec"},"\ud83d\udce2\u2744 EXEC"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String EXEC = "exec"\n')),Object(b.b)("h4",{id:"-fetch_content"},"\ud83d\udce2\u2744 FETCH_CONTENT"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String FETCH_CONTENT = "fetch-content"\n')),Object(b.b)("h4",{id:"-fetch_desc"},"\ud83d\udce2\u2744 FETCH_DESC"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String FETCH_DESC = "fetch-desc"\n')),Object(b.b)("h4",{id:"-install"},"\ud83d\udce2\u2744 INSTALL"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String INSTALL = "install"\n')),Object(b.b)("h4",{id:"-push"},"\ud83d\udce2\u2744 PUSH"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String PUSH = "push"\n')),Object(b.b)("h4",{id:"-remove_repository"},"\ud83d\udce2\u2744 REMOVE_REPOSITORY"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String REMOVE_REPOSITORY = "remove-repo"\n')),Object(b.b)("h4",{id:"-save"},"\ud83d\udce2\u2744 SAVE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String SAVE = "save"\n')),Object(b.b)("h4",{id:"-set_password"},"\ud83d\udce2\u2744 SET_PASSWORD"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String SET_PASSWORD = "set-password"\n')),Object(b.b)("h4",{id:"-undeploy"},"\ud83d\udce2\u2744 UNDEPLOY"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String UNDEPLOY = "undeploy"\n')),Object(b.b)("h4",{id:"-uninstall"},"\ud83d\udce2\u2744 UNINSTALL"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String UNINSTALL = "uninstall"\n')),Object(b.b)("h4",{id:"-update"},"\ud83d\udce2\u2744 UPDATE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String UPDATE = "update"\n')),Object(b.b)("h2",{id:"-nutsconstantsqueryfaces"},"\u2615 NutsConstants.QueryFaces"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final net.vpc.app.nuts.NutsConstants.QueryFaces\n")),Object(b.b)("p",null,' valid values for Query parameter "face"'),Object(b.b)("h3",{id:"-constant-fields-7"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-content"},"\ud83d\udce2\u2744 CONTENT"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String CONTENT = "content"\n')),Object(b.b)("h4",{id:"-content_hash"},"\ud83d\udce2\u2744 CONTENT_HASH"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String CONTENT_HASH = "content-hash"\n')),Object(b.b)("h4",{id:"-descriptor"},"\ud83d\udce2\u2744 DESCRIPTOR"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String DESCRIPTOR = "descriptor"\n')),Object(b.b)("h4",{id:"-descriptor_hash"},"\ud83d\udce2\u2744 DESCRIPTOR_HASH"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String DESCRIPTOR_HASH = "descriptor-hash"\n')),Object(b.b)("h2",{id:"-nutsconstantsrepotypes"},"\u2615 NutsConstants.RepoTypes"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final net.vpc.app.nuts.NutsConstants.RepoTypes\n")),Object(b.b)("h3",{id:"-constant-fields-8"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-maven"},"\ud83d\udce2\u2744 MAVEN"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String MAVEN = "maven"\n')),Object(b.b)("h4",{id:"-nuts"},"\ud83d\udce2\u2744 NUTS"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String NUTS = "nuts"\n')),Object(b.b)("h4",{id:"-nuts_server"},"\ud83d\udce2\u2744 NUTS_SERVER"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String NUTS_SERVER = "nuts-server"\n')),Object(b.b)("h2",{id:"-nutsconstantsusers"},"\u2615 NutsConstants.Users"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final net.vpc.app.nuts.NutsConstants.Users\n")),Object(b.b)("p",null," nuts standard user names"),Object(b.b)("h3",{id:"-constant-fields-9"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-admin-1"},"\ud83d\udce2\u2744 ADMIN"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String ADMIN = "admin"\n')),Object(b.b)("h4",{id:"-anonymous"},"\ud83d\udce2\u2744 ANONYMOUS"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String ANONYMOUS = "anonymous"\n')),Object(b.b)("h2",{id:"-nutsconstantsversions"},"\u2615 NutsConstants.Versions"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final net.vpc.app.nuts.NutsConstants.Versions\n")),Object(b.b)("p",null," version special names"),Object(b.b)("h3",{id:"-constant-fields-10"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-latest"},"\ud83d\udce2\u2744 LATEST"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String LATEST = "LATEST"\n')),Object(b.b)("h4",{id:"-release"},"\ud83d\udce2\u2744 RELEASE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String RELEASE = "RELEASE"\n')),Object(b.b)("h2",{id:"-nutsexeccommandformatargentry"},"\u2615 NutsExecCommandFormat.ArgEntry"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static interface net.vpc.app.nuts.NutsExecCommandFormat.ArgEntry\n")),Object(b.b)("p",null," argument entry"),Object(b.b)("h3",{id:"-instance-properties"},"\ud83c\udf9b Instance Properties"),Object(b.b)("h4",{id:"-index"},"\ud83d\udcc4\ud83c\udf9b index"),Object(b.b)("p",null,"argument index"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public index\npublic int getIndex()\n")),Object(b.b)("h4",{id:"-value"},"\ud83d\udcc4\ud83c\udf9b value"),Object(b.b)("p",null,"argument value"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public value\npublic String getValue()\n")),Object(b.b)("h2",{id:"-nutsexeccommandformatenventry"},"\u2615 NutsExecCommandFormat.EnvEntry"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static interface net.vpc.app.nuts.NutsExecCommandFormat.EnvEntry\n")),Object(b.b)("p",null," env entry"),Object(b.b)("h3",{id:"-instance-properties-1"},"\ud83c\udf9b Instance Properties"),Object(b.b)("h4",{id:"-name"},"\ud83d\udcc4\ud83c\udf9b name"),Object(b.b)("p",null,"env name"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(b.b)("h4",{id:"-value-1"},"\ud83d\udcc4\ud83c\udf9b value"),Object(b.b)("p",null,"env value"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public value\npublic String getValue()\n")),Object(b.b)("h2",{id:"-nutsiocopyvalidationexception"},"\u2615 NutsIOCopyValidationException"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsIOCopyValidationException\n")),Object(b.b)("p",null," Exception thrown when copy validation fails"),Object(b.b)("h3",{id:"\ud83e\ude84-constructors"},"\ud83e\ude84 Constructors"),Object(b.b)("h4",{id:"\ud83e\ude84-nutsiocopyvalidationexceptionws"},"\ud83e\ude84 NutsIOCopyValidationException(ws)"),Object(b.b)("p",null,"Constructs a new Validation Exception"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyValidationException(NutsWorkspace ws)\n")),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"NutsWorkspace ws")," : ")),Object(b.b)("h4",{id:"\ud83e\ude84-nutsiocopyvalidationexceptionws-cause"},"\ud83e\ude84 NutsIOCopyValidationException(ws, cause)"),Object(b.b)("p",null,"Constructs a new Validation Exception"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyValidationException(NutsWorkspace ws, Throwable cause)\n")),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"NutsWorkspace ws")," : "),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(b.b)("h4",{id:"\ud83e\ude84-nutsiocopyvalidationexceptionws-message"},"\ud83e\ude84 NutsIOCopyValidationException(ws, message)"),Object(b.b)("p",null,"Constructs a new Validation Exception"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyValidationException(NutsWorkspace ws, String message)\n")),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"NutsWorkspace ws")," : "),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String message")," : message")),Object(b.b)("h4",{id:"\ud83e\ude84-nutsiocopyvalidationexceptionws-message-cause"},"\ud83e\ude84 NutsIOCopyValidationException(ws, message, cause)"),Object(b.b)("p",null,"Constructs a new Validation Exception"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyValidationException(NutsWorkspace ws, String message, Throwable cause)\n")),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"NutsWorkspace ws")," : "),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String message")," : message"),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"Throwable cause")," : cause")),Object(b.b)("h2",{id:"-nutsrepositoryref"},"\u2615 NutsRepositoryRef"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsRepositoryRef\n")),Object(b.b)("p",null," \\@author vpc\n\\@since 0.5.4"),Object(b.b)("h3",{id:"\ud83e\ude84-constructors-1"},"\ud83e\ude84 Constructors"),Object(b.b)("h4",{id:"\ud83e\ude84-nutsrepositoryref"},"\ud83e\ude84 NutsRepositoryRef()"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef()\n")),Object(b.b)("h4",{id:"\ud83e\ude84-nutsrepositoryrefother"},"\ud83e\ude84 NutsRepositoryRef(other)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef(NutsRepositoryRef other)\n")),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"NutsRepositoryRef other")," : ")),Object(b.b)("h4",{id:"\ud83e\ude84-nutsrepositoryrefname-location-deploypriority-enabled"},"\ud83e\ude84 NutsRepositoryRef(name, location, deployPriority, enabled)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef(String name, String location, int deployPriority, boolean enabled)\n")),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String name")," : "),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String location")," : "),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"int deployPriority")," : "),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"boolean enabled")," : ")),Object(b.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(b.b)("h4",{id:"-deployorder"},"\ud83d\udcc4\ud83c\udf9b deployOrder"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public deployOrder\npublic int getDeployOrder()\n")),Object(b.b)("h4",{id:"-enabled"},"\ud83d\udcc4\ud83c\udf9b enabled"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public enabled\npublic boolean isEnabled()\n")),Object(b.b)("h4",{id:"-failsafe"},"\ud83d\udcc4\ud83c\udf9b failSafe"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public failSafe\npublic boolean isFailSafe()\n")),Object(b.b)("h4",{id:"-location"},"\ud83d\udcc4\ud83c\udf9b location"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public location\npublic String getLocation()\n")),Object(b.b)("h4",{id:"-name-1"},"\ud83d\udcc4\ud83c\udf9b name"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(b.b)("h3",{id:"-instance-methods"},"\u2699 Instance Methods"),Object(b.b)("h4",{id:"-copy"},"\u2699 copy()"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef copy()\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRepositoryRef"),Object(b.b)("h4",{id:"-equalsobj"},"\u2699 equals(obj)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object obj)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":boolean"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"Object obj")," : ")),Object(b.b)("h4",{id:"-hashcode"},"\u2699 hashCode()"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":int"),Object(b.b)("h4",{id:"-setdeployorderdeploypriority"},"\u2699 setDeployOrder(deployPriority)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef setDeployOrder(int deployPriority)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRepositoryRef"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"int deployPriority")," : ")),Object(b.b)("h4",{id:"-setenabledenabled"},"\u2699 setEnabled(enabled)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef setEnabled(boolean enabled)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRepositoryRef"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"boolean enabled")," : ")),Object(b.b)("h4",{id:"-setfailsafefailsafe"},"\u2699 setFailSafe(failSafe)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef setFailSafe(boolean failSafe)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRepositoryRef"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"boolean failSafe")," : ")),Object(b.b)("h4",{id:"-setlocationlocation"},"\u2699 setLocation(location)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef setLocation(String location)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRepositoryRef"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String location")," : ")),Object(b.b)("h4",{id:"-setnamename"},"\u2699 setName(name)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryRef setName(String name)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRepositoryRef"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String name")," : ")),Object(b.b)("h4",{id:"-tostring"},"\u2699 toString()"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":String"),Object(b.b)("h2",{id:"-nutsrepositorysecuritymanager"},"\u2615 NutsRepositorySecurityManager"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRepositorySecurityManager\n")),Object(b.b)("p",null," \\@author vpc\n\\@since 0.5.4"),Object(b.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(b.b)("h4",{id:"-allowed"},"\ud83d\udcc4\ud83c\udf9b allowed"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public allowed\npublic boolean isAllowed(right)\n")),Object(b.b)("h4",{id:"-authenticationagent"},"\ud83d\udcc4\ud83c\udf9b authenticationAgent"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsAuthenticationAgent public authenticationAgent\npublic NutsAuthenticationAgent getAuthenticationAgent(id)\n")),Object(b.b)("h4",{id:"-effectiveuser"},"\ud83d\udcc4\ud83c\udf9b effectiveUser"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsUser public effectiveUser\npublic NutsUser getEffectiveUser(username)\n")),Object(b.b)("h3",{id:"-instance-methods-1"},"\u2699 Instance Methods"),Object(b.b)("h4",{id:"-addusername"},"\u2699 addUser(name)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsAddUserCommand addUser(String name)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsAddUserCommand"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String name")," : ")),Object(b.b)("h4",{id:"-checkallowedright-operationname"},"\u2699 checkAllowed(right, operationName)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositorySecurityManager checkAllowed(String right, String operationName)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRepositorySecurityManager"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String right")," : "),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String operationName")," : ")),Object(b.b)("h4",{id:"-checkcredentialscredentialsid-password"},"\u2699 checkCredentials(credentialsId, password)"),Object(b.b)("p",null,"check if the given \\","password\\"," is valid against the one stored\nby the Authentication Agent for \\","credentialsId\\"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void checkCredentials(char[] credentialsId, char[] password)\n")),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentialsId"),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"char[] password")," : password")),Object(b.b)("h4",{id:"-createcredentialscredentials-allowretreive-credentialid"},"\u2699 createCredentials(credentials, allowRetreive, credentialId)"),Object(b.b)("p",null,"store credentials in the agent\\'s and return the credential id to store\ninto the config. if credentialId is not null, the given credentialId will\nbe updated and the credentialId is returned. The ","{","\\@code credentialsId","}",",if\npresent or returned, \\","MUST\\"," be prefixed with\nAuthenticationAgent\\'d id and \\':\\' character"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"char[] createCredentials(char[] credentials, boolean allowRetreive, char[] credentialId)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":char[]"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"char[] credentials")," : credential"),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"boolean allowRetreive")," : when true {@link #getCredentials(char[])} can be invoked over {@code credentialId}"),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"char[] credentialId")," : preferred credentialId, if null, a new one is created")),Object(b.b)("h4",{id:"-findusers"},"\u2699 findUsers()"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUser[] findUsers()\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsUser[]"),Object(b.b)("h4",{id:"-getcredentialscredentialsid"},"\u2699 getCredentials(credentialsId)"),Object(b.b)("p",null,"get the credentials for the given id. The ","{","\\@code credentialsId","}","\n\\","MUST\\"," be prefixed with AuthenticationAgent\\'d id and \\':\\'\ncharacter"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"char[] getCredentials(char[] credentialsId)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":char[]"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentials-id")),Object(b.b)("h4",{id:"-removecredentialscredentialsid"},"\u2699 removeCredentials(credentialsId)"),Object(b.b)("p",null,"remove existing credentials with the given id The ","{","\\@code credentialsId","}","\n\\","MUST\\"," be prefixed with AuthenticationAgent\\'d id and \\':\\'\ncharacter"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean removeCredentials(char[] credentialsId)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":boolean"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentials-id")),Object(b.b)("h4",{id:"-removeusername"},"\u2699 removeUser(name)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveUserCommand removeUser(String name)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRemoveUserCommand"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String name")," : ")),Object(b.b)("h4",{id:"-setauthenticationagentauthenticationagent-options"},"\u2699 setAuthenticationAgent(authenticationAgent, options)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositorySecurityManager setAuthenticationAgent(String authenticationAgent, NutsUpdateOptions options)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsRepositorySecurityManager"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String authenticationAgent")," : "),Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : ")),Object(b.b)("h4",{id:"-updateusername"},"\u2699 updateUser(name)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand updateUser(String name)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String name")," : ")),Object(b.b)("h2",{id:"-nutstableformatseparator"},"\u2615 NutsTableFormat.Separator"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final net.vpc.app.nuts.NutsTableFormat.Separator\n")),Object(b.b)("h3",{id:"-constant-fields-11"},"\ud83d\udce2\u2744 Constant Fields"),Object(b.b)("h4",{id:"-first_row_end"},"\ud83d\udce2\u2744 FIRST_ROW_END"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator FIRST_ROW_END\n")),Object(b.b)("h4",{id:"-first_row_line"},"\ud83d\udce2\u2744 FIRST_ROW_LINE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator FIRST_ROW_LINE\n")),Object(b.b)("h4",{id:"-first_row_sep"},"\ud83d\udce2\u2744 FIRST_ROW_SEP"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator FIRST_ROW_SEP\n")),Object(b.b)("h4",{id:"-first_row_start"},"\ud83d\udce2\u2744 FIRST_ROW_START"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator FIRST_ROW_START\n")),Object(b.b)("h4",{id:"-last_row_end"},"\ud83d\udce2\u2744 LAST_ROW_END"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator LAST_ROW_END\n")),Object(b.b)("h4",{id:"-last_row_line"},"\ud83d\udce2\u2744 LAST_ROW_LINE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator LAST_ROW_LINE\n")),Object(b.b)("h4",{id:"-last_row_sep"},"\ud83d\udce2\u2744 LAST_ROW_SEP"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator LAST_ROW_SEP\n")),Object(b.b)("h4",{id:"-last_row_start"},"\ud83d\udce2\u2744 LAST_ROW_START"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator LAST_ROW_START\n")),Object(b.b)("h4",{id:"-middle_row_end"},"\ud83d\udce2\u2744 MIDDLE_ROW_END"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator MIDDLE_ROW_END\n")),Object(b.b)("h4",{id:"-middle_row_line"},"\ud83d\udce2\u2744 MIDDLE_ROW_LINE"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator MIDDLE_ROW_LINE\n")),Object(b.b)("h4",{id:"-middle_row_sep"},"\ud83d\udce2\u2744 MIDDLE_ROW_SEP"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator MIDDLE_ROW_SEP\n")),Object(b.b)("h4",{id:"-middle_row_start"},"\ud83d\udce2\u2744 MIDDLE_ROW_START"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator MIDDLE_ROW_START\n")),Object(b.b)("h4",{id:"-row_end"},"\ud83d\udce2\u2744 ROW_END"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator ROW_END\n")),Object(b.b)("h4",{id:"-row_sep"},"\ud83d\udce2\u2744 ROW_SEP"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator ROW_SEP\n")),Object(b.b)("h4",{id:"-row_start"},"\ud83d\udce2\u2744 ROW_START"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final Separator ROW_START\n")),Object(b.b)("h3",{id:"-static-methods"},"\ud83d\udce2\u2699 Static Methods"),Object(b.b)("h4",{id:"-valueofname"},"\ud83d\udce2\u2699 valueOf(name)"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Separator valueOf(String name)\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":Separator"),Object(b.b)("ul",null,Object(b.b)("li",{parentName:"ul"},Object(b.b)("strong",{parentName:"li"},"String name")," : ")),Object(b.b)("h4",{id:"-values"},"\ud83d\udce2\u2699 values()"),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Separator[] values()\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":Separator[]"),Object(b.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(b.b)("h4",{id:"-id-1"},"\u2699 id()"),Object(b.b)("p",null,"lower cased identifier."),Object(b.b)("pre",null,Object(b.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(b.b)("p",null,Object(b.b)("strong",{parentName:"p"},"return"),":String"))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/61.ac7b4095.js b/docs/61.ac7b4095.js new file mode 100644 index 000000000..cc2f37ee5 --- /dev/null +++ b/docs/61.ac7b4095.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[61,62],{115:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n.n(a),o=n(118),l=n(119),c=n(22),s=n(123),i=n(2),u=n(120),p=n(126),m=n(138),d=n(139),y=n(140),h=n(137),b=n(121),f=n(124),g=n(61),v=n.n(g);const k=(e,t)=>"link"===e.type?((e,t)=>{const n=e=>e.endsWith("/")?e:e+"/";return n(e)===n(t)})(e.href,t):"category"===e.type&&e.items.some(e=>k(e,t));function j({item:e,onItemClick:t,collapsible:n,activePath:o,...l}){const{items:c,label:s}=e,p=k(e,o),m=function(e){const t=Object(a.useRef)(e);return Object(a.useEffect)(()=>{t.current=e},[e]),t.current}(p),[d,y]=Object(a.useState)(()=>!!n&&(!p&&e.collapsed));Object(a.useEffect)(()=>{p&&!m&&d&&y(!1)},[p,m,d]);const h=Object(a.useCallback)(e=>{e.preventDefault(),y(e=>!e)},[y]);return 0===c.length?null:r.a.createElement("li",{className:Object(u.a)("menu__list-item",{"menu__list-item--collapsed":d}),key:s},r.a.createElement("a",Object(i.a)({className:Object(u.a)("menu__link",{"menu__link--sublist":n,"menu__link--active":n&&p,[v.a.menuLinkText]:!n}),onClick:n?h:void 0,href:n?"#!":void 0},l),s),r.a.createElement("ul",{className:"menu__list"},c.map(e=>r.a.createElement(E,{tabIndex:d?"-1":"0",key:e.label,item:e,onItemClick:t,collapsible:n,activePath:o}))))}function O({item:e,onItemClick:t,activePath:n,collapsible:a,...o}){const{href:l,label:c}=e,s=k(e,n);return r.a.createElement("li",{className:"menu__list-item",key:c},r.a.createElement(b.a,Object(i.a)({className:Object(u.a)("menu__link",{"menu__link--active":s}),to:l},Object(f.a)(l)?{isNavLink:!0,exact:!0,onClick:t}:{target:"_blank",rel:"noreferrer noopener"},o),c))}function E(e){switch(e.item.type){case"category":return r.a.createElement(j,e);case"link":default:return r.a.createElement(O,e)}}var N=function({path:e,sidebar:t,sidebarCollapsible:n=!0}){const[o,c]=Object(a.useState)(!1),{siteConfig:{themeConfig:{navbar:{title:s="",hideOnScroll:f=!1}={}}={}}={},isClient:g}=Object(l.a)(),{logoLink:k,logoLinkProps:j,logoImageUrl:O,logoAlt:N}=Object(y.a)(),{isAnnouncementBarClosed:C}=Object(p.a)(),{scrollY:w}=Object(h.a)();Object(m.a)(o);const x=Object(d.a)();return Object(a.useEffect)(()=>{x===d.b.desktop&&c(!1)},[x]),r.a.createElement("div",{className:Object(u.a)(v.a.sidebar,{[v.a.sidebarWithHideableNavbar]:f})},f&&r.a.createElement(b.a,Object(i.a)({tabIndex:"-1",className:v.a.sidebarLogo,to:k},j),null!=O&&r.a.createElement("img",{key:g,src:O,alt:N}),null!=s&&r.a.createElement("strong",null,s)),r.a.createElement("div",{className:Object(u.a)("menu","menu--responsive",v.a.menu,{"menu--show":o,[v.a.menuWithAnnouncementBar]:!C&&0===w})},r.a.createElement("button",{"aria-label":o?"Close Menu":"Open Menu","aria-haspopup":"true",className:"button button--secondary button--sm menu__button",type:"button",onClick:()=>{c(!o)}},o?r.a.createElement("span",{className:Object(u.a)(v.a.sidebarMenuIcon,v.a.sidebarMenuCloseIcon)},"\xd7"):r.a.createElement("svg",{"aria-label":"Menu",className:v.a.sidebarMenuIcon,xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 32 32",role:"img",focusable:"false"},r.a.createElement("title",null,"Menu"),r.a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))),r.a.createElement("ul",{className:"menu__list"},t.map(t=>r.a.createElement(E,{key:t.label,item:t,onItemClick:e=>{e.target.blur(),c(!1)},collapsible:n,activePath:e})))))},C=n(134),w=n(135),x=n(128),P=n(62),_=n.n(P);function T({currentDocRoute:e,docsMetadata:t,children:n}){var a,c;const{siteConfig:i,isClient:u}=Object(l.a)(),{permalinkToSidebar:p,docsSidebars:m,version:d}=t,y=m[p[e.path]];return r.a.createElement(s.a,{version:d,key:u},r.a.createElement("div",{className:_.a.docPage},y&&r.a.createElement("div",{className:_.a.docSidebarContainer,role:"complementary"},r.a.createElement(N,{sidebar:y,path:e.path,sidebarCollapsible:null===(a=null===(c=i.themeConfig)||void 0===c?void 0:c.sidebarCollapsible)||void 0===a||a})),r.a.createElement("main",{className:_.a.docMainContainer},r.a.createElement(o.a,{components:C.a},n))))}t.default=function(e){const{route:{routes:t},docsMetadata:n,location:a}=e,o=t.find(e=>Object(x.matchPath)(a.pathname,e));return o?r.a.createElement(T,{currentDocRoute:o,docsMetadata:n},Object(c.a)(t)):r.a.createElement(w.default,e)}},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return y}));var a=n(0),r=n.n(a);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var i=r.a.createContext({}),u=function(e){var t=r.a.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},p=function(e){var t=u(e.components);return r.a.createElement(i.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},d=r.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,i=s(e,["components","mdxType","originalType","parentName"]),p=u(n),d=a,y=p["".concat(l,".").concat(d)]||p[d]||m[d]||o;return n?r.a.createElement(y,c(c({ref:t},i),{},{components:n})):r.a.createElement(y,c({ref:t},i))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=d;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:a,l[1]=c;for(var i=2;i{const n=document.createElement("textarea"),a=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";const r=document.getSelection();let o=!1;r.rangeCount>0&&(o=r.getRangeAt(0)),t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch(c){}return n.remove(),o&&(r.removeAllRanges(),r.addRange(o)),a&&a.focus(),l};e.exports=a,e.exports.default=a},132:function(e,t){e.exports.parse=function(e){var t=e.split(",").map((function(e){return function(e){if(/^-?\d+$/.test(e))return parseInt(e,10);var t;if(t=e.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){var n=t[1],a=t[2],r=t[3];if(n&&r){var o=[],l=(n=parseInt(n))<(r=parseInt(r))?1:-1;"-"!=a&&".."!=a&&"\u2025"!=a||(r+=l);for(var c=n;c!=r;c+=l)o.push(c);return o}}return[]}(e)}));return 0===t.length?[]:1===t.length?Array.isArray(t[0])?t[0]:t:t.reduce((function(e,t){return Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),e.concat(t)}))}},134:function(e,t,n){"use strict";var a=n(2),r=n(0),o=n.n(r),l=n(121),c=n(120),s={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","at-rule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},i={Prism:n(20).a,theme:s};function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return(p=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)},h=function(e,t){var n=e.plain,a=Object.create(null),r=e.styles.reduce((function(e,n){var a=n.languages,r=n.style;return a&&!a.includes(t)||n.types.forEach((function(t){var n=p({},e[t],r);e[t]=n})),e}),a);return r.root=n,r.plain=p({},n,{backgroundColor:null}),r};function b(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(n[a]=e[a]);return n}var f=function(e){function t(){for(var t=this,n=[],a=arguments.length;a--;)n[a]=arguments[a];e.apply(this,n),u(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?h(e.theme,e.language):void 0;return t.themeDict=n})),u(this,"getLineProps",(function(e){var n=e.key,a=e.className,r=e.style,o=p({},b(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(o.style=l.plain),void 0!==r&&(o.style=void 0!==o.style?p({},o.style,r):r),void 0!==n&&(o.key=n),a&&(o.className+=" "+a),o})),u(this,"getStyleForToken",(function(e){var n=e.types,a=e.empty,r=n.length,o=t.getThemeDict(t.props);if(void 0!==o){if(1===r&&"plain"===n[0])return a?{display:"inline-block"}:void 0;if(1===r&&!a)return o[n[0]];var l=a?{display:"inline-block"}:{},c=n.map((function(e){return o[e]}));return Object.assign.apply(Object,[l].concat(c))}})),u(this,"getTokenProps",(function(e){var n=e.key,a=e.className,r=e.style,o=e.token,l=p({},b(e,["key","className","style","token"]),{className:"token "+o.types.join(" "),children:o.content,style:t.getStyleForToken(o),key:void 0});return void 0!==r&&(l.style=void 0!==l.style?p({},l.style,r):r),void 0!==n&&(l.key=n),a&&(l.className+=" "+a),l}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,a=e.code,r=e.children,o=this.getThemeDict(this.props),l=t.languages[n];return r({tokens:function(e){for(var t=[[]],n=[e],a=[0],r=[e.length],o=0,l=0,c=[],s=[c];l>-1;){for(;(o=a[l]++)0?u:["plain"],i=p):(u=y(u,p.type),p.alias&&(u=y(u,p.alias)),i=p.content),"string"==typeof i){var h=i.split(m),b=h.length;c.push({types:u,content:h[0]});for(var f=1;f{const{siteConfig:{themeConfig:{prism:e={}}}}=Object(O.a)(),{isDarkTheme:t}=Object(N.a)(),n=e.theme||E,a=e.darkTheme||n;return t?a:n},w=n(47),x=n.n(w);const P=/{([\d,-]+)}/,_=(e=["js","jsBlock","jsx","python","html"])=>{const t={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},n=["highlight-next-line","highlight-start","highlight-end"].join("|"),a=e.map(e=>`(?:${t[e].start}\\s*(${n})\\s*${t[e].end})`).join("|");return new RegExp(`^\\s*(?:${a})\\s*$`)},T=/title=".*"/;var S=({children:e,className:t,metastring:n})=>{const{siteConfig:{themeConfig:{prism:l={}}}}=Object(O.a)(),[s,u]=Object(r.useState)(!1),[p,m]=Object(r.useState)(!1);Object(r.useEffect)(()=>{m(!0)},[]);const d=Object(r.useRef)(null);let y=[],h="";const b=C();if(n&&P.test(n)){const e=n.match(P)[1];y=j.a.parse(e).filter(e=>e>0)}n&&T.test(n)&&(h=n.match(T)[0].split("title=")[1].replace(/"+/g,""));let g=t&&t.replace(/language-/,"");!g&&l.defaultLanguage&&(g=l.defaultLanguage);let k=e.replace(/\n$/,"");if(0===y.length&&void 0!==g){let t="";const n=(e=>{switch(e){case"js":case"javascript":case"ts":case"typescript":return _(["js","jsBlock"]);case"jsx":case"tsx":return _(["js","jsBlock","jsx"]);case"html":return _(["js","jsBlock","html"]);case"python":case"py":return _(["python"]);default:return _()}})(g),a=e.replace(/\n$/,"").split("\n");let r;for(let e=0;ee||t,void 0)){case"highlight-next-line":t+=o+",";break;case"highlight-start":r=o;break;case"highlight-end":t+=`${r}-${o-1},`}a.splice(e,1)}else e+=1}y=j.a.parse(t),k=a.join("\n")}const E=()=>{v()(k),u(!0),setTimeout(()=>u(!1),2e3)};return o.a.createElement(f,Object(a.a)({},i,{key:String(p),theme:b,code:k,language:g}),({className:e,style:t,tokens:n,getLineProps:r,getTokenProps:l})=>o.a.createElement(o.a.Fragment,null,h&&o.a.createElement("div",{style:t,className:x.a.codeBlockTitle},h),o.a.createElement("div",{className:x.a.codeBlockContent},o.a.createElement("button",{ref:d,type:"button","aria-label":"Copy code to clipboard",className:Object(c.a)(x.a.copyButton,{[x.a.copyButtonWithTitle]:h}),onClick:E},s?"Copied":"Copy"),o.a.createElement("div",{tabIndex:0,className:Object(c.a)(e,x.a.codeBlock,{[x.a.codeBlockWithTitle]:h})},o.a.createElement("div",{className:x.a.codeBlockLines,style:t},n.map((e,t)=>{1===e.length&&""===e[0].content&&(e[0].content="\n");const n=r({line:e,key:t});return y.includes(t+1)&&(n.className=n.className+" docusaurus-highlight-code-line"),o.a.createElement("div",Object(a.a)({key:t},n),e.map((e,t)=>o.a.createElement("span",Object(a.a)({key:t},l({token:e,key:t})))))}))))))},D=(n(48),n(49)),L=n.n(D);var I=e=>function({id:t,...n}){const{siteConfig:{themeConfig:{navbar:{hideOnScroll:a=!1}={}}={}}={}}=Object(O.a)();return t?o.a.createElement(e,n,o.a.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:Object(c.a)("anchor",{[L.a.enhancedAnchor]:!a}),id:t}),n.children,o.a.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:"hash-link",href:"#"+t,title:"Direct link to heading"},"#")):o.a.createElement(e,n)},B=n(50),M=n.n(B);t.a={code:e=>{const{children:t}=e;return"string"==typeof t?t.includes("\n")?o.a.createElement(S,e):o.a.createElement("code",e):t},a:e=>o.a.createElement(l.a,e),pre:e=>o.a.createElement("div",Object(a.a)({className:M.a.mdxCodeBlock},e)),h1:I("h1"),h2:I("h2"),h3:I("h3"),h4:I("h4"),h5:I("h5"),h6:I("h6")}},135:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n.n(a),o=n(123);t.default=function(){return r.a.createElement(o.a,{title:"Page Not Found"},r.a.createElement("div",{className:"container margin-vert--xl"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col col--6 col--offset-3"},r.a.createElement("h1",{className:"hero__title"},"Page Not Found"),r.a.createElement("p",null,"We could not find what you were looking for."),r.a.createElement("p",null,"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))}}}]); \ No newline at end of file diff --git a/docs/616665f6.deaf6dd1.js b/docs/616665f6.deaf6dd1.js new file mode 100644 index 000000000..000cb1948 --- /dev/null +++ b/docs/616665f6.deaf6dd1.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{118:function(e,t,i){"use strict";i.d(t,"a",(function(){return m})),i.d(t,"b",(function(){return b}));var r=i(0),u=i.n(r);function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function s(e){for(var t=1;t=0||(u[i]=e[i]);return u}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(u[i]=e[i])}return u}var l=u.a.createContext({}),c=function(e){var t=u.a.useContext(l),i=t;return e&&(i="function"==typeof e?e(t):s(s({},t),e)),i},m=function(e){var t=c(e.components);return u.a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return u.a.createElement(u.a.Fragment,{},t)}},p=u.a.forwardRef((function(e,t){var i=e.components,r=e.mdxType,n=e.originalType,a=e.parentName,l=o(e,["components","mdxType","originalType","parentName"]),m=c(i),p=r,b=m["".concat(a,".").concat(p)]||m[p]||d[p]||n;return i?u.a.createElement(b,s(s({ref:t},l),{},{components:i})):u.a.createElement(b,s({ref:t},l))}));function b(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var n=i.length,a=new Array(n);a[0]=p;var s={};for(var o in t)hasOwnProperty.call(t,o)&&(s[o]=t[o]);s.originalType=e,s.mdxType="string"==typeof e?e:r,a[1]=s;for(var l=2;l=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=a.a.createContext({}),p=function(e){var t=a.a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},b=function(e){var t=p(e.components);return a.a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},d=a.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),b=p(n),d=r,m=b["".concat(i,".").concat(d)]||b[d]||u[d]||o;return n?a.a.createElement(m,c(c({ref:t},l),{},{components:n})):a.a.createElement(m,c({ref:t},l))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=d;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:r,i[1]=c;for(var l=2;l1?a+"s":a}(o,"post"),' tagged with "',s,'"'),l.a.createElement(m.a,{href:n},"View All Tags"),l.a.createElement("div",{className:"margin-vert--xl"},t.map(({content:e})=>l.a.createElement(c.a,{key:e.metadata.permalink,frontMatter:e.frontMatter,metadata:e.metadata,truncated:!0},l.a.createElement(e,null))))))))}}}]); \ No newline at end of file diff --git a/docs/69d42aa1.0d9504cd.js b/docs/69d42aa1.0d9504cd.js new file mode 100644 index 000000000..acb6ea8be --- /dev/null +++ b/docs/69d42aa1.0d9504cd.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{118:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return u}));var r=n(0),a=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=a.a.createContext({}),l=function(e){var t=a.a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},b=function(e){var t=l(e.components);return a.a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},m=a.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),b=l(n),m=r,u=b["".concat(s,".").concat(m)]||b[m]||d[m]||o;return n?a.a.createElement(u,i(i({ref:t},c),{},{components:n})):a.a.createElement(u,i({ref:t},c))}));function u(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,s=new Array(o);s[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i.mdxType="string"==typeof e?e:r,s[1]=i;for(var c=2;cnuts-builder",id:"11-nuts-builder",children:[]},{value:"1.2 nuts-api",id:"12-nuts-api",children:[]},{value:"1.3 nuts-core",id:"13-nuts-core",children:[]}]},{value:"2. Companion tools projects",id:"2-companion-tools-projects",children:[{value:"2.1 nadmin",id:"21-nadmin",children:[]},{value:"2.2 nsh",id:"22-nsh",children:[]},{value:"2.3 ndi",id:"23-ndi",children:[]}]},{value:"3. Toolbox projects",id:"3-toolbox-projects",children:[{value:"3.1 nded",id:"31-nded",children:[]},{value:"3.2 nclown",id:"32-nclown",children:[]},{value:"3.3 nserver",id:"33-nserver",children:[]},{value:"3.4 nwar",id:"34-nwar",children:[]},{value:"3.5 ndexer",id:"35-ndexer",children:[]},{value:"3.6 feenoo",id:"36-feenoo",children:[]},{value:"3.7 file-version",id:"37-file-version",children:[]},{value:"3.8 nmysql",id:"38-nmysql",children:[]},{value:"3.9 ntomcat",id:"39-ntomcat",children:[]},{value:"3.10 nderby",id:"310-nderby",children:[]},{value:"3.11 nmvn",id:"311-nmvn",children:[]},{value:"3.12 worky",id:"312-worky",children:[]}]},{value:"4. Library Projects",id:"4-library-projects",children:[{value:"4.1 nuts-tomcat-classloader",id:"41-nuts-tomcat-classloader",children:[]},{value:"4.2 nuts-servlet",id:"42-nuts-servlet",children:[]},{value:"4.3 nuts-lib-template",id:"43-nuts-lib-template",children:[]}]},{value:"5. Other Projects",id:"5-other-projects",children:[]},{value:"6. Honorable mentions",id:"6-honorable-mentions",children:[]}],c={rightToc:p};function l(e){var t=e.components,n=Object(a.a)(e,["components"]);return Object(o.b)("wrapper",Object(r.a)({},c,n,{components:t,mdxType:"MDXLayout"}),Object(o.b)("pre",null,Object(o.b)("code",Object(r.a)({parentName:"pre"},{})," __ __ \n /\\ \\ \\ _ __/ /______\n / \\/ / / / / __/ ___/\n/ /\\ / /_/ / /_(__ )\n\\_\\ \\/\\__,_/\\__/____/ version v0.7.0\n")),Object(o.b)("h1",{id:"nuts-projects"},"Nuts projects"),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," repository is composed of several projects that can be organized in 5 categories"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Core ",Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," : These projects are the core/base of the ",Object(o.b)("strong",{parentName:"li"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," package manager"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Companion Tools")," : These projects are applications and tools to install with ",Object(o.b)("strong",{parentName:"li"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," itself. Their installation are prompted at first install of ",Object(o.b)("strong",{parentName:"li"},"Nuts")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Toolbox")," : These projects are applications and tools built on top of ",Object(o.b)("strong",{parentName:"li"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," Application Framework and are of common interest"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Lib")," : These projects are common libraries that can be used to enabled some ",Object(o.b)("strong",{parentName:"li"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," features in your application"),Object(o.b)("li",{parentName:"ul"},Object(o.b)("strong",{parentName:"li"},"Other")," : All other apps that does no fit in the previous categories")),Object(o.b)("h2",{id:"1--core-nuts-projects"},"1- Core Nuts projects"),Object(o.b)("p",null,"Core ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," projects include ",Object(o.b)("strong",{parentName:"p"},"nuts-builder"),", ",Object(o.b)("strong",{parentName:"p"},"nuts-api"),", ",Object(o.b)("strong",{parentName:"p"},"nuts-core"),"."),Object(o.b)("h3",{id:"11-nuts-builder"},"1.1 ",Object(o.b)("strong",{parentName:"h3"},"nuts-builder")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nuts-builder")," is a meta project (parent maven pom project) that helps building all the other projects."),Object(o.b)("h3",{id:"12-nuts-api"},"1.2 ",Object(o.b)("strong",{parentName:"h3"},"nuts-api")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nuts-api"),' is the effective "Nuts" only required dependency. It defines the bootstrap application that is responsible of loading all necessary libraries for its execution. ',Object(o.b)("strong",{parentName:"p"},"nuts-api")," start to load ",Object(o.b)("strong",{parentName:"p"},"nuts-core")," which is responsible of implementing all features and interfaces declared by the ",Object(o.b)("strong",{parentName:"p"},"nuts-api")," library. That implementation will handle further download, version dependency etc. Such architecture is considered to force loose coupling with nuts binaries.\n",Object(o.b)("strong",{parentName:"p"},"nuts-api")," is a very thin boostrapper : its size is about 300k. It can be used as a standalone application or as an embedded library."),Object(o.b)("h3",{id:"13-nuts-core"},"1.3 ",Object(o.b)("strong",{parentName:"h3"},"nuts-core")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nuts-core")," is the effective and standard implementation of ",Object(o.b)("strong",{parentName:"p"},"nuts-api"),". ",Object(o.b)("strong",{parentName:"p"},"nuts-core")," has a faster update pace than ",Object(o.b)("strong",{parentName:"p"},"nuts-api"),". It focuses on performance an compliance to the ",Object(o.b)("strong",{parentName:"p"},"Nuts")," specification declared by ",Object(o.b)("strong",{parentName:"p"},"nuts-api")," interfaces. You are not required to add this dependency to your application if you want to embed ",Object(o.b)("strong",{parentName:"p"},"Nuts"),". The library will be loaded on the wire (if not yet present in the classpath)."),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nuts-core")," is designed to have very few dependencies : ",Object(o.b)("strong",{parentName:"p"},"gson")," and ",Object(o.b)("strong",{parentName:"p"},"jansi"),". ",Object(o.b)("strong",{parentName:"p"},"gson")," trivially is used to support json serialization : the main format used in ",Object(o.b)("strong",{parentName:"p"},"Nuts")," to support configuration and descriptors. ",Object(o.b)("strong",{parentName:"p"},"jansi"),' is used to support terminal coloring and the "Nuts Text Coloring Format" (NTCF), a simple text format that helps creating colorful terminal applications.'),Object(o.b)("h2",{id:"2-companion-tools-projects"},"2. Companion tools projects"),Object(o.b)("p",null,"Companion tools include ",Object(o.b)("strong",{parentName:"p"},"nadmin"),", ",Object(o.b)("strong",{parentName:"p"},"nsh")," and ",Object(o.b)("strong",{parentName:"p"},"ndi"),'.\nThese three applications are implemented following the "',Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts")),' Application Framework" and hence are dependent on ',Object(o.b)("strong",{parentName:"p"},"nuts-api")," library. They are recommended applications to install with ",Object(o.b)("strong",{parentName:"p"},"Nuts")," itself, however they are not mandatory and may be ignored particularly when using ",Object(o.b)("strong",{parentName:"p"},"nuts-api")," as library."),Object(o.b)("h3",{id:"21-nadmin"},"2.1 ",Object(o.b)("strong",{parentName:"h3"},"nadmin")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nadmin")," (for ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," admin)is an administration tool to the ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," workspaces. It adds support to manage users, credentials, authorizations, workspaces and repositories by providing command line support for such actions."),Object(o.b)("h3",{id:"22-nsh"},"2.2 ",Object(o.b)("strong",{parentName:"h3"},"nsh")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nsh")," (for ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," shell) is simply a portable POSIX bash compatible implementation. It supports all common builtin commands (ls, cd, rm, ...) and adds support to grep, ssh and scp in a seamless manner. It also supports command line, scripts (including commons constructs with if, do, case, ...) and pipes (|)"),Object(o.b)("h3",{id:"23-ndi"},"2.3 ",Object(o.b)("strong",{parentName:"h3"},"ndi")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"ndi")," (for ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," desktop integration)is simply a helper tool to support seamless integration of ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," commands in your favorite operating system and environment. ",Object(o.b)("strong",{parentName:"p"},"ndi"),' is responsible of creating script shortcuts to your common commands so that you can invoke tem directly from your environment. For instance it creates an "nadmin" script and configures your PATH environment to help calling the nuts admin tool instead of the common way to do so "nuts nadmin". On window system, ',Object(o.b)("strong",{parentName:"p"},"ndi")," will create shortcuts and menus."),Object(o.b)("h2",{id:"3-toolbox-projects"},"3. Toolbox projects"),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," comes with an array of tools out of the box you can install and play with. Here are these tools"),Object(o.b)("h3",{id:"31-nded"},"3.1 ",Object(o.b)("strong",{parentName:"h3"},"nded")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nded"),' for "',Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts")),' Descriptor Editor" is a small tool for creating and editing json ',Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," descriptor file. It is intended to be called by automation tools."),Object(o.b)("h3",{id:"32-nclown"},"3.2 ",Object(o.b)("strong",{parentName:"h3"},"nclown")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nclown")," is an angular web application frontend for ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts")),". It helps navigating, searching and installing artifacts. It is intended to be a web admin tool as well."),Object(o.b)("h3",{id:"33-nserver"},"3.3 ",Object(o.b)("strong",{parentName:"h3"},"nserver")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nserver")," is a standalone application that runs a small http server that will expose a workspace as a remote repository to other ",Object(o.b)("strong",{parentName:"p"},"Nuts")," installations. This is the simplest way to mirror a workspace and share artifacts between networked nodes."),Object(o.b)("h3",{id:"34-nwar"},"3.4 ",Object(o.b)("strong",{parentName:"h3"},"nwar")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nwar")," (for ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," Web Application Archive) is a web application that exposes ",Object(o.b)("strong",{parentName:"p"},"nserver")," as a war to be deployed on a more mature http server or container."),Object(o.b)("h3",{id:"35-ndexer"},"3.5 ",Object(o.b)("strong",{parentName:"h3"},"ndexer")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"ndexer")," (for Indexer) is a lucene powered index for ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts")),". It can be shared across multiple ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," workspaces and processes."),Object(o.b)("h3",{id:"36-feenoo"},"3.6 ",Object(o.b)("strong",{parentName:"h3"},"feenoo")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"feenoo")," is a small search tool. It searches for files, files contents and classes within jars. You ca search for files than contains some text or jars that contain some class, or jars of a specific version of java.\nThe name ",Object(o.b)("strong",{parentName:"p"},"feenoo"),' comes form the Tunisian dialect and means "where is it?".'),Object(o.b)("h3",{id:"37-file-version"},"3.7 ",Object(o.b)("strong",{parentName:"h3"},"file-version")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"file-version")," is a small tool that helps detecting files versions. It supports jar, war, ear, dll and exe file versions. It opens a file and looks for it's version in its meta-data."),Object(o.b)("h3",{id:"38-nmysql"},"3.8 ",Object(o.b)("strong",{parentName:"h3"},"nmysql")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nmysql")," is a companion tool to the mysql and mariadb servers. The initial actions supported are backup and restore including push/pull mechanism from/to a couple of databases for synchronization. It supports jdbc and ssh based access to remote mysql/mariadb installation."),Object(o.b)("h3",{id:"39-ntomcat"},"3.9 ",Object(o.b)("strong",{parentName:"h3"},"ntomcat")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"ntomcat")," is a companion tool to the tomcat http server. The initial actions supported are start, stop, status, configure (http ports etc..) and deploy. It supports as well installation of several versions of Tomcat and multi domain configuration for deployments."),Object(o.b)("h3",{id:"310-nderby"},"3.10 ",Object(o.b)("strong",{parentName:"h3"},"nderby")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nderby")," is a companion tool to the derby database server. The initial actions supported are start, stop, status and configure. It supports as well installation of several versions of Derby."),Object(o.b)("h3",{id:"311-nmvn"},"3.11 ",Object(o.b)("strong",{parentName:"h3"},"nmvn")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"nmvn")," is a companion tool to maven. It supports installations of several versions of it and running them seamlessly."),Object(o.b)("h3",{id:"312-worky"},"3.12 ",Object(o.b)("strong",{parentName:"h3"},"worky")),Object(o.b)("p",null,Object(o.b)("strong",{parentName:"p"},"worky")," is a developer centered tool. The 'y' in ",Object(o.b)("strong",{parentName:"p"},"worky"),' refers to \'my\' in the "Tunisian Dialect" and hence means "my work". ',Object(o.b)("strong",{parentName:"p"},"Worky")," is the tool we - maven users - need to check if the version of project we are working on is yet to be deployed to nexus or not. So basically it checks if the version is the same, and downloads the server's version and then compares binaries to local project's to check if we have missed to update the version in our pom.xml. I know I'm not the only one having pain with jar deployments to nexus. ",Object(o.b)("strong",{parentName:"p"},"Worky")," does other things as well to help me on on daily basis."),Object(o.b)("h2",{id:"4-library-projects"},"4. Library Projects"),Object(o.b)("p",null,"Library projects are several libraries that add ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," support in a particular environment or domain."),Object(o.b)("h3",{id:"41-nuts-tomcat-classloader"},"4.1 ",Object(o.b)("strong",{parentName:"h3"},"nuts-tomcat-classloader")),Object(o.b)("p",null,'This is a must-have feature in your web application if deployed on Tomcat. It solves the following problem : a simple war application is surprisingly fat with too many jars (hundreds of Megas) you need to upload each time you change a single file or class in your web project. Basically all the jars included in the lib folder of the war are to be uploaded each time to the remote Tomcat server. The common solution is to use "provided" scope in maven and put your jars in Tomcat lib or ext folders. This is a bad approach if you are using a single Tomcat process for multiple applications. ',Object(o.b)("strong",{parentName:"p"},"nuts-tomcat-classloader")," simply uses ",Object(o.b)("strong",{parentName:"p"},"Nuts")," to download libraries when the application is deployed based on the ",Object(o.b)("strong",{parentName:"p"},"pom.xml")," you provide and include them in the current web application class loader. Hence, the war becomes lighter than ever. ",Object(o.b)("strong",{parentName:"p"},"Nuts")," cache mechanisms optimizes bandwidth and makes this more convenient by sharing the same jar files between applications depending on the same versions.\nAll you have to do is to add this library to your application and configure your ",Object(o.b)("strong",{parentName:"p"},"pom.xml")," accordingly."),Object(o.b)("h3",{id:"42-nuts-servlet"},"4.2 ",Object(o.b)("strong",{parentName:"h3"},"nuts-servlet")),Object(o.b)("p",null,"Basically this is the simplest way to include ",Object(o.b)("strong",{parentName:"p"},"nserver")," into your web application."),Object(o.b)("h3",{id:"43-nuts-lib-template"},"4.3 ",Object(o.b)("strong",{parentName:"h3"},"nuts-lib-template")),Object(o.b)("p",null,"This library provides helper methods to manipulate maven pom.xml and generate simple Java files while supporting ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," concepts. It is used in other tools that are meant to generate maven projects."),Object(o.b)("h2",{id:"5-other-projects"},"5. Other Projects"),Object(o.b)("p",null,"Other projects you may encounter in the repository are WIP projects that may be continued or discontinued.\nThis includes : ",Object(o.b)("strong",{parentName:"p"},"nutsc")," (a native c bootstrapper) and ",Object(o.b)("strong",{parentName:"p"},"nuts-installer")," (a ",Object(o.b)("strong",{parentName:"p"},"Nuts")," installer tool)"),Object(o.b)("h2",{id:"6-honorable-mentions"},"6. Honorable mentions"),Object(o.b)("p",null,"Although not included in this Git repository some other tools are based on ",Object(o.b)("strong",{parentName:"p"},Object(o.b)("inlineCode",{parentName:"strong"},"nuts"))," and hence are installable using ",Object(o.b)("inlineCode",{parentName:"p"},"nuts install the-app")," command. Those tools are published in other repositories."),Object(o.b)("p",null,"6.1 ",Object(o.b)("strong",{parentName:"p"},"netbeans-launcher")," : this tool supports installation and launch of multiple netbeans instances in parallel. See ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://github.com/thevpc/netbeans-launcher"}),"Netbeans Launcher GitHub Repository")),Object(o.b)("p",null,"6.2 ",Object(o.b)("strong",{parentName:"p"},"upa-box")," : this tool supports creation of UPA aware projects. UPA is a non structured ORM for the Java Language. See ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://github.com/thevpc/upa"}),"Netbeans Launcher GitHub Repository")),Object(o.b)("p",null,"6.3 ",Object(o.b)("strong",{parentName:"p"},"vr-box")," : this tool supports creation of VR aware projects. VR is a web portal framework. See ",Object(o.b)("a",Object(r.a)({parentName:"p"},{href:"https://github.com/thevpc/vr"}),"Netbeans Launcher GitHub Repository")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/6b55986e.278d655f.js b/docs/6b55986e.278d655f.js new file mode 100644 index 000000000..8f9596b1f --- /dev/null +++ b/docs/6b55986e.278d655f.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{80:function(n){n.exports=JSON.parse('{"allTagsPath":"/nuts/blog/tags","slug":"nuts","name":"nuts","count":3,"permalink":"/nuts/blog/tags/nuts"}')}}]); \ No newline at end of file diff --git a/docs/73345845.248b5bb3.js b/docs/73345845.248b5bb3.js new file mode 100644 index 000000000..bc5709cb5 --- /dev/null +++ b/docs/73345845.248b5bb3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{118:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var a=n(0),r=n.n(a);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var o=r.a.createContext({}),i=function(e){var t=r.a.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},p=function(e){var t=i(e.components);return r.a.createElement(o.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},d=r.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,s=e.originalType,b=e.parentName,o=l(e,["components","mdxType","originalType","parentName"]),p=i(n),d=a,m=p["".concat(b,".").concat(d)]||p[d]||u[d]||s;return n?r.a.createElement(m,c(c({ref:t},o),{},{components:n})):r.a.createElement(m,c({ref:t},o))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var s=n.length,b=new Array(s);b[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:a,b[1]=c;for(var o=2;o","password\\"," is valid against the one stored\nby the Authentication Agent for \\","credentialsId\\"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void checkCredentials(char[] credentialsId, char[] password, Map envProvider)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentialsId"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] password")," : password"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Map envProvider")," : environment provider, nullable")),Object(s.b)("h4",{id:"-createcredentialscredentials-allowretrieve-credentialid-envprovider"},"\u2699 createCredentials(credentials, allowRetrieve, credentialId, envProvider)"),Object(s.b)("p",null,"store credentials in the agent\\'s and return the credential id to store\ninto the config. if credentialId is not null, the given credentialId will\nbe updated and the credentialId is returned. The ","{","\\@code credentialsId","}",",if\npresent or returned, \\","MUST\\"," be prefixed with\nAuthenticationAgent\\'d id and \\':\\' character"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"char[] createCredentials(char[] credentials, boolean allowRetrieve, char[] credentialId, Map envProvider)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":char[]"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentials")," : credential"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean allowRetrieve")," : when true {@link #getCredentials(char[], Map)} }\ncan be invoked over {@code credentialId}"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentialId")," : preferred credentialId, if null, a new one is created"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Map envProvider")," : environment provider, nullable")),Object(s.b)("h4",{id:"-getcredentialscredentialsid-envprovider"},"\u2699 getCredentials(credentialsId, envProvider)"),Object(s.b)("p",null,"get the credentials for the given id. The ","{","\\@code credentialsId","}","\n\\","MUST\\"," be prefixed with AuthenticationAgent\\'d id and \\':\\'\ncharacter"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"char[] getCredentials(char[] credentialsId, Map envProvider)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":char[]"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentials-id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Map envProvider")," : environment provider, nullable")),Object(s.b)("h4",{id:"-removecredentialscredentialsid-envprovider"},"\u2699 removeCredentials(credentialsId, envProvider)"),Object(s.b)("p",null,"remove existing credentials with the given id The ","{","\\@code credentialsId","}","\n\\","MUST\\"," be prefixed with AuthenticationAgent\\'d id and \\':\\'\ncharacter"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean removeCredentials(char[] credentialsId, Map envProvider)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":boolean"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentials-id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Map envProvider")," : environment provider, nullable")),Object(s.b)("h2",{id:"-nutsremoveusercommand"},"\u2615 NutsRemoveUserCommand"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRemoveUserCommand\n")),Object(s.b)("p",null," Remove User Command\n\\@author vpc\n\\@category Security"),Object(s.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-session-1"},"\u270f\ud83c\udf9b session"),Object(s.b)("p",null,"update session"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsRemoveUserCommand public session\npublic NutsRemoveUserCommand setSession(session)\n")),Object(s.b)("h4",{id:"-username-1"},"\ud83d\udcdd\ud83c\udf9b username"),Object(s.b)("p",null,"set username of user to remove"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsRemoveUserCommand public username\npublic String getUsername()\npublic NutsRemoveUserCommand setUsername(username)\n")),Object(s.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(s.b)("h4",{id:"-configureskipunsupported-args-1"},"\u2699 configure(skipUnsupported, args)"),Object(s.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveUserCommand configure(boolean skipUnsupported, String[] args)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsRemoveUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(s.b)("h4",{id:"-copysession-1"},"\u2699 copySession()"),Object(s.b)("p",null,"copy session"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveUserCommand copySession()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsRemoveUserCommand"),Object(s.b)("h4",{id:"-run-1"},"\u2699 run()"),Object(s.b)("p",null,"execute the command and return this instance"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveUserCommand run()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsRemoveUserCommand"),Object(s.b)("h4",{id:"-usernameusername"},"\u2699 username(username)"),Object(s.b)("p",null,"set username of user to remove"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveUserCommand username(String username)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsRemoveUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String username")," : user name")),Object(s.b)("h2",{id:"-nutsupdateusercommand"},"\u2615 NutsUpdateUserCommand"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsUpdateUserCommand\n")),Object(s.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Security"),Object(s.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-addgroups"},"\ud83d\udcc4\ud83c\udf9b addGroups"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public addGroups\npublic String[] getAddGroups()\n")),Object(s.b)("h4",{id:"-addpermissions"},"\ud83d\udcc4\ud83c\udf9b addPermissions"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public addPermissions\npublic String[] getAddPermissions()\n")),Object(s.b)("h4",{id:"-credentials-1"},"\ud83d\udcc4\ud83c\udf9b credentials"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] char[] public credentials\npublic char[] getCredentials()\n")),Object(s.b)("h4",{id:"-oldcredentials"},"\ud83d\udcc4\ud83c\udf9b oldCredentials"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] char[] public oldCredentials\npublic char[] getOldCredentials()\n")),Object(s.b)("h4",{id:"-remotecredentials-1"},"\ud83d\udcc4\ud83c\udf9b remoteCredentials"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] char[] public remoteCredentials\npublic char[] getRemoteCredentials()\n")),Object(s.b)("h4",{id:"-remoteidentity-1"},"\ud83d\udcc4\ud83c\udf9b remoteIdentity"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public remoteIdentity\npublic String getRemoteIdentity()\n")),Object(s.b)("h4",{id:"-removegroups"},"\ud83d\udcc4\ud83c\udf9b removeGroups"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public removeGroups\npublic String[] getRemoveGroups()\n")),Object(s.b)("h4",{id:"-removepermissions"},"\ud83d\udcc4\ud83c\udf9b removePermissions"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public removePermissions\npublic String[] getRemovePermissions()\n")),Object(s.b)("h4",{id:"-resetgroups"},"\ud83d\udcc4\ud83c\udf9b resetGroups"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public resetGroups\npublic boolean isResetGroups()\n")),Object(s.b)("h4",{id:"-resetpermissions"},"\ud83d\udcc4\ud83c\udf9b resetPermissions"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public resetPermissions\npublic boolean isResetPermissions()\n")),Object(s.b)("h4",{id:"-session-2"},"\u270f\ud83c\udf9b session"),Object(s.b)("p",null,"update session"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsUpdateUserCommand public session\npublic NutsUpdateUserCommand setSession(session)\n")),Object(s.b)("h4",{id:"-username-2"},"\ud83d\udcc4\ud83c\udf9b username"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public username\npublic String getUsername()\n")),Object(s.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(s.b)("h4",{id:"-addgroupgroup-1"},"\u2699 addGroup(group)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand addGroup(String group)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String group")," : ")),Object(s.b)("h4",{id:"-addgroupsgroups-2"},"\u2699 addGroups(groups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand addGroups(String[] groups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] groups")," : ")),Object(s.b)("h4",{id:"-addgroupsgroups-3"},"\u2699 addGroups(groups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand addGroups(Collection groups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Collection groups")," : ")),Object(s.b)("h4",{id:"-addpermissionpermission-1"},"\u2699 addPermission(permission)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand addPermission(String permission)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String permission")," : ")),Object(s.b)("h4",{id:"-addpermissionspermissions-2"},"\u2699 addPermissions(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand addPermissions(String[] permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] permissions")," : ")),Object(s.b)("h4",{id:"-addpermissionspermissions-3"},"\u2699 addPermissions(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand addPermissions(Collection permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Collection permissions")," : ")),Object(s.b)("h4",{id:"-configureskipunsupported-args-2"},"\u2699 configure(skipUnsupported, args)"),Object(s.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand configure(boolean skipUnsupported, String[] args)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(s.b)("h4",{id:"-copysession-2"},"\u2699 copySession()"),Object(s.b)("p",null,"copy session"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand copySession()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("h4",{id:"-credentialspassword"},"\u2699 credentials(password)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand credentials(char[] password)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] password")," : ")),Object(s.b)("h4",{id:"-oldcredentialspassword"},"\u2699 oldCredentials(password)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand oldCredentials(char[] password)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] password")," : ")),Object(s.b)("h4",{id:"-remotecredentialspassword"},"\u2699 remoteCredentials(password)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand remoteCredentials(char[] password)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] password")," : ")),Object(s.b)("h4",{id:"-remoteidentityremoteidentity"},"\u2699 remoteIdentity(remoteIdentity)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand remoteIdentity(String remoteIdentity)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String remoteIdentity")," : ")),Object(s.b)("h4",{id:"-removegroupgroup"},"\u2699 removeGroup(group)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand removeGroup(String group)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String group")," : ")),Object(s.b)("h4",{id:"-removegroupsgroups-2"},"\u2699 removeGroups(groups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand removeGroups(String[] groups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] groups")," : ")),Object(s.b)("h4",{id:"-removegroupsgroups-3"},"\u2699 removeGroups(groups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand removeGroups(Collection groups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Collection groups")," : ")),Object(s.b)("h4",{id:"-removepermissionpermission"},"\u2699 removePermission(permission)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand removePermission(String permission)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String permission")," : ")),Object(s.b)("h4",{id:"-removepermissionspermissions-2"},"\u2699 removePermissions(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand removePermissions(String[] permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] permissions")," : ")),Object(s.b)("h4",{id:"-removepermissionspermissions-3"},"\u2699 removePermissions(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand removePermissions(Collection permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Collection permissions")," : ")),Object(s.b)("h4",{id:"-resetgroups-1"},"\u2699 resetGroups()"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand resetGroups()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("h4",{id:"-resetgroupsresetgroups"},"\u2699 resetGroups(resetGroups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand resetGroups(boolean resetGroups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean resetGroups")," : ")),Object(s.b)("h4",{id:"-resetpermissions-1"},"\u2699 resetPermissions()"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand resetPermissions()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("h4",{id:"-resetpermissionsresetpermissions"},"\u2699 resetPermissions(resetPermissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand resetPermissions(boolean resetPermissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean resetPermissions")," : ")),Object(s.b)("h4",{id:"-run-2"},"\u2699 run()"),Object(s.b)("p",null,"execute the command and return this instance"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand run()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("h4",{id:"-setcredentialspassword"},"\u2699 setCredentials(password)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand setCredentials(char[] password)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] password")," : ")),Object(s.b)("h4",{id:"-setoldcredentialsoldcredentials"},"\u2699 setOldCredentials(oldCredentials)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand setOldCredentials(char[] oldCredentials)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] oldCredentials")," : ")),Object(s.b)("h4",{id:"-setremotecredentialspassword"},"\u2699 setRemoteCredentials(password)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand setRemoteCredentials(char[] password)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] password")," : ")),Object(s.b)("h4",{id:"-setremoteidentityremoteidentity"},"\u2699 setRemoteIdentity(remoteIdentity)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand setRemoteIdentity(String remoteIdentity)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String remoteIdentity")," : ")),Object(s.b)("h4",{id:"-setresetgroupsresetgroups"},"\u2699 setResetGroups(resetGroups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand setResetGroups(boolean resetGroups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean resetGroups")," : ")),Object(s.b)("h4",{id:"-setresetpermissionsresetpermissions"},"\u2699 setResetPermissions(resetPermissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand setResetPermissions(boolean resetPermissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean resetPermissions")," : ")),Object(s.b)("h4",{id:"-setusernamelogin"},"\u2699 setUsername(login)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand setUsername(String login)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String login")," : ")),Object(s.b)("h4",{id:"-undoaddgroupgroup"},"\u2699 undoAddGroup(group)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoAddGroup(String group)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String group")," : ")),Object(s.b)("h4",{id:"-undoaddgroupsgroups"},"\u2699 undoAddGroups(groups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoAddGroups(String[] groups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] groups")," : ")),Object(s.b)("h4",{id:"-undoaddgroupsgroups-1"},"\u2699 undoAddGroups(groups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoAddGroups(Collection groups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Collection groups")," : ")),Object(s.b)("h4",{id:"-undoaddpermissionpermissions"},"\u2699 undoAddPermission(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoAddPermission(String permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String permissions")," : ")),Object(s.b)("h4",{id:"-undoaddpermissionspermissions"},"\u2699 undoAddPermissions(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoAddPermissions(String[] permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] permissions")," : ")),Object(s.b)("h4",{id:"-undoaddpermissionspermissions-1"},"\u2699 undoAddPermissions(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoAddPermissions(Collection permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Collection permissions")," : ")),Object(s.b)("h4",{id:"-undoremovegroupsgroups"},"\u2699 undoRemoveGroups(groups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoRemoveGroups(String[] groups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] groups")," : ")),Object(s.b)("h4",{id:"-undoremovegroupsgroups-1"},"\u2699 undoRemoveGroups(groups)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoRemoveGroups(Collection groups)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Collection groups")," : ")),Object(s.b)("h4",{id:"-undoremovepermissionspermissions"},"\u2699 undoRemovePermissions(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoRemovePermissions(String[] permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String[] permissions")," : ")),Object(s.b)("h4",{id:"-undoremovepermissionspermissions-1"},"\u2699 undoRemovePermissions(permissions)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand undoRemovePermissions(Collection permissions)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"Collection permissions")," : ")),Object(s.b)("h4",{id:"-usernamelogin"},"\u2699 username(login)"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand username(String login)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String login")," : ")),Object(s.b)("h2",{id:"-nutsworkspacesecuritymanager"},"\u2615 NutsWorkspaceSecurityManager"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceSecurityManager\n")),Object(s.b)("p",null," Workspace Security configuration manager\n\\@author vpc\n\\@since 0.5.4\n\\@category Security"),Object(s.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(s.b)("h4",{id:"-admin"},"\ud83d\udcc4\ud83c\udf9b admin"),Object(s.b)("p",null,"return true if current user has admin privileges"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public admin\npublic boolean isAdmin()\n")),Object(s.b)("h4",{id:"-currentloginstack"},"\ud83d\udcc4\ud83c\udf9b currentLoginStack"),Object(s.b)("p",null,"current user stack.\nthis is useful when login with multiple user identities."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public currentLoginStack\npublic String[] getCurrentLoginStack()\n")),Object(s.b)("h4",{id:"-currentusername"},"\ud83d\udcc4\ud83c\udf9b currentUsername"),Object(s.b)("p",null,"current user"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public currentUsername\npublic String getCurrentUsername()\n")),Object(s.b)("h4",{id:"-secure"},"\ud83d\udcc4\ud83c\udf9b secure"),Object(s.b)("p",null,"return true if workspace is running secure mode"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public secure\npublic boolean isSecure()\n")),Object(s.b)("h3",{id:"-instance-methods-4"},"\u2699 Instance Methods"),Object(s.b)("h4",{id:"-addusername"},"\u2699 addUser(name)"),Object(s.b)("p",null,"create a User Create command.\nNo user will be added when simply calling this method.\nYou must fill in command parameters then call ","{","\\@link NutsAddUserCommand#run()","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsAddUserCommand addUser(String name)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsAddUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String name")," : user name")),Object(s.b)("h4",{id:"-checkallowedpermission-operationname"},"\u2699 checkAllowed(permission, operationName)"),Object(s.b)("p",null,"check if allowed and throw a Security exception if not."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceSecurityManager checkAllowed(String permission, String operationName)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceSecurityManager"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String permission")," : permission name. see {@code NutsConstants.Rights } class"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String operationName")," : operation name")),Object(s.b)("h4",{id:"-checkcredentialscredentialsid-password"},"\u2699 checkCredentials(credentialsId, password)"),Object(s.b)("p",null,"check if the given \\","password\\"," is valid against the one stored\nby the Authentication Agent for \\","credentialsId\\"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void checkCredentials(char[] credentialsId, char[] password)\n")),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentialsId"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] password")," : password")),Object(s.b)("h4",{id:"-createcredentialscredentials-allowretrieve-credentialid"},"\u2699 createCredentials(credentials, allowRetrieve, credentialId)"),Object(s.b)("p",null,"store credentials in the agent\\'s and return the credential id to store\ninto the config. if credentialId is not null, the given credentialId will\nbe updated and the credentialId is returned. The ","{","\\@code credentialsId","}",",if\npresent or returned, \\","MUST\\"," be prefixed with\nAuthenticationAgent\\'d id and \\':\\' character"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"char[] createCredentials(char[] credentials, boolean allowRetrieve, char[] credentialId)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":char[]"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentials")," : credential"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean allowRetrieve")," : when true {@link #getCredentials(char[])} can be\ninvoked over {@code credentialId}"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentialId")," : preferred credentialId, if null, a new one is created")),Object(s.b)("h4",{id:"-currentloginstack-1"},"\u2699 currentLoginStack()"),Object(s.b)("p",null,"equivalent to ","{","\\@link #getCurrentLoginStack()","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String[] currentLoginStack()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":String[]"),Object(s.b)("h4",{id:"-currentusername-1"},"\u2699 currentUsername()"),Object(s.b)("p",null,"equivalent to ","{","\\@link #getCurrentUsername()","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String currentUsername()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":String"),Object(s.b)("h4",{id:"-finduserusername"},"\u2699 findUser(username)"),Object(s.b)("p",null,"find user with the given name or null."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUser findUser(String username)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUser"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String username")," : user name")),Object(s.b)("h4",{id:"-findusers"},"\u2699 findUsers()"),Object(s.b)("p",null,"find all registered users"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUser[] findUsers()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUser[]"),Object(s.b)("h4",{id:"-getauthenticationagentauthenticationagentid"},"\u2699 getAuthenticationAgent(authenticationAgentId)"),Object(s.b)("p",null,"get authentication agent with id ","{","\\@code authenticationAgentId","}",".\nif is blank, return default authentication agent"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsAuthenticationAgent getAuthenticationAgent(String authenticationAgentId)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsAuthenticationAgent"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String authenticationAgentId")," : agent id")),Object(s.b)("h4",{id:"-getcredentialscredentialsid"},"\u2699 getCredentials(credentialsId)"),Object(s.b)("p",null,"get the credentials for the given id. The ","{","\\@code credentialsId","}","\n\\","MUST\\"," be prefixed with AuthenticationAgent\\'d id and \\':\\'\ncharacter"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"char[] getCredentials(char[] credentialsId)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":char[]"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentials-id")),Object(s.b)("h4",{id:"-isallowedpermission"},"\u2699 isAllowed(permission)"),Object(s.b)("p",null,"return true if permission is valid and allowed for the current user."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean isAllowed(String permission)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":boolean"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String permission")," : permission name. see {@code NutsConstants.Rights } class")),Object(s.b)("h4",{id:"-loginhandler"},"\u2699 login(handler)"),Object(s.b)("p",null,"impersonate user and log as a distinct user with the given credentials and stack\nuser name so that it can be retrieved using \\@","{","code getCurrentLoginStack()","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceSecurityManager login(CallbackHandler handler)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceSecurityManager"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"CallbackHandler handler")," : security handler")),Object(s.b)("h4",{id:"-loginusername-password"},"\u2699 login(username, password)"),Object(s.b)("p",null,"impersonate user and log as a distinct user with the given credentials."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceSecurityManager login(String username, char[] password)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceSecurityManager"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String username")," : user name"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] password")," : user password")),Object(s.b)("h4",{id:"-logout"},"\u2699 logout()"),Object(s.b)("p",null,"log out from last logged in user (if any) and pop out from user name stack."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceSecurityManager logout()\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceSecurityManager"),Object(s.b)("h4",{id:"-removecredentialscredentialsid"},"\u2699 removeCredentials(credentialsId)"),Object(s.b)("p",null,"remove existing credentials with the given id The ","{","\\@code credentialsId","}","\n\\","MUST\\"," be prefixed with AuthenticationAgent\\'d id and \\':\\'\ncharacter"),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean removeCredentials(char[] credentialsId)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":boolean"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] credentialsId")," : credentials-id")),Object(s.b)("h4",{id:"-removeusername"},"\u2699 removeUser(name)"),Object(s.b)("p",null,"create a Remove Create command.\nNo user will be removed when simply calling this method.\nYou must fill in command parameters then call ","{","\\@link NutsRemoveUserCommand#run()","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveUserCommand removeUser(String name)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsRemoveUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String name")," : user name")),Object(s.b)("h4",{id:"-setauthenticationagentauthenticationagentid-options"},"\u2699 setAuthenticationAgent(authenticationAgentId, options)"),Object(s.b)("p",null,"update default authentication agent."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceSecurityManager setAuthenticationAgent(String authenticationAgentId, NutsUpdateOptions options)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceSecurityManager"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String authenticationAgentId")," : authentication agent id"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : update options")),Object(s.b)("h4",{id:"-setsecuremodesecure-adminpassword-options"},"\u2699 setSecureMode(secure, adminPassword, options)"),Object(s.b)("p",null,"switch from/to secure mode.\nwhen secure mode is disabled, no authorizations are checked against."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean setSecureMode(boolean secure, char[] adminPassword, NutsUpdateOptions options)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":boolean"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"boolean secure")," : true if secure mode"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"char[] adminPassword")," : password for admin user"),Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"NutsUpdateOptions options")," : update options")),Object(s.b)("h4",{id:"-updateusername"},"\u2699 updateUser(name)"),Object(s.b)("p",null,"create a Update Create command.\nNo user will be updated when simply calling this method.\nYou must fill in command parameters then call ","{","\\@link NutsUpdateUserCommand#run()","}","."),Object(s.b)("pre",null,Object(s.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateUserCommand updateUser(String name)\n")),Object(s.b)("p",null,Object(s.b)("strong",{parentName:"p"},"return"),":NutsUpdateUserCommand"),Object(s.b)("ul",null,Object(s.b)("li",{parentName:"ul"},Object(s.b)("strong",{parentName:"li"},"String name")," : user name")))}i.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/7a6d83a2.2c95d04d.js b/docs/7a6d83a2.2c95d04d.js new file mode 100644 index 000000000..f5c44b021 --- /dev/null +++ b/docs/7a6d83a2.2c95d04d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{118:function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return j}));var n=a(0),r=a.n(n);function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var s=r.a.createContext({}),u=function(e){var t=r.a.useContext(s),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},p=function(e){var t=u(e.components);return r.a.createElement(s.Provider,{value:t},e.children)},i={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},O=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,c=e.originalType,b=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),p=u(a),O=n,j=p["".concat(b,".").concat(O)]||p[O]||i[O]||c;return a?r.a.createElement(j,l(l({ref:t},s),{},{components:a})):r.a.createElement(j,l({ref:t},s))}));function j(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var c=a.length,b=new Array(c);b[0]=O;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l.mdxType="string"==typeof e?e:n,b[1]=l;for(var s=2;s","\n\\","InputStream\\","\n\\","string (as path or url)\\","\n\\","File (file or directory)\\","\n\\","Path (file or directory)\\","\n\\","URL\\","\n\\","\nand the following types as valid targets :\n\\","\n\\","OutputStream\\","\n\\","string (as path or url)\\","\n\\","File (file or directory)\\","\n\\","Path (file or directory)\\","\n\\","\n\\@author vpc\n\\@since 0.5.4\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-bytearrayresult"},"\ud83d\udcc4\ud83c\udf9b byteArrayResult"),Object(c.b)("p",null,"run this copy action with ","{","\\@link java.io.ByteArrayOutputStream","}"," target and return bytes result"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] byte[] public byteArrayResult\npublic byte[] getByteArrayResult()\n")),Object(c.b)("h4",{id:"-interruptible"},"\ud83d\udcdd\ud83c\udf9b interruptible"),Object(c.b)("p",null,"mark created stream as interruptible so that one can call ","{","\\@link #interrupt()","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public interruptible\npublic boolean isInterruptible()\npublic NutsIOCopyAction setInterruptible(interruptible)\n")),Object(c.b)("h4",{id:"-logprogress"},"\ud83d\udcdd\ud83c\udf9b logProgress"),Object(c.b)("p",null,"switch log progress flag to ","{","\\@code value","}","."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public logProgress\npublic boolean isLogProgress()\npublic NutsIOCopyAction setLogProgress(value)\n")),Object(c.b)("h4",{id:"-progressmonitor"},"\u270f\ud83c\udf9b progressMonitor"),Object(c.b)("p",null,"set progress monitor. Will create a singleton progress monitor factory"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsIOCopyAction public progressMonitor\npublic NutsIOCopyAction setProgressMonitor(value)\n")),Object(c.b)("h4",{id:"-progressmonitorfactory"},"\ud83d\udcdd\ud83c\udf9b progressMonitorFactory"),Object(c.b)("p",null,"set progress factory responsible of creating progress monitor"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public progressMonitorFactory\npublic NutsProgressFactory getProgressMonitorFactory()\npublic NutsIOCopyAction setProgressMonitorFactory(value)\n")),Object(c.b)("h4",{id:"-safe"},"\ud83d\udcdd\ud83c\udf9b safe"),Object(c.b)("p",null,"switch safe copy flag to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public safe\npublic boolean isSafe()\npublic NutsIOCopyAction setSafe(value)\n")),Object(c.b)("h4",{id:"-session"},"\ud83d\udcdd\ud83c\udf9b session"),Object(c.b)("p",null,"update current session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public session\npublic NutsSession getSession()\npublic NutsIOCopyAction setSession(session)\n")),Object(c.b)("h4",{id:"-skiproot"},"\ud83d\udcdd\ud83c\udf9b skipRoot"),Object(c.b)("p",null,"set skip root flag to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public skipRoot\npublic boolean isSkipRoot()\npublic NutsIOCopyAction setSkipRoot(value)\n")),Object(c.b)("h4",{id:"-source"},"\ud83d\udcdd\ud83c\udf9b source"),Object(c.b)("p",null,"update source to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public source\npublic Object getSource()\npublic NutsIOCopyAction setSource(source)\n")),Object(c.b)("h4",{id:"-target"},"\ud83d\udcdd\ud83c\udf9b target"),Object(c.b)("p",null,"update target to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public target\npublic Object getTarget()\npublic NutsIOCopyAction setTarget(target)\n")),Object(c.b)("h4",{id:"-validator"},"\ud83d\udcdd\ud83c\udf9b validator"),Object(c.b)("p",null,"update validator"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCopyAction public validator\npublic NutsIOCopyValidator getValidator()\npublic NutsIOCopyAction setValidator(validator)\n")),Object(c.b)("h3",{id:"-instance-methods"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-fromsource"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction from(Object source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object source")," : source to copy from")),Object(c.b)("h4",{id:"-fromsource-1"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction from(String source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String source")," : source to copy from")),Object(c.b)("h4",{id:"-fromsource-2"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction from(InputStream source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"InputStream source")," : source to copy from")),Object(c.b)("h4",{id:"-fromsource-3"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction from(File source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"File source")," : source to copy from")),Object(c.b)("h4",{id:"-fromsource-4"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction from(Path source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path source")," : source to copy from")),Object(c.b)("h4",{id:"-fromsource-5"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction from(URL source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"URL source")," : source to copy from")),Object(c.b)("h4",{id:"-interrupt"},"\u2699 interrupt()"),Object(c.b)("p",null,"interrupt last created stream. An exception is throws when the stream is read."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction interrupt()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("h4",{id:"-logprogress-1"},"\u2699 logProgress()"),Object(c.b)("p",null,"switch log progress flag to to true."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction logProgress()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("h4",{id:"-logprogressvalue"},"\u2699 logProgress(value)"),Object(c.b)("p",null,"switch log progress to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction logProgress(boolean value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean value")," : log progress")),Object(c.b)("h4",{id:"-progressmonitorvalue"},"\u2699 progressMonitor(value)"),Object(c.b)("p",null,"set progress monitor. Will create a singleton progress monitor factory"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction progressMonitor(NutsProgressMonitor value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsProgressMonitor value")," : new value")),Object(c.b)("h4",{id:"-progressmonitorfactoryvalue"},"\u2699 progressMonitorFactory(value)"),Object(c.b)("p",null,"set progress factory responsible of creating progress monitor"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction progressMonitorFactory(NutsProgressFactory value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsProgressFactory value")," : new value")),Object(c.b)("h4",{id:"-run"},"\u2699 run()"),Object(c.b)("p",null,"run this copy action"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("h4",{id:"-safe-1"},"\u2699 safe()"),Object(c.b)("p",null,"arm safe copy flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction safe()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("h4",{id:"-safevalue"},"\u2699 safe(value)"),Object(c.b)("p",null,"switch safe copy flag to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction safe(boolean value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(c.b)("h4",{id:"-skiproot-1"},"\u2699 skipRoot()"),Object(c.b)("p",null,"set skip root flag to ","{","\\@code true","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction skipRoot()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("h4",{id:"-skiprootvalue"},"\u2699 skipRoot(value)"),Object(c.b)("p",null,"set skip root flag to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction skipRoot(boolean value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean value")," : new value")),Object(c.b)("h4",{id:"-totarget"},"\u2699 to(target)"),Object(c.b)("p",null,"update target"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction to(Object target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object target")," : target")),Object(c.b)("h4",{id:"-totarget-1"},"\u2699 to(target)"),Object(c.b)("p",null,"update target"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction to(OutputStream target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"OutputStream target")," : target")),Object(c.b)("h4",{id:"-totarget-2"},"\u2699 to(target)"),Object(c.b)("p",null,"update target to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction to(String target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String target")," : target to copy to")),Object(c.b)("h4",{id:"-totarget-3"},"\u2699 to(target)"),Object(c.b)("p",null,"update target to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction to(Path target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path target")," : target to copy to")),Object(c.b)("h4",{id:"-totarget-4"},"\u2699 to(target)"),Object(c.b)("p",null,"update target to copy from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction to(File target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"File target")," : target to copy to")),Object(c.b)("h4",{id:"-validatorvalidator"},"\u2699 validator(validator)"),Object(c.b)("p",null,"update validator"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction validator(NutsIOCopyValidator validator)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsIOCopyValidator validator")," : validator")),Object(c.b)("h2",{id:"-nutsiocopyvalidator"},"\u2615 NutsIOCopyValidator"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIOCopyValidator\n")),Object(c.b)("p",null," classes implementing this interface should check the validity of the stream that was copied.\n\\@since 0.5.8\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-methods-1"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-validatetargetcontent"},"\u2699 validate(targetContent)"),Object(c.b)("p",null,"Check the validity of the stream that was copied."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void validate(InputStream targetContent)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"InputStream targetContent")," : targetContent")),Object(c.b)("h2",{id:"-nutsiodeleteaction"},"\u2615 NutsIODeleteAction"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIODeleteAction\n")),Object(c.b)("p",null," I/O Action that help monitored delete."),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.8\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-1"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-failfast"},"\ud83d\udcdd\ud83c\udf9b failFast"),Object(c.b)("p",null,"update fail fast flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIODeleteAction public failFast\npublic boolean isFailFast()\npublic NutsIODeleteAction setFailFast(failFast)\n")),Object(c.b)("h4",{id:"-session-1"},"\ud83d\udcdd\ud83c\udf9b session"),Object(c.b)("p",null,"update session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIODeleteAction public session\npublic NutsSession getSession()\npublic NutsIODeleteAction setSession(session)\n")),Object(c.b)("h4",{id:"-target-1"},"\ud83d\udcdd\ud83c\udf9b target"),Object(c.b)("p",null,"update target to delete"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIODeleteAction public target\npublic Object getTarget()\npublic NutsIODeleteAction setTarget(target)\n")),Object(c.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-failfast-1"},"\u2699 failFast()"),Object(c.b)("p",null,"set fail fast flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIODeleteAction failFast()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIODeleteAction"),Object(c.b)("h4",{id:"-failfastfailfast"},"\u2699 failFast(failFast)"),Object(c.b)("p",null,"update fail fast flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIODeleteAction failFast(boolean failFast)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIODeleteAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean failFast")," : value")),Object(c.b)("h4",{id:"-run-1"},"\u2699 run()"),Object(c.b)("p",null,"run delete action and return ","{","\\@code this","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIODeleteAction run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIODeleteAction"),Object(c.b)("h4",{id:"-targettarget"},"\u2699 target(target)"),Object(c.b)("p",null,"update target to delete"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIODeleteAction target(Object target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIODeleteAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object target")," : target")),Object(c.b)("h2",{id:"-nutsiohashaction"},"\u2615 NutsIOHashAction"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIOHashAction\n")),Object(c.b)("p",null," I/O command to hash contents.\n\\@author vpc\n\\@since 0.5.5\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-algorithm"},"\ud83d\udcdd\ud83c\udf9b algorithm"),Object(c.b)("p",null,"select hash algorithm."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOHashAction public algorithm\npublic String getAlgorithm()\npublic NutsIOHashAction setAlgorithm(algorithm)\n")),Object(c.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-algorithmalgorithm"},"\u2699 algorithm(algorithm)"),Object(c.b)("p",null,"select hash algorithm."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction algorithm(String algorithm)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String algorithm")," : hash algorithm. may be any algorithm supported by\n{@link MessageDigest#getInstance(String)}\nincluding 'MD5' and 'SHA1'")),Object(c.b)("h4",{id:"-computebytes"},"\u2699 computeBytes()"),Object(c.b)("p",null,"compute hash digest and return it as byte array"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"byte[] computeBytes()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":byte[]"),Object(c.b)("h4",{id:"-computestring"},"\u2699 computeString()"),Object(c.b)("p",null,"compute hash digest and return it as hexadecimal string"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String computeString()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("h4",{id:"-md5"},"\u2699 md5()"),Object(c.b)("p",null,"select MD5 hash algorithm"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction md5()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("h4",{id:"-sha1"},"\u2699 sha1()"),Object(c.b)("p",null,"select MD5 hash algorithm"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction sha1()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("h4",{id:"-sourcedescriptor"},"\u2699 source(descriptor)"),Object(c.b)("p",null,"source stream to hash"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction source(NutsDescriptor descriptor)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsDescriptor descriptor")," : source descriptor to hash")),Object(c.b)("h4",{id:"-sourcefile"},"\u2699 source(file)"),Object(c.b)("p",null,"file to hash"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction source(File file)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"File file")," : source file to hash")),Object(c.b)("h4",{id:"-sourceinput"},"\u2699 source(input)"),Object(c.b)("p",null,"source stream to hash"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction source(InputStream input)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"InputStream input")," : source stream to hash")),Object(c.b)("h4",{id:"-sourcepath"},"\u2699 source(path)"),Object(c.b)("p",null,"file to hash"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction source(Path path)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path path")," : source path to hash")),Object(c.b)("h4",{id:"-writehashout"},"\u2699 writeHash(out)"),Object(c.b)("p",null,"compute hash and writes it to the output stream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction writeHash(OutputStream out)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"OutputStream out")," : output stream")),Object(c.b)("h2",{id:"-nutsiolockaction"},"\u2615 NutsIOLockAction"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIOLockAction\n")),Object(c.b)("p",null," Lock builder to create mainly File based Locks\n\\@author vpc\n\\@since 0.5.8\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-resource"},"\ud83d\udcdd\ud83c\udf9b resource"),Object(c.b)("p",null,"update resource"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOLockAction public resource\npublic Object getResource()\npublic NutsIOLockAction setResource(source)\n")),Object(c.b)("h4",{id:"-session-2"},"\ud83d\udcdd\ud83c\udf9b session"),Object(c.b)("p",null,"update session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOLockAction public session\npublic NutsSession getSession()\npublic NutsIOLockAction setSession(session)\n")),Object(c.b)("h4",{id:"-source-1"},"\ud83d\udcdd\ud83c\udf9b source"),Object(c.b)("p",null,"update source"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOLockAction public source\npublic Object getSource()\npublic NutsIOLockAction setSource(source)\n")),Object(c.b)("h3",{id:"-instance-methods-4"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-callrunnable"},"\u2699 call(runnable)"),Object(c.b)("p",null,"create lock object for the given source and resource"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object call(Callable runnable)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":Object"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Callable runnable")," : runnable")),Object(c.b)("h4",{id:"-callrunnable-time-unit"},"\u2699 call(runnable, time, unit)"),Object(c.b)("p",null,"create lock object for the given source and resource"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object call(Callable runnable, long time, TimeUnit unit)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":Object"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Callable runnable")," : runnable"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"long time")," : time"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"TimeUnit unit")," : unit")),Object(c.b)("h4",{id:"-create"},"\u2699 create()"),Object(c.b)("p",null,"create lock object for the given source and resource"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsLock create()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsLock"),Object(c.b)("h4",{id:"-resourcesource"},"\u2699 resource(source)"),Object(c.b)("p",null,"update resource"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOLockAction resource(Object source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOLockAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object source")," : resource")),Object(c.b)("h4",{id:"-runrunnable"},"\u2699 run(runnable)"),Object(c.b)("p",null,"create lock object for the given source and resource"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void run(Runnable runnable)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Runnable runnable")," : runnable")),Object(c.b)("h4",{id:"-runrunnable-time-unit"},"\u2699 run(runnable, time, unit)"),Object(c.b)("p",null,"create lock object for the given source and resource"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void run(Runnable runnable, long time, TimeUnit unit)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Runnable runnable")," : runnable"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"long time")," : time"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"TimeUnit unit")," : unit")),Object(c.b)("h4",{id:"-sourcesource"},"\u2699 source(source)"),Object(c.b)("p",null,"update source"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOLockAction source(Object source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOLockAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object source")," : source")),Object(c.b)("h2",{id:"-nutsiomanager"},"\u2615 NutsIOManager"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIOManager\n")),Object(c.b)("p",null," I/O Manager supports a set of operations to manipulate terminals and files in a\nhandy manner that is monitorable and Workspace aware."),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-systemterminal"},"\ud83d\udcdd\ud83c\udf9b systemTerminal"),Object(c.b)("p",null,"update workspace wide system terminal"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOManager public systemTerminal\npublic NutsSystemTerminal getSystemTerminal()\npublic NutsIOManager setSystemTerminal(terminal)\n")),Object(c.b)("h4",{id:"-terminal"},"\ud83d\udcdd\ud83c\udf9b terminal"),Object(c.b)("p",null,"update workspace wide terminal"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOManager public terminal\npublic NutsSessionTerminal getTerminal()\npublic NutsIOManager setTerminal(terminal)\n")),Object(c.b)("h4",{id:"-terminalformat"},"\ud83d\udcc4\ud83c\udf9b terminalFormat"),Object(c.b)("p",null,"return terminal format that handles metrics and format/escape methods."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTerminalFormat public terminalFormat\npublic NutsTerminalFormat getTerminalFormat()\n")),Object(c.b)("h3",{id:"-instance-methods-5"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-compress"},"\u2699 compress()"),Object(c.b)("p",null,"create new ","{","\\@link NutsIOCompressAction","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction compress()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(c.b)("h4",{id:"-copy"},"\u2699 copy()"),Object(c.b)("p",null,"create new ","{","\\@link NutsIOCopyAction","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCopyAction copy()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOCopyAction"),Object(c.b)("h4",{id:"-createapplicationcontextargs-appclass-storeid-starttimemillis"},"\u2699 createApplicationContext(args, appClass, storeId, startTimeMillis)"),Object(c.b)("p",null,"create a new instance of ","{","\\@link NutsApplicationContext","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsApplicationContext createApplicationContext(String[] args, Class appClass, String storeId, long startTimeMillis)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsApplicationContext"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String[] args")," : application arguments"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Class appClass")," : application class"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String storeId")," : application store id or null"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"long startTimeMillis")," : application start time")),Object(c.b)("h4",{id:"-createprintstreamout-mode"},"\u2699 createPrintStream(out, mode)"),Object(c.b)("p",null,"create print stream that supports the given ","{","\\@code mode","}",".\nIf the given ","{","\\@code out","}"," is a PrintStream that supports ","{","\\@code mode","}",", it should be\nreturned without modification."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrintStream createPrintStream(OutputStream out, NutsTerminalMode mode)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":PrintStream"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"OutputStream out")," : stream to wrap"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsTerminalMode mode")," : mode to support")),Object(c.b)("h4",{id:"-createtempfilename"},"\u2699 createTempFile(name)"),Object(c.b)("p",null,"create temp file in the workspace\\'s temp folder"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Path createTempFile(String name)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":Path"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : file name")),Object(c.b)("h4",{id:"-createtempfilename-repository"},"\u2699 createTempFile(name, repository)"),Object(c.b)("p",null,"create temp file in the repository\\'s temp folder"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Path createTempFile(String name, NutsRepository repository)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":Path"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : file name"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsRepository repository")," : repository")),Object(c.b)("h4",{id:"-createtempfoldername"},"\u2699 createTempFolder(name)"),Object(c.b)("p",null,"create temp folder in the workspace\\'s temp folder"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Path createTempFolder(String name)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":Path"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : folder name")),Object(c.b)("h4",{id:"-createtempfoldername-repository"},"\u2699 createTempFolder(name, repository)"),Object(c.b)("p",null,"create temp folder in the repository\\'s temp folder"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Path createTempFolder(String name, NutsRepository repository)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":Path"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : folder name"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsRepository repository")," : repository")),Object(c.b)("h4",{id:"-createterminal"},"\u2699 createTerminal()"),Object(c.b)("p",null,"return new terminal bound to system terminal"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSessionTerminal createTerminal()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSessionTerminal"),Object(c.b)("h4",{id:"-createterminalparent"},"\u2699 createTerminal(parent)"),Object(c.b)("p",null,"return new terminal bound to the given ","{","\\@code parent","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSessionTerminal createTerminal(NutsTerminalBase parent)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSessionTerminal"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsTerminalBase parent")," : parent terminal or null")),Object(c.b)("h4",{id:"-delete"},"\u2699 delete()"),Object(c.b)("p",null,"create new ","{","\\@link NutsIODeleteAction","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIODeleteAction delete()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIODeleteAction"),Object(c.b)("h4",{id:"-executorservice"},"\u2699 executorService()"),Object(c.b)("p",null,"return non null executor service"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"ExecutorService executorService()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":ExecutorService"),Object(c.b)("h4",{id:"-expandpathpath"},"\u2699 expandPath(path)"),Object(c.b)("p",null,"expand path to Workspace Location"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String expandPath(String path)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String path")," : path to expand")),Object(c.b)("h4",{id:"-expandpathpath-basefolder"},"\u2699 expandPath(path, baseFolder)"),Object(c.b)("p",null,"expand path to ","{","\\@code baseFolder","}",".\nExpansion mechanism supports \\'~\\' prefix (linux like) and will expand path to ","{","\\@code baseFolder","}","\nif it was resolved as a relative path."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String expandPath(String path, String baseFolder)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String path")," : path to expand"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String baseFolder")," : base folder to expand relative paths to")),Object(c.b)("h4",{id:"-hash"},"\u2699 hash()"),Object(c.b)("p",null,"create new ","{","\\@link NutsIOHashAction","}"," instance that helps\nhashing streams and files."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOHashAction hash()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOHashAction"),Object(c.b)("h4",{id:"-loadformattedstringreader-classloader"},"\u2699 loadFormattedString(reader, classLoader)"),Object(c.b)("p",null,"load resource as a formatted string to be used mostly as a help string."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String loadFormattedString(Reader reader, ClassLoader classLoader)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Reader reader")," : resource reader"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"ClassLoader classLoader")," : class loader")),Object(c.b)("h4",{id:"-loadformattedstringresourcepath-classloader-defaultvalue"},"\u2699 loadFormattedString(resourcePath, classLoader, defaultValue)"),Object(c.b)("p",null,"load resource as a formatted string to be used mostly as a help string."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String loadFormattedString(String resourcePath, ClassLoader classLoader, String defaultValue)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String resourcePath")," : resource path"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"ClassLoader classLoader")," : class loader"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String defaultValue")," : default value if the loading fails")),Object(c.b)("h4",{id:"-lock"},"\u2699 lock()"),Object(c.b)("p",null,"create new ","{","\\@link NutsIOLockAction","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOLockAction lock()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOLockAction"),Object(c.b)("h4",{id:"-monitor"},"\u2699 monitor()"),Object(c.b)("p",null,"create new ","{","\\@link NutsMonitorAction","}"," instance that helps\nmonitoring streams."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction monitor()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("h4",{id:"-nullinputstream"},"\u2699 nullInputStream()"),Object(c.b)("p",null,"create a null input stream instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"InputStream nullInputStream()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":InputStream"),Object(c.b)("h4",{id:"-nullprintstream"},"\u2699 nullPrintStream()"),Object(c.b)("p",null,"create a null print stream instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrintStream nullPrintStream()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":PrintStream"),Object(c.b)("h4",{id:"-parseexecutionentriesfile"},"\u2699 parseExecutionEntries(file)"),Object(c.b)("p",null,"parse Execution Entries"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionEntry[] parseExecutionEntries(File file)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsExecutionEntry[]"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"File file")," : jar file")),Object(c.b)("h4",{id:"-parseexecutionentriesfile-1"},"\u2699 parseExecutionEntries(file)"),Object(c.b)("p",null,"parse Execution Entries"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionEntry[] parseExecutionEntries(Path file)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsExecutionEntry[]"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path file")," : jar file")),Object(c.b)("h4",{id:"-parseexecutionentriesinputstream-type-sourcename"},"\u2699 parseExecutionEntries(inputStream, type, sourceName)"),Object(c.b)("p",null,"parse Execution Entries"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsExecutionEntry[] parseExecutionEntries(InputStream inputStream, String type, String sourceName)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsExecutionEntry[]"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"InputStream inputStream")," : stream"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String type")," : stream type"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String sourceName")," : stream source name (optional)")),Object(c.b)("h4",{id:"-ps"},"\u2699 ps()"),Object(c.b)("p",null,"create new ","{","\\@link NutsIOProcessAction","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOProcessAction ps()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOProcessAction"),Object(c.b)("h4",{id:"-systemterminal-1"},"\u2699 systemTerminal()"),Object(c.b)("p",null,"return terminal format that handles metrics and format/escape methods."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSystemTerminal systemTerminal()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSystemTerminal"),Object(c.b)("h4",{id:"-terminal-1"},"\u2699 terminal()"),Object(c.b)("p",null,"return workspace default terminal"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSessionTerminal terminal()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsSessionTerminal"),Object(c.b)("h4",{id:"-terminalformat-1"},"\u2699 terminalFormat()"),Object(c.b)("p",null,"return terminal format that handles metrics and format/escape methods"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTerminalFormat terminalFormat()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTerminalFormat"),Object(c.b)("h4",{id:"-uncompress"},"\u2699 uncompress()"),Object(c.b)("p",null,"create new ","{","\\@link NutsIOUncompressAction","}"," instance"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction uncompress()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("h2",{id:"-nutsioprocessaction"},"\u2615 NutsIOProcessAction"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIOProcessAction\n")),Object(c.b)("p",null," I/O Action that help monitoring processes"),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.8\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-5"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-failfast-2"},"\ud83d\udcdd\ud83c\udf9b failFast"),Object(c.b)("p",null,"update fail fast flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOProcessAction public failFast\npublic boolean isFailFast()\npublic NutsIOProcessAction setFailFast(failFast)\n")),Object(c.b)("h4",{id:"-resultlist"},"\ud83d\udcc4\ud83c\udf9b resultList"),Object(c.b)("p",null,"list all processes of type ","{","\\@link #getType()","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultList\npublic NutsResultList getResultList()\n")),Object(c.b)("h4",{id:"-session-3"},"\ud83d\udcdd\ud83c\udf9b session"),Object(c.b)("p",null,"update session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOProcessAction public session\npublic NutsSession getSession()\npublic NutsIOProcessAction setSession(session)\n")),Object(c.b)("h4",{id:"-type"},"\ud83d\udcdd\ud83c\udf9b type"),Object(c.b)("p",null,"set process type to consider.\nSupported \\'java\\' or \\'java#version\\'"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOProcessAction public type\npublic String getType()\npublic NutsIOProcessAction setType(processType)\n")),Object(c.b)("h3",{id:"-instance-methods-6"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-failfast-3"},"\u2699 failFast()"),Object(c.b)("p",null,"set fail fast flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOProcessAction failFast()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOProcessAction"),Object(c.b)("h4",{id:"-failfastfailfast-1"},"\u2699 failFast(failFast)"),Object(c.b)("p",null,"update fail fast flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOProcessAction failFast(boolean failFast)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOProcessAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean failFast")," : value")),Object(c.b)("h4",{id:"-typeprocesstype"},"\u2699 type(processType)"),Object(c.b)("p",null,"set process type to consider.\nSupported \\'java\\' or \\'java#version\\'"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOProcessAction type(String processType)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOProcessAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String processType")," : new type")),Object(c.b)("h2",{id:"-nutsiouncompressaction"},"\u2615 NutsIOUncompressAction"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIOUncompressAction\n")),Object(c.b)("p",null," I/O Action that help monitored uncompress of one or multiple resource types.\n\\@author vpc\n\\@since 0.5.8\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-6"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-format"},"\ud83d\udcdd\ud83c\udf9b format"),Object(c.b)("p",null,"update format"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOUncompressAction public format\npublic String getFormat()\npublic NutsIOUncompressAction setFormat(format)\n")),Object(c.b)("h4",{id:"-logprogress-2"},"\ud83d\udcdd\ud83c\udf9b logProgress"),Object(c.b)("p",null,"switch log progress flag to ","{","\\@code value","}","."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOUncompressAction public logProgress\npublic boolean isLogProgress()\npublic NutsIOUncompressAction setLogProgress(value)\n")),Object(c.b)("h4",{id:"-progressmonitor-1"},"\u270f\ud83c\udf9b progressMonitor"),Object(c.b)("p",null,"set progress monitor. Will create a singleton progress monitor factory"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsIOUncompressAction public progressMonitor\npublic NutsIOUncompressAction setProgressMonitor(value)\n")),Object(c.b)("h4",{id:"-progressmonitorfactory-1"},"\ud83d\udcdd\ud83c\udf9b progressMonitorFactory"),Object(c.b)("p",null,"set progress factory responsible of creating progress monitor"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOUncompressAction public progressMonitorFactory\npublic NutsProgressFactory getProgressMonitorFactory()\npublic NutsIOUncompressAction setProgressMonitorFactory(value)\n")),Object(c.b)("h4",{id:"-safe-2"},"\ud83d\udcdd\ud83c\udf9b safe"),Object(c.b)("p",null,"switch safe flag to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOUncompressAction public safe\npublic boolean isSafe()\npublic NutsIOUncompressAction setSafe(value)\n")),Object(c.b)("h4",{id:"-session-4"},"\ud83d\udcdd\ud83c\udf9b session"),Object(c.b)("p",null,"update current session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOUncompressAction public session\npublic NutsSession getSession()\npublic NutsIOUncompressAction setSession(session)\n")),Object(c.b)("h4",{id:"-skiproot-2"},"\ud83d\udcdd\ud83c\udf9b skipRoot"),Object(c.b)("p",null,"set skip root flag to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOUncompressAction public skipRoot\npublic boolean isSkipRoot()\npublic NutsIOUncompressAction setSkipRoot(value)\n")),Object(c.b)("h4",{id:"-source-2"},"\ud83d\udcdd\ud83c\udf9b source"),Object(c.b)("p",null,"update source to uncompress from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOUncompressAction public source\npublic Object getSource()\npublic NutsIOUncompressAction setSource(source)\n")),Object(c.b)("h4",{id:"-target-2"},"\ud83d\udcdd\ud83c\udf9b target"),Object(c.b)("p",null,"update target"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOUncompressAction public target\npublic Object getTarget()\npublic NutsIOUncompressAction setTarget(target)\n")),Object(c.b)("h3",{id:"-instance-methods-7"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-fromsource-6"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to uncompress from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction from(InputStream source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"InputStream source")," : source to uncompress from")),Object(c.b)("h4",{id:"-fromsource-7"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to uncompress from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction from(File source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"File source")," : source to uncompress from")),Object(c.b)("h4",{id:"-fromsource-8"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to uncompress from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction from(Path source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path source")," : source to uncompress from")),Object(c.b)("h4",{id:"-fromsource-9"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to uncompress from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction from(URL source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"URL source")," : source to uncompress from")),Object(c.b)("h4",{id:"-fromsource-10"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to uncompress from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction from(String source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String source")," : source to uncompress from")),Object(c.b)("h4",{id:"-fromsource-11"},"\u2699 from(source)"),Object(c.b)("p",null,"update source to uncompress from"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction from(Object source)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object source")," : source to uncompress from")),Object(c.b)("h4",{id:"-getformatoptionoption"},"\u2699 getFormatOption(option)"),Object(c.b)("p",null,"return format option"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object getFormatOption(String option)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":Object"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String option")," : option name")),Object(c.b)("h4",{id:"-logprogress-3"},"\u2699 logProgress()"),Object(c.b)("p",null,"switch log progress flag to to true."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction logProgress()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("h4",{id:"-logprogressvalue-1"},"\u2699 logProgress(value)"),Object(c.b)("p",null,"switch log progress flag to ","{","\\@code value","}","."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction logProgress(boolean value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(c.b)("h4",{id:"-progressmonitorvalue-1"},"\u2699 progressMonitor(value)"),Object(c.b)("p",null,"set progress monitor. Will create a singleton progress monitor factory"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction progressMonitor(NutsProgressMonitor value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsProgressMonitor value")," : new value")),Object(c.b)("h4",{id:"-progressmonitorfactoryvalue-1"},"\u2699 progressMonitorFactory(value)"),Object(c.b)("p",null,"set progress factory responsible of creating progress monitor"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction progressMonitorFactory(NutsProgressFactory value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsProgressFactory value")," : new value")),Object(c.b)("h4",{id:"-run-2"},"\u2699 run()"),Object(c.b)("p",null,"run this uncompress action"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction run()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("h4",{id:"-safe-3"},"\u2699 safe()"),Object(c.b)("p",null,"arm safe flag"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction safe()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("h4",{id:"-safevalue-1"},"\u2699 safe(value)"),Object(c.b)("p",null,"switch safe flag to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction safe(boolean value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(c.b)("h4",{id:"-setformatoptionoption-value"},"\u2699 setFormatOption(option, value)"),Object(c.b)("p",null,"update format option"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction setFormatOption(String option, Object value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String option")," : option name"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object value")," : value")),Object(c.b)("h4",{id:"-skiproot-3"},"\u2699 skipRoot()"),Object(c.b)("p",null,"set skip root flag to ","{","\\@code true","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction skipRoot()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("h4",{id:"-skiprootvalue-1"},"\u2699 skipRoot(value)"),Object(c.b)("p",null,"set skip root flag to ","{","\\@code value","}"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction skipRoot(boolean value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean value")," : new value")),Object(c.b)("h4",{id:"-totarget-5"},"\u2699 to(target)"),Object(c.b)("p",null,"update target"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction to(String target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String target")," : target")),Object(c.b)("h4",{id:"-totarget-6"},"\u2699 to(target)"),Object(c.b)("p",null,"update target"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction to(Path target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path target")," : target")),Object(c.b)("h4",{id:"-totarget-7"},"\u2699 to(target)"),Object(c.b)("p",null,"update target"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction to(File target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"File target")," : target")),Object(c.b)("h4",{id:"-totarget-8"},"\u2699 to(target)"),Object(c.b)("p",null,"update target"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOUncompressAction to(Object target)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsIOUncompressAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object target")," : target")),Object(c.b)("h2",{id:"-nutslock"},"\u2615 NutsLock"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsLock\n")),Object(c.b)("p",null," NutsLock is simply an adapter to standard ","{","\\@link Lock","}",".\nIt adds no extra functionality but rather is provided as\na base for future changes.\n\\@since 0.5.8\n\\@category Input Output"),Object(c.b)("h2",{id:"-nutsmonitoraction"},"\u2615 NutsMonitorAction"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsMonitorAction\n")),Object(c.b)("p",null," Monitor action enables monitoring a long lasting operation such as copying a big file."),Object(c.b)("p",null," \\@author vpc\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-7"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-length"},"\ud83d\udcdd\ud83c\udf9b length"),Object(c.b)("p",null,"update operation length"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsMonitorAction public length\npublic long getLength()\npublic NutsMonitorAction setLength(len)\n")),Object(c.b)("h4",{id:"-logprogress-4"},"\ud83d\udcdd\ud83c\udf9b logProgress"),Object(c.b)("p",null,"when true, will include default factory (console) even if progressFactory is defined"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsMonitorAction public logProgress\npublic boolean isLogProgress()\npublic NutsMonitorAction setLogProgress(value)\n")),Object(c.b)("h4",{id:"-name"},"\ud83d\udcdd\ud83c\udf9b name"),Object(c.b)("p",null,"update action name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsMonitorAction public name\npublic String getName()\npublic NutsMonitorAction setName(name)\n")),Object(c.b)("h4",{id:"-origin"},"\ud83d\udcdd\ud83c\udf9b origin"),Object(c.b)("p",null,"update action source origin"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsMonitorAction public origin\npublic Object getOrigin()\npublic NutsMonitorAction setOrigin(origin)\n")),Object(c.b)("h4",{id:"-progressfactory"},"\ud83d\udcdd\ud83c\udf9b progressFactory"),Object(c.b)("p",null,"set progress factory responsible of creating progress monitor"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsMonitorAction public progressFactory\npublic NutsProgressFactory getProgressFactory()\npublic NutsMonitorAction setProgressFactory(value)\n")),Object(c.b)("h4",{id:"-progressmonitor-2"},"\u270f\ud83c\udf9b progressMonitor"),Object(c.b)("p",null,"set progress monitor. Will create a singleton progress monitor factory"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsMonitorAction public progressMonitor\npublic NutsMonitorAction setProgressMonitor(value)\n")),Object(c.b)("h4",{id:"-session-5"},"\ud83d\udcdd\ud83c\udf9b session"),Object(c.b)("p",null,"update current session"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsMonitorAction public session\npublic NutsSession getSession()\npublic NutsMonitorAction setSession(session)\n")),Object(c.b)("h4",{id:"-source-3"},"\u270f\ud83c\udf9b source"),Object(c.b)("p",null,"update operation source"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsMonitorAction public source\npublic NutsMonitorAction setSource(path)\n")),Object(c.b)("h3",{id:"-instance-methods-8"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-create-1"},"\u2699 create()"),Object(c.b)("p",null,"Create monitored input stream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"InputStream create()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":InputStream"),Object(c.b)("h4",{id:"-lengthlen"},"\u2699 length(len)"),Object(c.b)("p",null,"update operation length"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction length(long len)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"long len")," : operation length")),Object(c.b)("h4",{id:"-logprogress-5"},"\u2699 logProgress()"),Object(c.b)("p",null,"will include default factory (console) even if progressFactory is defined"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction logProgress()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("h4",{id:"-logprogressvalue-2"},"\u2699 logProgress(value)"),Object(c.b)("p",null,"when true, will include default factory (console) even if progressFactory is defined"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction logProgress(boolean value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(c.b)("h4",{id:"-namename"},"\u2699 name(name)"),Object(c.b)("p",null,"update action name"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction name(String name)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String name")," : action name")),Object(c.b)("h4",{id:"-originorigin"},"\u2699 origin(origin)"),Object(c.b)("p",null,"update action source origin"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction origin(Object origin)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object origin")," : source origin")),Object(c.b)("h4",{id:"-progressfactoryvalue"},"\u2699 progressFactory(value)"),Object(c.b)("p",null,"set progress factory responsible of creating progress monitor"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction progressFactory(NutsProgressFactory value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsProgressFactory value")," : new value")),Object(c.b)("h4",{id:"-progressmonitorvalue-2"},"\u2699 progressMonitor(value)"),Object(c.b)("p",null,"set progress monitor. Will create a singleton progress monitor factory"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction progressMonitor(NutsProgressMonitor value)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsProgressMonitor value")," : new value")),Object(c.b)("h4",{id:"-sourcepath-1"},"\u2699 source(path)"),Object(c.b)("p",null,"update operation source"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction source(String path)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String path")," : operation source")),Object(c.b)("h4",{id:"-sourcepath-2"},"\u2699 source(path)"),Object(c.b)("p",null,"update operation source"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction source(Path path)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Path path")," : operation source")),Object(c.b)("h4",{id:"-sourcepath-3"},"\u2699 source(path)"),Object(c.b)("p",null,"update operation source"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction source(File path)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"File path")," : operation source")),Object(c.b)("h4",{id:"-sourcepath-4"},"\u2699 source(path)"),Object(c.b)("p",null,"update operation source\nTODO: should this handle only streams?"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMonitorAction source(InputStream path)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsMonitorAction"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"InputStream path")," : operation source")),Object(c.b)("h2",{id:"-nutsnonformattedprintstream"},"\u2615 NutsNonFormattedPrintStream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsNonFormattedPrintStream\n")),Object(c.b)("p",null," Non formatted Print Stream Anchor Interface\n\\@author vpc\n\\@since 0.5.4\n\\@category Input Output"),Object(c.b)("h2",{id:"-nutsoutputstreamtransparentadapter"},"\u2615 NutsOutputStreamTransparentAdapter"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsOutputStreamTransparentAdapter\n")),Object(c.b)("p",null,' Interface to enable marking system streams. When creating new processes nuts\nwill dereference NutsOutputStreamTransparentAdapter to check if the\nOutputStream i a system io. In that cas nuts will "inherit" output/error\nstream'),Object(c.b)("p",null," \\@since 0.5.4\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-methods-9"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-baseoutputstream"},"\u2699 baseOutputStream()"),Object(c.b)("p",null,"de-referenced stream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"OutputStream baseOutputStream()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":OutputStream"),Object(c.b)("h2",{id:"-nutssystemterminal"},"\u2615 NutsSystemTerminal"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSystemTerminal\n")),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-8"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-standarderrorstream"},"\ud83d\udcc4\ud83c\udf9b standardErrorStream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public standardErrorStream\npublic boolean isStandardErrorStream(out)\n")),Object(c.b)("h4",{id:"-standardinputstream"},"\ud83d\udcc4\ud83c\udf9b standardInputStream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public standardInputStream\npublic boolean isStandardInputStream(in)\n")),Object(c.b)("h4",{id:"-standardoutputstream"},"\ud83d\udcc4\ud83c\udf9b standardOutputStream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public standardOutputStream\npublic boolean isStandardOutputStream(out)\n")),Object(c.b)("h2",{id:"-nutsterminal"},"\u2615 NutsTerminal"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTerminal\n")),Object(c.b)("p",null," A Terminal handles in put stream, an output stream and an error stream to communicate\nwith user.\n\\@since 0.5.4\n\\@category Input Output"),Object(c.b)("h3",{id:"-instance-properties-9"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-errmode"},"\ud83d\udcdd\ud83c\udf9b errMode"),Object(c.b)("p",null,"change terminal mode for err"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsTerminal public errMode\npublic NutsTerminalMode getErrMode()\npublic NutsTerminal setErrMode(mode)\n")),Object(c.b)("h4",{id:"-mode"},"\u270f\ud83c\udf9b mode"),Object(c.b)("p",null,"change terminal mode for both out and err"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsTerminal public mode\npublic NutsTerminal setMode(mode)\n")),Object(c.b)("h4",{id:"-outmode"},"\ud83d\udcdd\ud83c\udf9b outMode"),Object(c.b)("p",null,"change terminal mode for out"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsTerminal public outMode\npublic NutsTerminalMode getOutMode()\npublic NutsTerminal setOutMode(mode)\n")),Object(c.b)("h3",{id:"-instance-methods-10"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-ask"},"\u2699 ask()"),Object(c.b)("p",null,"create a ","{","\\@link NutsQuestion","}"," to write a question to the terminal\\'s output stream\nand read a typed value from the terminal\\'s input stream."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion ask()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(c.b)("h4",{id:"-err"},"\u2699 err()"),Object(c.b)("p",null,"return terminal\\'s error stream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrintStream err()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":PrintStream"),Object(c.b)("h4",{id:"-errmodemode"},"\u2699 errMode(mode)"),Object(c.b)("p",null,"change terminal mode for out"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTerminal errMode(NutsTerminalMode mode)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTerminal"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsTerminalMode mode")," : mode")),Object(c.b)("h4",{id:"-in"},"\u2699 in()"),Object(c.b)("p",null,"return terminal\\'s input stream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"InputStream in()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":InputStream"),Object(c.b)("h4",{id:"-modemode"},"\u2699 mode(mode)"),Object(c.b)("p",null,"change terminal mode for both out and err"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTerminal mode(NutsTerminalMode mode)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTerminal"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsTerminalMode mode")," : mode")),Object(c.b)("h4",{id:"-out"},"\u2699 out()"),Object(c.b)("p",null,"return terminal\\'s output stream"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrintStream out()\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":PrintStream"),Object(c.b)("h4",{id:"-outmodemode"},"\u2699 outMode(mode)"),Object(c.b)("p",null,"change terminal mode for out"),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTerminal outMode(NutsTerminalMode mode)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":NutsTerminal"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsTerminalMode mode")," : mode")),Object(c.b)("h4",{id:"-readlinepromptformat-params"},"\u2699 readLine(promptFormat, params)"),Object(c.b)("p",null,"Reads a single line of text from the terminal\\'s input stream."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String readLine(String promptFormat, Object[] params)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":String"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String promptFormat")," : prompt message format (cstyle)"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object[] params")," : prompt message parameters")),Object(c.b)("h4",{id:"-readpasswordpromptformat-params"},"\u2699 readPassword(promptFormat, params)"),Object(c.b)("p",null,"Reads password as a single line of text from the terminal\\'s input stream."),Object(c.b)("pre",null,Object(c.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"char[] readPassword(String promptFormat, Object[] params)\n")),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"return"),":char[]"),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"String promptFormat")," : prompt message format (cstyle)"),Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"Object[] params")," : prompt message parameters")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/7aa86d71.50448f1d.js b/docs/7aa86d71.50448f1d.js new file mode 100644 index 000000000..9b4c875c7 --- /dev/null +++ b/docs/7aa86d71.50448f1d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{118:function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return O}));var n=a(0),r=a.n(n);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function c(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var i=r.a.createContext({}),u=function(e){var t=r.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):c(c({},t),e)),a},o=function(e){var t=u(e.components);return r.a.createElement(i.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},j=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,l=e.originalType,b=e.parentName,i=s(e,["components","mdxType","originalType","parentName"]),o=u(a),j=n,O=o["".concat(b,".").concat(j)]||o[j]||p[j]||l;return a?r.a.createElement(O,c(c({ref:t},i),{},{components:a})):r.a.createElement(O,c({ref:t},i))}));function O(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var l=a.length,b=new Array(l);b[0]=j;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:n,b[1]=c;for(var i=2;i","args\\"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspace openWorkspace(String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspace"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : nuts boot arguments")),Object(l.b)("h4",{id:"-openworkspaceoptions"},"\ud83d\udce2\u2699 openWorkspace(options)"),Object(l.b)("p",null,"open a workspace using the given options"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspace openWorkspace(NutsWorkspaceOptions options)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspace"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsWorkspaceOptions options")," : boot options")),Object(l.b)("h4",{id:"-parsenutsargumentsbootarguments"},"\ud83d\udce2\u2699 parseNutsArguments(bootArguments)"),Object(l.b)("p",null,"Create a ","{","\\@link NutsWorkspaceOptions","}"," instance from string array of valid\nnuts options"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptions parseNutsArguments(String[] bootArguments)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptions"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] bootArguments")," : input arguments to parse")),Object(l.b)("h4",{id:"-runworkspaceargs"},"\ud83d\udce2\u2699 runWorkspace(args)"),Object(l.b)("p",null,"open then run Nuts application with the provided arguments. This Main\nwill\n\\","NEVER\\","\ncall ","{","\\@link System#exit(int)","}","."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void runWorkspace(String[] args)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : boot arguments")),Object(l.b)("h2",{id:"-nutsartifactcall"},"\u2615 NutsArtifactCall"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsArtifactCall\n")),Object(l.b)("p",null," artifact call descriptor used to define executor and installer call definitions."),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-arguments"},"\ud83d\udcc4\ud83c\udf9b arguments"),Object(l.b)("p",null,"execution arguments"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public arguments\npublic String[] getArguments()\n")),Object(l.b)("h4",{id:"-id"},"\ud83d\udcc4\ud83c\udf9b id"),Object(l.b)("p",null,"artifact id"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(l.b)("h4",{id:"-properties"},"\ud83d\udcc4\ud83c\udf9b properties"),Object(l.b)("p",null,"execution properties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public properties\npublic Map getProperties()\n")),Object(l.b)("h2",{id:"-nutsartifactcallbuilder"},"\u2615 NutsArtifactCallBuilder"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsArtifactCallBuilder\n")),Object(l.b)("p",null," NutsArtifactCallBuilder is responsible of building instances of ","{","\\@code NutsArtifactCall","}"," to be used\nas NutsDescriptor executor or installer.\nTo get an instance of NutsArtifactCallBuilder you can use ","{","\\@code workspace.descriptor().callBuilder()","}"),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-1"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-arguments-1"},"\ud83d\udcdd\ud83c\udf9b arguments"),Object(l.b)("p",null,"update arguments"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsArtifactCallBuilder public arguments\npublic String[] getArguments()\npublic NutsArtifactCallBuilder setArguments(value)\n")),Object(l.b)("h4",{id:"-id-1"},"\ud83d\udcdd\ud83c\udf9b id"),Object(l.b)("p",null,"update artifact id"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsArtifactCallBuilder public id\npublic NutsId getId()\npublic NutsArtifactCallBuilder setId(value)\n")),Object(l.b)("h4",{id:"-properties-1"},"\ud83d\udcdd\ud83c\udf9b properties"),Object(l.b)("p",null,"update call properties map (replace all existing properties)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsArtifactCallBuilder public properties\npublic Map getProperties()\npublic NutsArtifactCallBuilder setProperties(value)\n")),Object(l.b)("h3",{id:"-instance-methods"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-build"},"\u2699 build()"),Object(l.b)("p",null,"create an immutable instance of ","{","\\@link NutsArtifactCall","}","\ninitialized with all of this attributes."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsArtifactCall build()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsArtifactCall"),Object(l.b)("h4",{id:"-clear"},"\u2699 clear()"),Object(l.b)("p",null,"reset this instance to default (null) values"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsArtifactCallBuilder clear()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsArtifactCallBuilder"),Object(l.b)("h4",{id:"-setvalue"},"\u2699 set(value)"),Object(l.b)("p",null,"initialize this instance from the given value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsArtifactCallBuilder set(NutsArtifactCallBuilder value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsArtifactCallBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsArtifactCallBuilder value")," : copy from value")),Object(l.b)("h4",{id:"-setvalue-1"},"\u2699 set(value)"),Object(l.b)("p",null,"initialize this instance from the given value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsArtifactCallBuilder set(NutsArtifactCall value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsArtifactCallBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsArtifactCall value")," : copy from value")),Object(l.b)("h2",{id:"-nutsconfirmationmode"},"\u2615 NutsConfirmationMode"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsConfirmationMode\n")),Object(l.b)("p",null," user interaction mode. Some operations may require user confirmation before\nperforming critical operations such as overriding existing values, deleting\nsensitive information ; in such cases several modes are available : either\nto require user interaction (ASK mode, the default value) or force the\nprocessing (YES mode), or ignoring the processing and continuing the next\n(NO) or cancel the processing and exit with an error message (ERROR)"),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Base"),Object(l.b)("h3",{id:"-constant-fields"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-ask"},"\ud83d\udce2\u2744 ASK"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsConfirmationMode ASK\n")),Object(l.b)("h4",{id:"-error"},"\ud83d\udce2\u2744 ERROR"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsConfirmationMode ERROR\n")),Object(l.b)("h4",{id:"-no"},"\ud83d\udce2\u2744 NO"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsConfirmationMode NO\n")),Object(l.b)("h4",{id:"-yes"},"\ud83d\udce2\u2744 YES"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsConfirmationMode YES\n")),Object(l.b)("h3",{id:"-static-methods-1"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsConfirmationMode valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsConfirmationMode"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsConfirmationMode[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsConfirmationMode[]"),Object(l.b)("h3",{id:"-instance-methods-1"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-2"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutscontentevent"},"\u2615 NutsContentEvent"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsContentEvent\n")),Object(l.b)("p",null," Event for ","{","\\@link NutsRepositoryListener","}"," methods.\n\\@author vpc\n\\@since 0.5.3\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-path"},"\ud83d\udcc4\ud83c\udf9b path"),Object(l.b)("p",null,"artifact path"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public path\npublic Path getPath()\n")),Object(l.b)("h4",{id:"-repository"},"\ud83d\udcc4\ud83c\udf9b repository"),Object(l.b)("p",null,"current repository"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsRepository public repository\npublic NutsRepository getRepository()\n")),Object(l.b)("h4",{id:"-session"},"\ud83d\udcc4\ud83c\udf9b session"),Object(l.b)("p",null,"current session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(l.b)("h4",{id:"-workspace"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(l.b)("p",null,"current workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(l.b)("h2",{id:"-nutsdefinition"},"\u2615 NutsDefinition"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDefinition\n")),Object(l.b)("p",null," Definition is an \\","immutable\\"," object that contains all information about a artifact identified by it\\'s Id."),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-apiid"},"\ud83d\udcc4\ud83c\udf9b apiId"),Object(l.b)("p",null,"return target api id (included in dependency) for the current id.\nThis is relevant for runtime, extension and companion ids.\nFor other regular ids, this returns null."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public apiId\npublic NutsId getApiId()\n")),Object(l.b)("h4",{id:"-content"},"\ud83d\udcc4\ud83c\udf9b content"),Object(l.b)("p",null,"return artifact content file info (including path).\nthis is an \\","optional\\"," property. It must be requested (see ","{","\\@link NutsSearchCommand#setContent(boolean)","}",") to be available."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsContent public content\npublic NutsContent getContent()\n")),Object(l.b)("h4",{id:"-dependencies"},"\ud83d\udcc4\ud83c\udf9b dependencies"),Object(l.b)("p",null,"return all or some of the transitive dependencies of the current Nuts as List\nresult of the search command\nthis is an \\","optional\\"," property.\nIt must be requested (see ","{","\\@link NutsSearchCommand#setDependencies(boolean)","}"," to be available."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDependency[] public dependencies\npublic NutsDependency[] getDependencies()\n")),Object(l.b)("h4",{id:"-dependencynodes"},"\ud83d\udcc4\ud83c\udf9b dependencyNodes"),Object(l.b)("p",null,"return all of some of the transitive dependencies of the current Nuts as Tree result of the search command\nthis is an \\","optional\\"," property.\nIt must be requested (see ","{","\\@link NutsSearchCommand#setDependenciesTree(boolean)","}"," to be available."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDependencyTreeNode[] public dependencyNodes\npublic NutsDependencyTreeNode[] getDependencyNodes()\n")),Object(l.b)("h4",{id:"-descriptor"},"\ud83d\udcc4\ud83c\udf9b descriptor"),Object(l.b)("p",null,"return artifact descriptor"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDescriptor public descriptor\npublic NutsDescriptor getDescriptor()\n")),Object(l.b)("h4",{id:"-effectivedescriptor"},"\ud83d\udcc4\ud83c\udf9b effectiveDescriptor"),Object(l.b)("p",null,"return artifact effective descriptor.\nthis is an \\","optional\\"," property.\nIt must be requested (see ","{","\\@link NutsSearchCommand#setEffective(boolean)","}"," to be available)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDescriptor public effectiveDescriptor\npublic NutsDescriptor getEffectiveDescriptor()\n")),Object(l.b)("h4",{id:"-id-3"},"\ud83d\udcc4\ud83c\udf9b id"),Object(l.b)("p",null,"artifact id"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(l.b)("h4",{id:"-installinformation"},"\ud83d\udcc4\ud83c\udf9b installInformation"),Object(l.b)("p",null,"return artifact install information."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsInstallInformation public installInformation\npublic NutsInstallInformation getInstallInformation()\n")),Object(l.b)("h4",{id:"-path-1"},"\ud83d\udcc4\ud83c\udf9b path"),Object(l.b)("p",null,"return artifact content file path.\nthis is an \\","optional\\"," property. It must be requested (see ","{","\\@link NutsSearchCommand#setContent(boolean)","}",") to be available."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public path\npublic Path getPath()\n")),Object(l.b)("h4",{id:"-repositoryname"},"\ud83d\udcc4\ud83c\udf9b repositoryName"),Object(l.b)("p",null,"name of the repository providing this id."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public repositoryName\npublic String getRepositoryName()\n")),Object(l.b)("h4",{id:"-repositoryuuid"},"\ud83d\udcc4\ud83c\udf9b repositoryUuid"),Object(l.b)("p",null,"id of the repository providing this id."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public repositoryUuid\npublic String getRepositoryUuid()\n")),Object(l.b)("h4",{id:"-setdependencies"},"\ud83d\udcc4\ud83c\udf9b setDependencies"),Object(l.b)("p",null,"true if requested content"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public setDependencies\npublic boolean isSetDependencies()\n")),Object(l.b)("h4",{id:"-setdependencynodes"},"\ud83d\udcc4\ud83c\udf9b setDependencyNodes"),Object(l.b)("p",null,"true if requested content"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public setDependencyNodes\npublic boolean isSetDependencyNodes()\n")),Object(l.b)("h4",{id:"-seteffectivedescriptor"},"\ud83d\udcc4\ud83c\udf9b setEffectiveDescriptor"),Object(l.b)("p",null,"true if requested effective descriptor"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public setEffectiveDescriptor\npublic boolean isSetEffectiveDescriptor()\n")),Object(l.b)("h4",{id:"-type"},"\ud83d\udcc4\ud83c\udf9b type"),Object(l.b)("p",null,"return artifact type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsIdType public type\npublic NutsIdType getType()\n")),Object(l.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-comparetoother"},"\u2699 compareTo(other)"),Object(l.b)("p",null,"Compares this object with the specified definition for order.\nThis is equivalent to comparing subsequent ids."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int compareTo(NutsDefinition other)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":int"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDefinition other")," : other definition to compare with")),Object(l.b)("h2",{id:"-nutsexecutioncontext"},"\u2615 NutsExecutionContext"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsExecutionContext\n")),Object(l.b)("p",null," execution context used in ","{","\\@link NutsExecutorComponent","}"," and\n","{","\\@link NutsInstallerComponent","}","."),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-arguments-2"},"\ud83d\udcc4\ud83c\udf9b arguments"),Object(l.b)("p",null,"command arguments"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public arguments\npublic String[] getArguments()\n")),Object(l.b)("h4",{id:"-commandname"},"\ud83d\udcc4\ud83c\udf9b commandName"),Object(l.b)("p",null,"command name"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public commandName\npublic String getCommandName()\n")),Object(l.b)("h4",{id:"-cwd"},"\ud83d\udcc4\ud83c\udf9b cwd"),Object(l.b)("p",null,"current working directory"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public cwd\npublic String getCwd()\n")),Object(l.b)("h4",{id:"-definition"},"\ud83d\udcc4\ud83c\udf9b definition"),Object(l.b)("p",null,"command definition if any"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDefinition public definition\npublic NutsDefinition getDefinition()\n")),Object(l.b)("h4",{id:"-env"},"\ud83d\udcc4\ud83c\udf9b env"),Object(l.b)("p",null,"execution environment"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public env\npublic Map getEnv()\n")),Object(l.b)("h4",{id:"-execsession"},"\ud83d\udcc4\ud83c\udf9b execSession"),Object(l.b)("p",null,"current session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public execSession\npublic NutsSession getExecSession()\n")),Object(l.b)("h4",{id:"-executiontype"},"\ud83d\udcc4\ud83c\udf9b executionType"),Object(l.b)("p",null,"execution type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsExecutionType public executionType\npublic NutsExecutionType getExecutionType()\n")),Object(l.b)("h4",{id:"-executordescriptor"},"\ud83d\udcc4\ud83c\udf9b executorDescriptor"),Object(l.b)("p",null,"executor descriptor"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsArtifactCall public executorDescriptor\npublic NutsArtifactCall getExecutorDescriptor()\n")),Object(l.b)("h4",{id:"-executoroptions"},"\ud83d\udcc4\ud83c\udf9b executorOptions"),Object(l.b)("p",null,"executor options"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public executorOptions\npublic String[] getExecutorOptions()\n")),Object(l.b)("h4",{id:"-executorproperties"},"\ud83d\udcc4\ud83c\udf9b executorProperties"),Object(l.b)("p",null,"executor properties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public executorProperties\npublic Map getExecutorProperties()\n")),Object(l.b)("h4",{id:"-failfast"},"\ud83d\udcc4\ud83c\udf9b failFast"),Object(l.b)("p",null,"when true, any non 0 exited command will throw an Exception"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public failFast\npublic boolean isFailFast()\n")),Object(l.b)("h4",{id:"-temporary"},"\ud83d\udcc4\ud83c\udf9b temporary"),Object(l.b)("p",null,"when true, the component is temporary and is not registered withing the\nworkspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public temporary\npublic boolean isTemporary()\n")),Object(l.b)("h4",{id:"-tracesession"},"\ud83d\udcc4\ud83c\udf9b traceSession"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public traceSession\npublic NutsSession getTraceSession()\n")),Object(l.b)("h4",{id:"-workspace-1"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(l.b)("p",null,"workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(l.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-workspace-2"},"\u2699 workspace()"),Object(l.b)("p",null,"workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspace workspace()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspace"),Object(l.b)("h2",{id:"-nutsiocompressaction"},"\u2615 NutsIOCompressAction"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIOCompressAction\n")),Object(l.b)("p",null," I/O Action that help monitored compress\nof one or multiple resource types.\nDefault implementation should handle"),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-5"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-format"},"\ud83d\udcdd\ud83c\udf9b format"),Object(l.b)("p",null,"update format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCompressAction public format\npublic String getFormat()\npublic NutsIOCompressAction setFormat(format)\n")),Object(l.b)("h4",{id:"-logprogress"},"\ud83d\udcdd\ud83c\udf9b logProgress"),Object(l.b)("p",null,"switch log progress flag to ","{","\\@code value","}","."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCompressAction public logProgress\npublic boolean isLogProgress()\npublic NutsIOCompressAction setLogProgress(value)\n")),Object(l.b)("h4",{id:"-progressmonitor"},"\u270f\ud83c\udf9b progressMonitor"),Object(l.b)("p",null,"set progress monitor. Will create a singleton progress monitor factory"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsIOCompressAction public progressMonitor\npublic NutsIOCompressAction setProgressMonitor(value)\n")),Object(l.b)("h4",{id:"-progressmonitorfactory"},"\ud83d\udcdd\ud83c\udf9b progressMonitorFactory"),Object(l.b)("p",null,"set progress factory responsible of creating progress monitor"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCompressAction public progressMonitorFactory\npublic NutsProgressFactory getProgressMonitorFactory()\npublic NutsIOCompressAction setProgressMonitorFactory(value)\n")),Object(l.b)("h4",{id:"-safe"},"\ud83d\udcdd\ud83c\udf9b safe"),Object(l.b)("p",null,"switch safe copy flag to ","{","\\@code value","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCompressAction public safe\npublic boolean isSafe()\npublic NutsIOCompressAction setSafe(value)\n")),Object(l.b)("h4",{id:"-session-1"},"\ud83d\udcdd\ud83c\udf9b session"),Object(l.b)("p",null,"update current session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCompressAction public session\npublic NutsSession getSession()\npublic NutsIOCompressAction setSession(session)\n")),Object(l.b)("h4",{id:"-skiproot"},"\ud83d\udcdd\ud83c\udf9b skipRoot"),Object(l.b)("p",null,"set skip root flag to ","{","\\@code value","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCompressAction public skipRoot\npublic boolean isSkipRoot()\npublic NutsIOCompressAction setSkipRoot(value)\n")),Object(l.b)("h4",{id:"-sources"},"\ud83d\udcc4\ud83c\udf9b sources"),Object(l.b)("p",null,"sources to compress"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] List public sources\npublic List getSources()\n")),Object(l.b)("h4",{id:"-target"},"\ud83d\udcdd\ud83c\udf9b target"),Object(l.b)("p",null,"update target"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIOCompressAction public target\npublic Object getTarget()\npublic NutsIOCompressAction setTarget(target)\n")),Object(l.b)("h3",{id:"-instance-methods-4"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addsourcesource"},"\u2699 addSource(source)"),Object(l.b)("p",null,"add source to compress"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction addSource(String source)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String source")," : source")),Object(l.b)("h4",{id:"-addsourcesource-1"},"\u2699 addSource(source)"),Object(l.b)("p",null,"add source to compress"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction addSource(InputStream source)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"InputStream source")," : source")),Object(l.b)("h4",{id:"-addsourcesource-2"},"\u2699 addSource(source)"),Object(l.b)("p",null,"add source to compress"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction addSource(File source)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"File source")," : source")),Object(l.b)("h4",{id:"-addsourcesource-3"},"\u2699 addSource(source)"),Object(l.b)("p",null,"add source to compress"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction addSource(Path source)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Path source")," : source")),Object(l.b)("h4",{id:"-addsourcesource-4"},"\u2699 addSource(source)"),Object(l.b)("p",null,"add source to compress"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction addSource(URL source)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"URL source")," : source")),Object(l.b)("h4",{id:"-getformatoptionoption"},"\u2699 getFormatOption(option)"),Object(l.b)("p",null,"return format option"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object getFormatOption(String option)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String option")," : option name")),Object(l.b)("h4",{id:"-logprogress-1"},"\u2699 logProgress()"),Object(l.b)("p",null,"switch log progress flag to to true."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction logProgress()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("h4",{id:"-logprogressvalue"},"\u2699 logProgress(value)"),Object(l.b)("p",null,"switch log progress flag to ","{","\\@code value","}","."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction logProgress(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(l.b)("h4",{id:"-progressmonitorvalue"},"\u2699 progressMonitor(value)"),Object(l.b)("p",null,"set progress monitor. Will create a singleton progress monitor factory"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction progressMonitor(NutsProgressMonitor value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsProgressMonitor value")," : new value")),Object(l.b)("h4",{id:"-progressmonitorfactoryvalue"},"\u2699 progressMonitorFactory(value)"),Object(l.b)("p",null,"set progress factory responsible of creating progress monitor"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction progressMonitorFactory(NutsProgressFactory value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsProgressFactory value")," : new value")),Object(l.b)("h4",{id:"-run"},"\u2699 run()"),Object(l.b)("p",null,"run this Compress action"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("h4",{id:"-safe-1"},"\u2699 safe()"),Object(l.b)("p",null,"arm safe copy flag"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction safe()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("h4",{id:"-safevalue"},"\u2699 safe(value)"),Object(l.b)("p",null,"switch safe copy flag to ","{","\\@code value","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction safe(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(l.b)("h4",{id:"-setformatoptionoption-value"},"\u2699 setFormatOption(option, value)"),Object(l.b)("p",null,"update format option"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction setFormatOption(String option, Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String option")," : option name"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value")),Object(l.b)("h4",{id:"-skiproot-1"},"\u2699 skipRoot()"),Object(l.b)("p",null,"set skip root flag to ","{","\\@code true","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction skipRoot()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("h4",{id:"-skiprootvalue"},"\u2699 skipRoot(value)"),Object(l.b)("p",null,"set skip root flag to ","{","\\@code value","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction skipRoot(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : new value")),Object(l.b)("h4",{id:"-totarget"},"\u2699 to(target)"),Object(l.b)("p",null,"update target"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction to(OutputStream target)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"OutputStream target")," : target")),Object(l.b)("h4",{id:"-totarget-1"},"\u2699 to(target)"),Object(l.b)("p",null,"update target"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction to(String target)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String target")," : target")),Object(l.b)("h4",{id:"-totarget-2"},"\u2699 to(target)"),Object(l.b)("p",null,"update target"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction to(Path target)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Path target")," : target")),Object(l.b)("h4",{id:"-totarget-3"},"\u2699 to(target)"),Object(l.b)("p",null,"update target"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction to(File target)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"File target")," : target")),Object(l.b)("h4",{id:"-totarget-4"},"\u2699 to(target)"),Object(l.b)("p",null,"update target"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOCompressAction to(Object target)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOCompressAction"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object target")," : target")),Object(l.b)("h2",{id:"-nutsidlocationbuilder"},"\u2615 NutsIdLocationBuilder"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIdLocationBuilder\n")),Object(l.b)("p",null," Mutable IdLocation class that helps creating instance of immutable ","{","\\@link NutsIdLocation","}",".\nInstances of ","{","\\@link NutsIdLocation","}"," are used in ","{","\\@link NutsDescriptor","}"," (see ","{","\\@link NutsDescriptor#getLocations()","}",")"),Object(l.b)("p",null," \\@category Base"),Object(l.b)("h3",{id:"-instance-properties-6"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-classifier"},"\ud83d\udcdd\ud83c\udf9b classifier"),Object(l.b)("p",null,"update location classifier"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdLocationBuilder public classifier\npublic String getClassifier()\npublic NutsIdLocationBuilder setClassifier(value)\n")),Object(l.b)("h4",{id:"-region"},"\ud83d\udcdd\ud83c\udf9b region"),Object(l.b)("p",null,"update location region"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdLocationBuilder public region\npublic String getRegion()\npublic NutsIdLocationBuilder setRegion(value)\n")),Object(l.b)("h4",{id:"-url"},"\ud83d\udcdd\ud83c\udf9b url"),Object(l.b)("p",null,"update location url"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdLocationBuilder public url\npublic String getUrl()\npublic NutsIdLocationBuilder setUrl(value)\n")),Object(l.b)("h3",{id:"-instance-methods-5"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-build-1"},"\u2699 build()"),Object(l.b)("p",null,"create new instance of ","{","\\@link NutsIdLocation","}"," initialized with this builder values."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdLocation build()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdLocation"),Object(l.b)("h4",{id:"-classifiervalue"},"\u2699 classifier(value)"),Object(l.b)("p",null,"update location classifier"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdLocationBuilder classifier(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdLocationBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : location classifier")),Object(l.b)("h4",{id:"-clear-1"},"\u2699 clear()"),Object(l.b)("p",null,"clear this instance (set null/default all properties)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdLocationBuilder clear()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdLocationBuilder"),Object(l.b)("h4",{id:"-regionvalue"},"\u2699 region(value)"),Object(l.b)("p",null,"update location region"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdLocationBuilder region(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdLocationBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : location region")),Object(l.b)("h4",{id:"-setvalue-2"},"\u2699 set(value)"),Object(l.b)("p",null,"update all attributes, copy from ","{","\\@code value","}"," instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdLocationBuilder set(NutsIdLocationBuilder value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdLocationBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsIdLocationBuilder value")," : instance to copy from")),Object(l.b)("h4",{id:"-setvalue-3"},"\u2699 set(value)"),Object(l.b)("p",null,"update all attributes, copy from ","{","\\@code value","}"," instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdLocationBuilder set(NutsIdLocation value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdLocationBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsIdLocation value")," : instance to copy from")),Object(l.b)("h4",{id:"-urlvalue"},"\u2699 url(value)"),Object(l.b)("p",null,"update location url"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdLocationBuilder url(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdLocationBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : location url")),Object(l.b)("h2",{id:"-nutsidtype"},"\u2615 NutsIdType"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsIdType\n")),Object(l.b)("p",null," Artifacts are organized according to ","{","\\@code NutsIdType","}"," to reflect how the artifact\nshould be managed by the workspace.\nThis information is available in ","{","\\@link NutsDefinition","}","\n\\@category Base"),Object(l.b)("h3",{id:"-constant-fields-1"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-api"},"\ud83d\udce2\u2744 API"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsIdType API\n")),Object(l.b)("h4",{id:"-companion"},"\ud83d\udce2\u2744 COMPANION"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsIdType COMPANION\n")),Object(l.b)("h4",{id:"-extension"},"\ud83d\udce2\u2744 EXTENSION"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsIdType EXTENSION\n")),Object(l.b)("h4",{id:"-regular"},"\ud83d\udce2\u2744 REGULAR"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsIdType REGULAR\n")),Object(l.b)("h4",{id:"-runtime"},"\ud83d\udce2\u2744 RUNTIME"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsIdType RUNTIME\n")),Object(l.b)("h3",{id:"-static-methods-2"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-1"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdType valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdType"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-1"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdType[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdType[]"),Object(l.b)("h2",{id:"-nutsindexstore"},"\u2615 NutsIndexStore"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIndexStore\n")),Object(l.b)("p",null," Classes implementations of ","{","\\@code NutsIndexStore","}"," handle\nindexing of repositories to enable faster search.\n\\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-7"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-enabled"},"\ud83d\udcdd\ud83c\udf9b enabled"),Object(l.b)("p",null,"enable of disable ot index"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIndexStore public enabled\npublic boolean isEnabled()\npublic NutsIndexStore setEnabled(enabled)\n")),Object(l.b)("h4",{id:"-subscribed"},"\ud83d\udcc4\ud83c\udf9b subscribed"),Object(l.b)("p",null,"return true if the current repository is registered"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public subscribed\npublic boolean isSubscribed()\n")),Object(l.b)("h3",{id:"-instance-methods-6"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-enabled-1"},"\u2699 enabled()"),Object(l.b)("p",null,"enable index"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIndexStore enabled()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIndexStore"),Object(l.b)("h4",{id:"-enabledenabled"},"\u2699 enabled(enabled)"),Object(l.b)("p",null,"enable of disable ot index"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIndexStore enabled(boolean enabled)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIndexStore"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enabled")," : new value")),Object(l.b)("h4",{id:"-invalidateid"},"\u2699 invalidate(id)"),Object(l.b)("p",null,"invalidate the artifact from the index"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIndexStore invalidate(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIndexStore"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to invalidate")),Object(l.b)("h4",{id:"-revalidateid"},"\u2699 revalidate(id)"),Object(l.b)("p",null,"invalidate the artifact from the index and re-index it"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIndexStore revalidate(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIndexStore"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to re-index")),Object(l.b)("h4",{id:"-searchfilter-session"},"\u2699 search(filter, session)"),Object(l.b)("p",null,"search all artifacts matching the given filter"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Iterator search(NutsIdFilter filter, NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Iterator"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsIdFilter filter")," : filter or null for all"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : current session")),Object(l.b)("h4",{id:"-searchversionsid-session"},"\u2699 searchVersions(id, session)"),Object(l.b)("p",null,"search all versions of the given artifact"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Iterator searchVersions(NutsId id, NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Iterator"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : artifact to search for"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : current session")),Object(l.b)("h4",{id:"-subscribe"},"\u2699 subscribe()"),Object(l.b)("p",null,"subscribe the current repository so the indexing\nis processed."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIndexStore subscribe()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIndexStore"),Object(l.b)("h4",{id:"-unsubscribe"},"\u2699 unsubscribe()"),Object(l.b)("p",null,"unsubscribe the current repository so that the indexing\nis disabled and the index is removed."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIndexStore unsubscribe()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIndexStore"),Object(l.b)("h2",{id:"-nutsindexstorefactory"},"\u2615 NutsIndexStoreFactory"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIndexStoreFactory\n")),Object(l.b)("p",null," Index Store Factory responsible of creating stores for a given repository\n\\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-7"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-createindexstorerepository"},"\u2699 createIndexStore(repository)"),Object(l.b)("p",null,"create a new index store implementation or null if not supported"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIndexStore createIndexStore(NutsRepository repository)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIndexStore"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsRepository repository")," : repository to greate the index store to")),Object(l.b)("h2",{id:"-nutsinputstreamtransparentadapter"},"\u2615 NutsInputStreamTransparentAdapter"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsInputStreamTransparentAdapter\n")),Object(l.b)("p",null,' Interface to enable marking system streams. When creating new processes nuts\nwill dereference NutsInputStreamTransparentAdapter to check if the\nInputStream i a system io. In that case nuts will "inherit" input stream'),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-8"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-baseinputstream"},"\u2699 baseInputStream()"),Object(l.b)("p",null,"de-referenced stream"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"InputStream baseInputStream()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":InputStream"),Object(l.b)("h2",{id:"-nutsinstallcommand"},"\u2615 NutsInstallCommand"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsInstallCommand\n")),Object(l.b)("p",null," Command for installing artifacts\n\\@author vpc\n\\@since 0.5.4\n\\@category Base\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-8"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-args"},"\ud83d\udcc4\ud83c\udf9b args"),Object(l.b)("p",null,"return all arguments to pass to the install command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public args\npublic String[] getArgs()\n")),Object(l.b)("h4",{id:"-companions"},"\ud83d\udcdd\ud83c\udf9b companions"),Object(l.b)("p",null,"if true update companions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsInstallCommand public companions\npublic boolean isCompanions()\npublic NutsInstallCommand setCompanions(value)\n")),Object(l.b)("h4",{id:"-defaultversion"},"\ud83d\udcdd\ud83c\udf9b defaultVersion"),Object(l.b)("p",null,"set default version flag. when true, the installed version will be defined as default"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsInstallCommand public defaultVersion\npublic boolean isDefaultVersion()\npublic NutsInstallCommand setDefaultVersion(defaultVersion)\n")),Object(l.b)("h4",{id:"-ids"},"\ud83d\udcc4\ud83c\udf9b ids"),Object(l.b)("p",null,"return all ids to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public ids\npublic NutsId[] getIds()\n")),Object(l.b)("h4",{id:"-installed"},"\ud83d\udcdd\ud83c\udf9b installed"),Object(l.b)("p",null,"if true reinstall installed artifacts"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsInstallCommand public installed\npublic boolean isInstalled()\npublic NutsInstallCommand setInstalled(value)\n")),Object(l.b)("h4",{id:"-result"},"\ud83d\udcc4\ud83c\udf9b result"),Object(l.b)("p",null,"execute installation and return result."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public result\npublic NutsResultList getResult()\n")),Object(l.b)("h4",{id:"-session-2"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsInstallCommand public session\npublic NutsInstallCommand setSession(session)\n")),Object(l.b)("h3",{id:"-instance-methods-9"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addargarg"},"\u2699 addArg(arg)"),Object(l.b)("p",null,"add argument to pass to the install command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand addArg(String arg)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String arg")," : argument")),Object(l.b)("h4",{id:"-addargsargs"},"\u2699 addArgs(args)"),Object(l.b)("p",null,"add arguments to pass to the install command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand addArgs(Collection args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection args")," : argument")),Object(l.b)("h4",{id:"-addargsargs-1"},"\u2699 addArgs(args)"),Object(l.b)("p",null,"add arguments to pass to the install command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand addArgs(String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument")),Object(l.b)("h4",{id:"-addidid"},"\u2699 addId(id)"),Object(l.b)("p",null,"add artifact id to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand addId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to install")),Object(l.b)("h4",{id:"-addidid-1"},"\u2699 addId(id)"),Object(l.b)("p",null,"add artifact id to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand addId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to install")),Object(l.b)("h4",{id:"-addidsids"},"\u2699 addIds(ids)"),Object(l.b)("p",null,"add artifact ids to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand addIds(NutsId[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] ids")," : ids to install")),Object(l.b)("h4",{id:"-addidsids-1"},"\u2699 addIds(ids)"),Object(l.b)("p",null,"add artifact ids to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand addIds(String[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] ids")," : ids to install")),Object(l.b)("h4",{id:"-argarg"},"\u2699 arg(arg)"),Object(l.b)("p",null,"add argument to pass to the install command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand arg(String arg)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String arg")," : argument")),Object(l.b)("h4",{id:"-argsargs"},"\u2699 args(args)"),Object(l.b)("p",null,"add arguments to pass to the install command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand args(Collection args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection args")," : argument")),Object(l.b)("h4",{id:"-argsargs-1"},"\u2699 args(args)"),Object(l.b)("p",null,"add arguments to pass to the install command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand args(String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument")),Object(l.b)("h4",{id:"-clearargs"},"\u2699 clearArgs()"),Object(l.b)("p",null,"clear all arguments to pass to the install command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand clearArgs()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("h4",{id:"-clearids"},"\u2699 clearIds()"),Object(l.b)("p",null,"clear ids to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand clearIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("h4",{id:"-companions-1"},"\u2699 companions()"),Object(l.b)("p",null,"update companions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand companions()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("h4",{id:"-companionsvalue"},"\u2699 companions(value)"),Object(l.b)("p",null,"if true update companions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand companions(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : flag")),Object(l.b)("h4",{id:"-configureskipunsupported-args"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-copysession"},"\u2699 copySession()"),Object(l.b)("p",null,"copy session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand copySession()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("h4",{id:"-defaultversion-1"},"\u2699 defaultVersion()"),Object(l.b)("p",null,"set default version flag. the installed version will be defined as default."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand defaultVersion()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("h4",{id:"-defaultversiondefaultversion"},"\u2699 defaultVersion(defaultVersion)"),Object(l.b)("p",null,"set default version flag. when true, the installed version will be defined as default"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand defaultVersion(boolean defaultVersion)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean defaultVersion")," : when true, the installed version will be defined as\ndefault")),Object(l.b)("h4",{id:"-idid"},"\u2699 id(id)"),Object(l.b)("p",null,"add artifact id to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand id(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to install")),Object(l.b)("h4",{id:"-idid-1"},"\u2699 id(id)"),Object(l.b)("p",null,"add artifact id to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand id(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to install")),Object(l.b)("h4",{id:"-idsids"},"\u2699 ids(ids)"),Object(l.b)("p",null,"add artifact ids to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand ids(NutsId[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] ids")," : id to install")),Object(l.b)("h4",{id:"-idsids-1"},"\u2699 ids(ids)"),Object(l.b)("p",null,"add artifact ids to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand ids(String[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] ids")," : id to install")),Object(l.b)("h4",{id:"-installed-1"},"\u2699 installed()"),Object(l.b)("p",null,"reinstall installed artifacts"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand installed()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("h4",{id:"-installedvalue"},"\u2699 installed(value)"),Object(l.b)("p",null,"if true reinstall installed artifacts"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand installed(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : flag")),Object(l.b)("h4",{id:"-removeidid"},"\u2699 removeId(id)"),Object(l.b)("p",null,"remove artifact id to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand removeId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to install")),Object(l.b)("h4",{id:"-removeidid-1"},"\u2699 removeId(id)"),Object(l.b)("p",null,"remove artifact id to install"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand removeId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to install")),Object(l.b)("h4",{id:"-run-1"},"\u2699 run()"),Object(l.b)("p",null,"execute the command and return this instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("h2",{id:"-nutsinstallevent"},"\u2615 NutsInstallEvent"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsInstallEvent\n")),Object(l.b)("p",null," Event describing installation of an artifact\n\\@author vpc\n\\@since 0.5.6\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-9"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-definition-1"},"\ud83d\udcc4\ud83c\udf9b definition"),Object(l.b)("p",null,"return artifact definition"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDefinition public definition\npublic NutsDefinition getDefinition()\n")),Object(l.b)("h4",{id:"-force"},"\ud83d\udcc4\ud83c\udf9b force"),Object(l.b)("p",null,"return true if installation was forced"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public force\npublic boolean isForce()\n")),Object(l.b)("h4",{id:"-session-3"},"\ud83d\udcc4\ud83c\udf9b session"),Object(l.b)("p",null,"return current session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(l.b)("h4",{id:"-workspace-3"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(l.b)("p",null,"vcurrent workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(l.b)("h2",{id:"-nutsinstallinformation"},"\u2615 NutsInstallInformation"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsInstallInformation\n")),Object(l.b)("p",null," Information about installed artifact\n\\@author vpc\n\\@since 0.5.5\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-10"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-defaultversion-2"},"\ud83d\udcc4\ud83c\udf9b defaultVersion"),Object(l.b)("p",null,"true when the installed artifact is default version"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public defaultVersion\npublic boolean isDefaultVersion()\n")),Object(l.b)("h4",{id:"-id-4"},"\ud83d\udcc4\ud83c\udf9b id"),Object(l.b)("p",null,"installation date"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(l.b)("h4",{id:"-installdate"},"\ud83d\udcc4\ud83c\udf9b installDate"),Object(l.b)("p",null,"installation date"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Instant public installDate\npublic Instant getInstallDate()\n")),Object(l.b)("h4",{id:"-installfolder"},"\ud83d\udcc4\ud83c\udf9b installFolder"),Object(l.b)("p",null,"installation formation path."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public installFolder\npublic Path getInstallFolder()\n")),Object(l.b)("h4",{id:"-installstatus"},"\ud83d\udcc4\ud83c\udf9b installStatus"),Object(l.b)("p",null,"return install status"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsInstallStatus public installStatus\npublic NutsInstallStatus getInstallStatus()\n")),Object(l.b)("h4",{id:"-installuser"},"\ud83d\udcc4\ud83c\udf9b installUser"),Object(l.b)("p",null,"return the user responsible of the installation"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public installUser\npublic String getInstallUser()\n")),Object(l.b)("h4",{id:"-installedorincluded"},"\ud83d\udcc4\ud83c\udf9b installedOrIncluded"),Object(l.b)("p",null,"return true if installed primary or dependency"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public installedOrIncluded\npublic boolean isInstalledOrIncluded()\n")),Object(l.b)("h4",{id:"-justinstalled"},"\ud83d\udcc4\ud83c\udf9b justInstalled"),Object(l.b)("p",null,"true if the installation just occurred in the very last operation"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public justInstalled\npublic boolean isJustInstalled()\n")),Object(l.b)("h4",{id:"-justreinstalled"},"\ud83d\udcc4\ud83c\udf9b justReInstalled"),Object(l.b)("p",null,"true if the re-installation just occurred in the very last operation"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public justReInstalled\npublic boolean isJustReInstalled()\n")),Object(l.b)("h4",{id:"-sourcerepositoryname"},"\ud83d\udcc4\ud83c\udf9b sourceRepositoryName"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public sourceRepositoryName\npublic String getSourceRepositoryName()\n")),Object(l.b)("h4",{id:"-sourcerepositoryuuid"},"\ud83d\udcc4\ud83c\udf9b sourceRepositoryUUID"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public sourceRepositoryUUID\npublic String getSourceRepositoryUUID()\n")),Object(l.b)("h2",{id:"-nutsinstallstatus"},"\u2615 NutsInstallStatus"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsInstallStatus\n")),Object(l.b)("p",null," Package installation status\n\\@category Base"),Object(l.b)("h3",{id:"-constant-fields-2"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-included"},"\ud83d\udce2\u2744 INCLUDED"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsInstallStatus INCLUDED\n")),Object(l.b)("h4",{id:"-installed-2"},"\ud83d\udce2\u2744 INSTALLED"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsInstallStatus INSTALLED\n")),Object(l.b)("h4",{id:"-installed_or_included"},"\ud83d\udce2\u2744 INSTALLED_OR_INCLUDED"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsInstallStatus INSTALLED_OR_INCLUDED\n")),Object(l.b)("h4",{id:"-not_installed"},"\ud83d\udce2\u2744 NOT_INSTALLED"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsInstallStatus NOT_INSTALLED\n")),Object(l.b)("h3",{id:"-static-methods-3"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-2"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallStatus valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallStatus"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-2"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallStatus[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallStatus[]"),Object(l.b)("h3",{id:"-instance-methods-10"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-5"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutslistener"},"\u2615 NutsListener"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsListener\n")),Object(l.b)("p",null," Anchor interface for all Nuts Listeners.\n\\@author vpc\n\\@since 0.5.5\n\\@category Base"),Object(l.b)("h2",{id:"-nutsmaplistener"},"\u2615 NutsMapListener"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsMapListener\n")),Object(l.b)("p",null," Map Listener to catch updates"),Object(l.b)("p",null," \\@param \\"," key type\n\\@param \\"," value type\n\\@since 0.2.0\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-11"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-entryaddedkey-value"},"\u2699 entryAdded(key, value)"),Object(l.b)("p",null,"Invoked when item added"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void entryAdded(Object key, Object value)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object key")," : key"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value")),Object(l.b)("h4",{id:"-entryremovedkey-value"},"\u2699 entryRemoved(key, value)"),Object(l.b)("p",null,"Invoked when item removed"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void entryRemoved(Object key, Object value)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object key")," : key"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value")),Object(l.b)("h4",{id:"-entryupdatedkey-newvalue-oldvalue"},"\u2699 entryUpdated(key, newValue, oldValue)"),Object(l.b)("p",null,"Invoked when item updated"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void entryUpdated(Object key, Object newValue, Object oldValue)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object key")," : key"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object newValue")," : new value"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object oldValue")," : old value")),Object(l.b)("h2",{id:"-nutsosfamily"},"\u2615 NutsOsFamily"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsOsFamily\n")),Object(l.b)("p",null," Supported Operating System Families\n\\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-constant-fields-3"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-linux"},"\ud83d\udce2\u2744 LINUX"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOsFamily LINUX\n")),Object(l.b)("h4",{id:"-macos"},"\ud83d\udce2\u2744 MACOS"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOsFamily MACOS\n")),Object(l.b)("h4",{id:"-unix"},"\ud83d\udce2\u2744 UNIX"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOsFamily UNIX\n")),Object(l.b)("h4",{id:"-unknown"},"\ud83d\udce2\u2744 UNKNOWN"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOsFamily UNKNOWN\n")),Object(l.b)("h4",{id:"-windows"},"\ud83d\udce2\u2744 WINDOWS"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOsFamily WINDOWS\n")),Object(l.b)("h3",{id:"-static-methods-4"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-3"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsOsFamily valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsOsFamily"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-3"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsOsFamily[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsOsFamily[]"),Object(l.b)("h3",{id:"-instance-methods-12"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-6"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsprocessinfo"},"\u2615 NutsProcessInfo"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsProcessInfo\n")),Object(l.b)("p",null," System Process Information\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-11"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-commandline"},"\ud83d\udcc4\ud83c\udf9b commandLine"),Object(l.b)("p",null,"Process command line"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public commandLine\npublic String getCommandLine()\n")),Object(l.b)("h4",{id:"-name"},"\ud83d\udcc4\ud83c\udf9b name"),Object(l.b)("p",null,"Process Name.\nThis should represent Fully Qualified Java Main Class Name for java processes."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(l.b)("h4",{id:"-pid"},"\ud83d\udcc4\ud83c\udf9b pid"),Object(l.b)("p",null,"Process Id in string representation"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public pid\npublic String getPid()\n")),Object(l.b)("h4",{id:"-title"},"\ud83d\udcc4\ud83c\udf9b title"),Object(l.b)("p",null,"Process Title / Window Title if available"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public title\npublic String getTitle()\n")),Object(l.b)("h2",{id:"-nutsprogressevent"},"\u2615 NutsProgressEvent"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsProgressEvent\n")),Object(l.b)("p",null," Progress event\n\\@author vpc\n\\@since 0.5.8\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-12"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-currentvalue"},"\ud83d\udcc4\ud83c\udf9b currentValue"),Object(l.b)("p",null,"progress current value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public currentValue\npublic long getCurrentValue()\n")),Object(l.b)("h4",{id:"-error-1"},"\ud83d\udcc4\ud83c\udf9b error"),Object(l.b)("p",null,"error or null"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Throwable public error\npublic Throwable getError()\n")),Object(l.b)("h4",{id:"-indeterminate"},"\ud83d\udcc4\ud83c\udf9b indeterminate"),Object(l.b)("p",null,"when true, max value is unknown, and the progress is indeterminate"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public indeterminate\npublic boolean isIndeterminate()\n")),Object(l.b)("h4",{id:"-maxvalue"},"\ud83d\udcc4\ud83c\udf9b maxValue"),Object(l.b)("p",null,"progress max value or -1 if intermediate"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public maxValue\npublic long getMaxValue()\n")),Object(l.b)("h4",{id:"-message"},"\ud83d\udcc4\ud83c\udf9b message"),Object(l.b)("p",null,"event message"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public message\npublic String getMessage()\n")),Object(l.b)("h4",{id:"-partialmillis"},"\ud83d\udcc4\ud83c\udf9b partialMillis"),Object(l.b)("p",null,"progress time from the starting of the last mark point."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public partialMillis\npublic long getPartialMillis()\n")),Object(l.b)("h4",{id:"-partialvalue"},"\ud83d\udcc4\ud83c\udf9b partialValue"),Object(l.b)("p",null,"progress value from the last mark point.\nMark point occurs when ","{","\\@link NutsProgressMonitor#onProgress(NutsProgressEvent)","}"," return false."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public partialValue\npublic long getPartialValue()\n")),Object(l.b)("h4",{id:"-percent"},"\ud83d\udcc4\ud83c\udf9b percent"),Object(l.b)("p",null,"progress percentage (","[0..100]",")"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] float public percent\npublic float getPercent()\n")),Object(l.b)("h4",{id:"-session-4"},"\ud83d\udcc4\ud83c\udf9b session"),Object(l.b)("p",null,"Nuts Session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(l.b)("h4",{id:"-source"},"\ud83d\udcc4\ud83c\udf9b source"),Object(l.b)("p",null,"progress source object"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public source\npublic Object getSource()\n")),Object(l.b)("h4",{id:"-timemillis"},"\ud83d\udcc4\ud83c\udf9b timeMillis"),Object(l.b)("p",null,"progress time from the starting of the progress."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public timeMillis\npublic long getTimeMillis()\n")),Object(l.b)("h2",{id:"-nutsprogressfactory"},"\u2615 NutsProgressFactory"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsProgressFactory\n")),Object(l.b)("p",null," NutsProgressFactory is responsible of creating instances of ","{","\\@link NutsProgressMonitor","}","\n\\@author vpc\n\\@since 0.5.8\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-13"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-createsource-sourceorigin-session"},"\u2699 create(source, sourceOrigin, session)"),Object(l.b)("p",null,"create a new instance of ","{","\\@link NutsProgressMonitor","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsProgressMonitor create(Object source, Object sourceOrigin, NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsProgressMonitor"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object source")," : source object of the progress. This may be the File for instance"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object sourceOrigin")," : source origin object of the progress. This may be the NutsId for instance"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : workspace session")),Object(l.b)("h2",{id:"-nutsprogressmonitor"},"\u2615 NutsProgressMonitor"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsProgressMonitor\n")),Object(l.b)("p",null," Monitor handles events from copy, compress and delete actions\n\\@author vpc\n\\@since 0.5.8\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-14"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-oncompleteevent"},"\u2699 onComplete(event)"),Object(l.b)("p",null,"called when the action terminates"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void onComplete(NutsProgressEvent event)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsProgressEvent event")," : event")),Object(l.b)("h4",{id:"-onprogressevent"},"\u2699 onProgress(event)"),Object(l.b)("p",null,"called when the action does a step forward and return\ntrue if the progress was handled of false otherwise."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean onProgress(NutsProgressEvent event)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsProgressEvent event")," : event")),Object(l.b)("h4",{id:"-onstartevent"},"\u2699 onStart(event)"),Object(l.b)("p",null,"called when the action starts"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void onStart(NutsProgressEvent event)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsProgressEvent event")," : event")),Object(l.b)("h2",{id:"-nutsquestion"},"\u2615 NutsQuestion"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsQuestion\n")),Object(l.b)("p",null," Question is helpful object that permits user interaction by reading a typed object from\nstandard input or an equivalent input system.\n\\@param \\"," value type returned by this question object\n\\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-13"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-acceptedvalues"},"\ud83d\udcc4\ud83c\udf9b acceptedValues"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object[] public acceptedValues\npublic Object[] getAcceptedValues()\n")),Object(l.b)("h4",{id:"-booleanvalue"},"\ud83d\udcc4\ud83c\udf9b booleanValue"),Object(l.b)("p",null,"equivalent to (Boolean) getValue() as type dereferencing may cause some\ntroubles"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Boolean public booleanValue\npublic Boolean getBooleanValue()\n")),Object(l.b)("h4",{id:"-defaultvalue"},"\ud83d\udcc4\ud83c\udf9b defaultValue"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public defaultValue\npublic Object getDefaultValue()\n")),Object(l.b)("h4",{id:"-format-1"},"\ud83d\udcc4\ud83c\udf9b format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsQuestionFormat public format\npublic NutsQuestionFormat getFormat()\n")),Object(l.b)("h4",{id:"-hintmessage"},"\ud83d\udcc4\ud83c\udf9b hintMessage"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public hintMessage\npublic String getHintMessage()\n")),Object(l.b)("h4",{id:"-hintmessageparameters"},"\ud83d\udcc4\ud83c\udf9b hintMessageParameters"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object[] public hintMessageParameters\npublic Object[] getHintMessageParameters()\n")),Object(l.b)("h4",{id:"-message-1"},"\ud83d\udcc4\ud83c\udf9b message"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public message\npublic String getMessage()\n")),Object(l.b)("h4",{id:"-messageparameters"},"\ud83d\udcc4\ud83c\udf9b messageParameters"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object[] public messageParameters\npublic Object[] getMessageParameters()\n")),Object(l.b)("h4",{id:"-parser"},"\ud83d\udcc4\ud83c\udf9b parser"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsQuestionParser public parser\npublic NutsQuestionParser getParser()\n")),Object(l.b)("h4",{id:"-session-5"},"\ud83d\udcc4\ud83c\udf9b session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(l.b)("h4",{id:"-validator"},"\ud83d\udcc4\ud83c\udf9b validator"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsQuestionValidator public validator\npublic NutsQuestionValidator getValidator()\n")),Object(l.b)("h4",{id:"-value"},"\ud83d\udcc4\ud83c\udf9b value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public value\npublic Object getValue()\n")),Object(l.b)("h4",{id:"-valuetype"},"\ud83d\udcc4\ud83c\udf9b valueType"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Class public valueType\npublic Class getValueType()\n")),Object(l.b)("h3",{id:"-instance-methods-15"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-acceptedvaluesacceptedvalues"},"\u2699 acceptedValues(acceptedValues)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion acceptedValues(Object[] acceptedValues)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] acceptedValues")," : ")),Object(l.b)("h4",{id:"-configureskipunsupported-args-1"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-defaultvaluedefautvalue"},"\u2699 defaultValue(defautValue)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion defaultValue(Object defautValue)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object defautValue")," : ")),Object(l.b)("h4",{id:"-forbooleanmsg-params"},"\u2699 forBoolean(msg, params)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion forBoolean(String msg, Object[] params)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String msg")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(l.b)("h4",{id:"-fordoublemsg-params"},"\u2699 forDouble(msg, params)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion forDouble(String msg, Object[] params)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String msg")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(l.b)("h4",{id:"-forenumenumtype-msg-params"},"\u2699 forEnum(enumType, msg, params)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion forEnum(Class enumType, String msg, Object[] params)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class enumType")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String msg")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(l.b)("h4",{id:"-forfloatmsg-params"},"\u2699 forFloat(msg, params)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion forFloat(String msg, Object[] params)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String msg")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(l.b)("h4",{id:"-forintegermsg-params"},"\u2699 forInteger(msg, params)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion forInteger(String msg, Object[] params)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String msg")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(l.b)("h4",{id:"-forlongmsg-params"},"\u2699 forLong(msg, params)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion forLong(String msg, Object[] params)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String msg")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(l.b)("h4",{id:"-forpasswordmsg-params"},"\u2699 forPassword(msg, params)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion forPassword(String msg, Object[] params)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String msg")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(l.b)("h4",{id:"-forstringmsg-params"},"\u2699 forString(msg, params)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion forString(String msg, Object[] params)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String msg")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] params")," : ")),Object(l.b)("h4",{id:"-formatformat"},"\u2699 format(format)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion format(NutsQuestionFormat format)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestionFormat format")," : ")),Object(l.b)("h4",{id:"-hintmessagemessage-messageparameters"},"\u2699 hintMessage(message, messageParameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion hintMessage(String message, Object[] messageParameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String message")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] messageParameters")," : ")),Object(l.b)("h4",{id:"-messagemessage-messageparameters"},"\u2699 message(message, messageParameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion message(String message, Object[] messageParameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String message")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] messageParameters")," : ")),Object(l.b)("h4",{id:"-parserparser"},"\u2699 parser(parser)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion parser(NutsQuestionParser parser)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestionParser parser")," : ")),Object(l.b)("h4",{id:"-run-2"},"\u2699 run()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("h4",{id:"-setacceptedvaluesacceptedvalues"},"\u2699 setAcceptedValues(acceptedValues)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setAcceptedValues(Object[] acceptedValues)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] acceptedValues")," : ")),Object(l.b)("h4",{id:"-setdefaultvaluedefaultvalue"},"\u2699 setDefaultValue(defaultValue)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setDefaultValue(Object defaultValue)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object defaultValue")," : ")),Object(l.b)("h4",{id:"-setformatformat"},"\u2699 setFormat(format)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setFormat(NutsQuestionFormat format)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestionFormat format")," : ")),Object(l.b)("h4",{id:"-sethintmessagemessage-messageparameters"},"\u2699 setHintMessage(message, messageParameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setHintMessage(String message, Object[] messageParameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String message")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] messageParameters")," : ")),Object(l.b)("h4",{id:"-setmessagemessage-messageparameters"},"\u2699 setMessage(message, messageParameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setMessage(String message, Object[] messageParameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String message")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] messageParameters")," : ")),Object(l.b)("h4",{id:"-setparserparser"},"\u2699 setParser(parser)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setParser(NutsQuestionParser parser)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestionParser parser")," : ")),Object(l.b)("h4",{id:"-setsessionsession"},"\u2699 setSession(session)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setSession(NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(l.b)("h4",{id:"-setvalidatorvalidator"},"\u2699 setValidator(validator)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setValidator(NutsQuestionValidator validator)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestionValidator validator")," : ")),Object(l.b)("h4",{id:"-setvaluetypevaluetype"},"\u2699 setValueType(valueType)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion setValueType(Class valueType)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class valueType")," : ")),Object(l.b)("h4",{id:"-validatorvalidator"},"\u2699 validator(validator)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion validator(NutsQuestionValidator validator)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestionValidator validator")," : ")),Object(l.b)("h4",{id:"-valuetypevaluetype"},"\u2699 valueType(valueType)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsQuestion valueType(Class valueType)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsQuestion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class valueType")," : ")),Object(l.b)("h2",{id:"-nutsquestionparser"},"\u2615 NutsQuestionParser"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsQuestionParser\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-16"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-parseresponse-defaultvalue-question"},"\u2699 parse(response, defaultValue, question)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(Object response, Object defaultValue, NutsQuestion question)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object response")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object defaultValue")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestion question")," : ")),Object(l.b)("h2",{id:"-nutsquestionvalidator"},"\u2615 NutsQuestionValidator"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsQuestionValidator\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-17"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-validatevalue-question"},"\u2699 validate(value, question)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object validate(Object value, NutsQuestion question)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestion question")," : ")),Object(l.b)("h2",{id:"-nutsrepository"},"\u2615 NutsRepository"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRepository\n")),Object(l.b)("p",null," Nuts repository manages a set of packages"),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-constant-fields-4"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-speed_fast"},"\ud83d\udce2\u2744 SPEED_FAST"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int SPEED_FAST = 10000\n")),Object(l.b)("h4",{id:"-speed_faster"},"\ud83d\udce2\u2744 SPEED_FASTER"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int SPEED_FASTER = 100000\n")),Object(l.b)("h4",{id:"-speed_fastest"},"\ud83d\udce2\u2744 SPEED_FASTEST"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int SPEED_FASTEST = 1000000\n")),Object(l.b)("h4",{id:"-speed_slow"},"\ud83d\udce2\u2744 SPEED_SLOW"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int SPEED_SLOW = 1000\n")),Object(l.b)("h4",{id:"-speed_slower"},"\ud83d\udce2\u2744 SPEED_SLOWER"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int SPEED_SLOWER = 100\n")),Object(l.b)("h4",{id:"-speed_slowest"},"\ud83d\udce2\u2744 SPEED_SLOWEST"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final int SPEED_SLOWEST = 10\n")),Object(l.b)("h3",{id:"-instance-properties-14"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-name-1"},"\ud83d\udcc4\ud83c\udf9b name"),Object(l.b)("p",null,"return repository name.\nequivalent to config().name()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(l.b)("h4",{id:"-parentrepository"},"\ud83d\udcc4\ud83c\udf9b parentRepository"),Object(l.b)("p",null,"return parent repository or null"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsRepository public parentRepository\npublic NutsRepository getParentRepository()\n")),Object(l.b)("h4",{id:"-repositorylisteners"},"\ud83d\udcc4\ud83c\udf9b repositoryListeners"),Object(l.b)("p",null,"Repository Listeners"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsRepositoryListener[] public repositoryListeners\npublic NutsRepositoryListener[] getRepositoryListeners()\n")),Object(l.b)("h4",{id:"-repositorytype"},"\ud83d\udcc4\ud83c\udf9b repositoryType"),Object(l.b)("p",null,"return repository type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public repositoryType\npublic String getRepositoryType()\n")),Object(l.b)("h4",{id:"-userpropertylisteners"},"\ud83d\udcc4\ud83c\udf9b userPropertyListeners"),Object(l.b)("p",null,"return array of registered user properties listeners"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsMapListener[] public userPropertyListeners\npublic NutsMapListener[] getUserPropertyListeners()\n")),Object(l.b)("h4",{id:"-uuid"},"\ud83d\udcc4\ud83c\udf9b uuid"),Object(l.b)("p",null,"return repository unique identifier"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public uuid\npublic String getUuid()\n")),Object(l.b)("h4",{id:"-workspace-4"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(l.b)("p",null,"return parent workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(l.b)("h3",{id:"-instance-methods-18"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addrepositorylistenerlistener"},"\u2699 addRepositoryListener(listener)"),Object(l.b)("p",null,"add repository listener"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void addRepositoryListener(NutsRepositoryListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsRepositoryListener listener")," : listener")),Object(l.b)("h4",{id:"-adduserpropertylistenerlistener"},"\u2699 addUserPropertyListener(listener)"),Object(l.b)("p",null,"add listener to user properties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void addUserPropertyListener(NutsMapListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsMapListener listener")," : listener")),Object(l.b)("h4",{id:"-config"},"\u2699 config()"),Object(l.b)("p",null,"return repository configuration manager"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryConfigManager config()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsRepositoryConfigManager"),Object(l.b)("h4",{id:"-deploy"},"\u2699 deploy()"),Object(l.b)("p",null,"create deploy command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDeployRepositoryCommand deploy()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDeployRepositoryCommand"),Object(l.b)("h4",{id:"-fetchcontent"},"\u2699 fetchContent()"),Object(l.b)("p",null,"create fetchContent command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchContentRepositoryCommand fetchContent()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchContentRepositoryCommand"),Object(l.b)("h4",{id:"-fetchdescriptor"},"\u2699 fetchDescriptor()"),Object(l.b)("p",null,"create fetchDescriptor command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchDescriptorRepositoryCommand fetchDescriptor()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchDescriptorRepositoryCommand"),Object(l.b)("h4",{id:"-name-2"},"\u2699 name()"),Object(l.b)("p",null,"return repository name.\nequivalent to config().name()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String name()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h4",{id:"-parentrepository-1"},"\u2699 parentRepository()"),Object(l.b)("p",null,"return parent repository or null"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepository parentRepository()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsRepository"),Object(l.b)("h4",{id:"-push"},"\u2699 push()"),Object(l.b)("p",null,"create push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushRepositoryCommand push()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushRepositoryCommand"),Object(l.b)("h4",{id:"-removerepositorylistenerlistener"},"\u2699 removeRepositoryListener(listener)"),Object(l.b)("p",null,"remove repository listener"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void removeRepositoryListener(NutsRepositoryListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsRepositoryListener listener")," : listener")),Object(l.b)("h4",{id:"-removeuserpropertylistenerlistener"},"\u2699 removeUserPropertyListener(listener)"),Object(l.b)("p",null,"remove listener from user properties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void removeUserPropertyListener(NutsMapListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsMapListener listener")," : listener")),Object(l.b)("h4",{id:"-repositorytype-1"},"\u2699 repositoryType()"),Object(l.b)("p",null,"return repository type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String repositoryType()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h4",{id:"-search"},"\u2699 search()"),Object(l.b)("p",null,"create search command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchRepositoryCommand search()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchRepositoryCommand"),Object(l.b)("h4",{id:"-searchversions"},"\u2699 searchVersions()"),Object(l.b)("p",null,"create searchVersions command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchVersionsRepositoryCommand searchVersions()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchVersionsRepositoryCommand"),Object(l.b)("h4",{id:"-security"},"\u2699 security()"),Object(l.b)("p",null,"return repository security manager"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositorySecurityManager security()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsRepositorySecurityManager"),Object(l.b)("h4",{id:"-undeploy"},"\u2699 undeploy()"),Object(l.b)("p",null,"create undeploy command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRepositoryUndeployCommand undeploy()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsRepositoryUndeployCommand"),Object(l.b)("h4",{id:"-updatestatistics"},"\u2699 updateStatistics()"),Object(l.b)("p",null,"create update statistics command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateRepositoryStatisticsCommand updateStatistics()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateRepositoryStatisticsCommand"),Object(l.b)("h4",{id:"-userproperties"},"\u2699 userProperties()"),Object(l.b)("p",null,"return mutable instance of user properties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Map userProperties()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Map"),Object(l.b)("h4",{id:"-uuid-1"},"\u2699 uuid()"),Object(l.b)("p",null,"return repository unique identifier"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String uuid()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h4",{id:"-workspace-5"},"\u2699 workspace()"),Object(l.b)("p",null,"return parent workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspace workspace()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspace"),Object(l.b)("h2",{id:"-nutsrepositoryfilter"},"\u2615 NutsRepositoryFilter"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRepositoryFilter\n")),Object(l.b)("p",null," Created by vpc on 1/5/17."),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-19"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-acceptrepository"},"\u2699 accept(repository)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean accept(NutsRepository repository)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsRepository repository")," : ")),Object(l.b)("h2",{id:"-nutsresultlist"},"\u2615 NutsResultList"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsResultList\n")),Object(l.b)("p",null," Find Result items from find command"),Object(l.b)("p",null," \\@see NutsSearchCommand#getResultIds()\n\\@author vpc\n\\@param \\"," Result Type\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-20"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-count"},"\u2699 count()"),Object(l.b)("p",null,"return elements count of this result."),Object(l.b)("p",null," consumes the result and returns the number of elements consumed. Calling\nthis method twice will result in unexpected behavior (may return 0 as the\nresult is already consumed or throw an Exception)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"long count()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":long"),Object(l.b)("h4",{id:"-first"},"\u2699 first()"),Object(l.b)("p",null,"return the first value or null if none found."),Object(l.b)("p",null," Calling this method twice will result in unexpected behavior (may return\nan incorrect value such as null as the result is already consumed or\nthrow an Exception)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object first()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("h4",{id:"-list"},"\u2699 list()"),Object(l.b)("p",null,"return result as a java.util.List ."),Object(l.b)("p",null," consumes the result and returns a list Calling this method twice will\nresult in unexpected behavior (may return an empty list as the result is\nalready consumed or throw an Exception)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"List list()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":List"),Object(l.b)("h4",{id:"-required"},"\u2699 required()"),Object(l.b)("p",null,"return the first value or NutsNotFoundException if not found."),Object(l.b)("p",null," Calling this method twice will result in unexpected behavior (may return\nan incorrect value such as null as the result is already consumed or\nthrow an Exception)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object required()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("h4",{id:"-singleton"},"\u2699 singleton()"),Object(l.b)("p",null,"return the first value while checking that there are no more elements."),Object(l.b)("p",null," Calling this method twice will result in unexpected behavior (may return\nan incorrect value such as null as the result is already consumed or\nthrow an Exception)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object singleton()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("h4",{id:"-stream"},"\u2699 stream()"),Object(l.b)("p",null,"return result as a java.util.stream.Stream ."),Object(l.b)("p",null," Calling this method twice will result in unexpected behavior (may return\n0 as the result is already consumed or throw an Exception)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Stream stream()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Stream"),Object(l.b)("h2",{id:"-nutssearchid"},"\u2615 NutsSearchId"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSearchId\n")),Object(l.b)("p",null," Search id defines a uniform interface to ids, versions and descriptors\n\\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-21"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-getdescriptorsession"},"\u2699 getDescriptor(session)"),Object(l.b)("p",null,"return descriptor"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor getDescriptor(NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(l.b)("h4",{id:"-getidsession"},"\u2699 getId(session)"),Object(l.b)("p",null,"return id"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsId getId(NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsId"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(l.b)("h4",{id:"-getversionsession"},"\u2699 getVersion(session)"),Object(l.b)("p",null,"return version"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersion getVersion(NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsVersion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(l.b)("h2",{id:"-nutssearchidfilter"},"\u2615 NutsSearchIdFilter"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSearchIdFilter\n")),Object(l.b)("p",null," SearchId Filter.\n\\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-methods-22"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-acceptsearchidsid-session"},"\u2699 acceptSearchId(sid, session)"),Object(l.b)("p",null,"true if search id is accepted"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean acceptSearchId(NutsSearchId sid, NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSearchId sid")," : search id"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : session")),Object(l.b)("h2",{id:"-nutssession"},"\u2615 NutsSession"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSession\n")),Object(l.b)("p",null," session is context defining common command options and parameters."),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-15"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-ask-1"},"\ud83d\udcdd\ud83c\udf9b ask"),Object(l.b)("p",null,"equivalent to ","{","\\@code setConfirm(enable?ASK:null)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public ask\npublic boolean isAsk()\npublic NutsSession setAsk(enable)\n")),Object(l.b)("h4",{id:"-cached"},"\ud83d\udcdd\ud83c\udf9b cached"),Object(l.b)("p",null,"use cache"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public cached\npublic boolean isCached()\npublic NutsSession setCached(value)\n")),Object(l.b)("h4",{id:"-confirm"},"\ud83d\udcdd\ud83c\udf9b confirm"),Object(l.b)("p",null,"set confirm mode."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public confirm\npublic NutsConfirmationMode getConfirm()\npublic NutsSession setConfirm(confirm)\n")),Object(l.b)("h4",{id:"-fetchstrategy"},"\ud83d\udcdd\ud83c\udf9b fetchStrategy"),Object(l.b)("p",null,"change fetch strategy"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public fetchStrategy\npublic NutsFetchStrategy getFetchStrategy()\npublic NutsSession setFetchStrategy(mode)\n")),Object(l.b)("h4",{id:"-force-1"},"\ud83d\udcdd\ud83c\udf9b force"),Object(l.b)("p",null,"change force flag value. some operations may require user confirmation\nbefore performing critical operations such as overriding existing values,\ndeleting sensitive information ; in such cases, arming force flag will\nprovide an implicit confirmation."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public force\npublic boolean isForce()\npublic NutsSession setForce(enable)\n")),Object(l.b)("h4",{id:"-indexed"},"\ud83d\udcdd\ud83c\udf9b indexed"),Object(l.b)("p",null,"use index"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public indexed\npublic boolean isIndexed()\npublic NutsSession setIndexed(value)\n")),Object(l.b)("h4",{id:"-iterableformat"},"\ud83d\udcdd\ud83c\udf9b iterableFormat"),Object(l.b)("p",null,"set iterable output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public iterableFormat\npublic NutsIterableFormat getIterableFormat()\npublic NutsSession setIterableFormat(value)\n")),Object(l.b)("h4",{id:"-iterableout"},"\ud83d\udcc4\ud83c\udf9b iterableOut"),Object(l.b)("p",null,"true if iterable format is armed. equivalent to\n","{","\\@code getIterableFormat()!=null","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public iterableOut\npublic boolean isIterableOut()\n")),Object(l.b)("h4",{id:"-iterableoutput"},"\ud83d\udcc4\ud83c\udf9b iterableOutput"),Object(l.b)("p",null,"return iterable output"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsIterableOutput public iterableOutput\npublic NutsIterableOutput getIterableOutput()\n")),Object(l.b)("h4",{id:"-iterabletrace"},"\ud83d\udcc4\ud83c\udf9b iterableTrace"),Object(l.b)("p",null,"true if iterable format and trace flag are armed. equivalent to ","{","\\@code isTrace()\n&& isIterableOut()","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public iterableTrace\npublic boolean isIterableTrace()\n")),Object(l.b)("h4",{id:"-listeners"},"\ud83d\udcc4\ud83c\udf9b listeners"),Object(l.b)("p",null,"return all registered listeners."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsListener[] public listeners\npublic NutsListener[] getListeners()\n")),Object(l.b)("h4",{id:"-no-1"},"\ud83d\udcdd\ud83c\udf9b no"),Object(l.b)("p",null,"change no flag value. some operations may require user confirmation\nbefore performing critical operations such as overriding existing values,\ndeleting sensitive information ; in such cases, arming no flag will\nprovide an implicit negative confirmation."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public no\npublic boolean isNo()\npublic NutsSession setNo(enable)\n")),Object(l.b)("h4",{id:"-outputformat"},"\ud83d\udcdd\ud83c\udf9b outputFormat"),Object(l.b)("p",null,"set output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public outputFormat\npublic NutsOutputFormat getOutputFormat()\npublic NutsSession setOutputFormat(outputFormat)\n")),Object(l.b)("h4",{id:"-outputformatoptions"},"\ud83d\udcdd\ud83c\udf9b outputFormatOptions"),Object(l.b)("p",null,"set output format options (clear and add)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public outputFormatOptions\npublic String[] getOutputFormatOptions()\npublic NutsSession setOutputFormatOptions(options)\n")),Object(l.b)("h4",{id:"-plainout"},"\ud83d\udcc4\ud83c\udf9b plainOut"),Object(l.b)("p",null,"true if NON iterable and plain format are armed."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public plainOut\npublic boolean isPlainOut()\n")),Object(l.b)("h4",{id:"-plaintrace"},"\ud83d\udcc4\ud83c\udf9b plainTrace"),Object(l.b)("p",null,"true if non iterable and plain formats along with trace flag are armed.\nequivalent to ","{","\\@code isTrace()\n&& !isIterableOut()\n&& getOutputFormat() == NutsOutputFormat.PLAIN","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public plainTrace\npublic boolean isPlainTrace()\n")),Object(l.b)("h4",{id:"-progressoptions"},"\ud83d\udcdd\ud83c\udf9b progressOptions"),Object(l.b)("p",null,"change progress options"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public progressOptions\npublic String getProgressOptions()\npublic NutsSession setProgressOptions(progressOptions)\n")),Object(l.b)("h4",{id:"-properties-2"},"\ud83d\udcdd\ud83c\udf9b properties"),Object(l.b)("p",null,"add session properties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public properties\npublic Map getProperties()\npublic NutsSession setProperties(properties)\n")),Object(l.b)("h4",{id:"-structuredout"},"\ud83d\udcc4\ud83c\udf9b structuredOut"),Object(l.b)("p",null,"true if NON iterable and NON plain formats are armed. equivalent to ","{","\\@code !isIterableOut()\n&& getOutputFormat() != NutsOutputFormat.PLAIN","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public structuredOut\npublic boolean isStructuredOut()\n")),Object(l.b)("h4",{id:"-structuredtrace"},"\ud83d\udcc4\ud83c\udf9b structuredTrace"),Object(l.b)("p",null,"true if NON iterable and NON plain formats along with trace flag are\narmed. equivalent to ","{","\\@code isTrace()\n&& !isIterableOut()\n&& getOutputFormat() == NutsOutputFormat.PLAIN","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public structuredTrace\npublic boolean isStructuredTrace()\n")),Object(l.b)("h4",{id:"-terminal"},"\ud83d\udcdd\ud83c\udf9b terminal"),Object(l.b)("p",null,"set session terminal"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public terminal\npublic NutsSessionTerminal getTerminal()\npublic NutsSession setTerminal(terminal)\n")),Object(l.b)("h4",{id:"-trace"},"\ud83d\udcdd\ud83c\udf9b trace"),Object(l.b)("p",null,"change trace flag value. When true, operations are invited to print to\noutput stream information about processing. Output may be in different\nformats according to ","{","\\@link #getOutputFormat()","}"," and\n","{","\\@link #getIterableFormat()","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public trace\npublic boolean isTrace()\npublic NutsSession setTrace(trace)\n")),Object(l.b)("h4",{id:"-transitive"},"\ud83d\udcdd\ud83c\udf9b transitive"),Object(l.b)("p",null,"consider transitive repositories"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public transitive\npublic boolean isTransitive()\npublic NutsSession setTransitive(value)\n")),Object(l.b)("h4",{id:"-workspace-6"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(l.b)("p",null,"current workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(l.b)("h4",{id:"-yes-1"},"\ud83d\udcdd\ud83c\udf9b yes"),Object(l.b)("p",null,"change YES flag value. some operations may require user confirmation\nbefore performing critical operations such as overriding existing values,\ndeleting sensitive information ; in such cases, arming yes flag will\nprovide an implicit confirmation."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSession public yes\npublic boolean isYes()\npublic NutsSession setYes(enable)\n")),Object(l.b)("h3",{id:"-instance-methods-23"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addlistenerlistener"},"\u2699 addListener(listener)"),Object(l.b)("p",null,"add session listener. supported listeners are instances of:\n\\","\n\\","{","\\@link NutsWorkspaceListener","}","\\","\n\\","{","\\@link NutsInstallListener","}","\\","\n\\","{","\\@link NutsMapListener","}","\\","\n\\","{","\\@link NutsRepositoryListener","}","\\","\n\\"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession addListener(NutsListener listener)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsListener listener")," : listener")),Object(l.b)("h4",{id:"-addoutputformatoptionsoptions"},"\u2699 addOutputFormatOptions(options)"),Object(l.b)("p",null,"add output format options"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession addOutputFormatOptions(String[] options)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] options")," : output format options.")),Object(l.b)("h4",{id:"-ask-2"},"\u2699 ask()"),Object(l.b)("p",null,"equivalent to ","{","\\@code setAsk(true)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession ask()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-confirmconfirm"},"\u2699 confirm(confirm)"),Object(l.b)("p",null,"set confirm mode."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession confirm(NutsConfirmationMode confirm)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsConfirmationMode confirm")," : confirm type.")),Object(l.b)("h4",{id:"-copy"},"\u2699 copy()"),Object(l.b)("p",null,"return new instance copy of ","{","\\@code this","}"," session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession copy()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-copyfromother"},"\u2699 copyFrom(other)"),Object(l.b)("p",null,"copy into this instance from the given value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession copyFrom(NutsSession other)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession other")," : other session to copy from")),Object(l.b)("h4",{id:"-err"},"\u2699 err()"),Object(l.b)("p",null,"current error stream"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrintStream err()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":PrintStream"),Object(l.b)("h4",{id:"-fetchanywhere"},"\u2699 fetchAnyWhere()"),Object(l.b)("p",null,"change fetch strategy to ANYWHERE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession fetchAnyWhere()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-fetchoffline"},"\u2699 fetchOffline()"),Object(l.b)("p",null,"change fetch strategy to OFFLINE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession fetchOffline()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-fetchonline"},"\u2699 fetchOnline()"),Object(l.b)("p",null,"change fetch strategy to ONLINE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession fetchOnline()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-fetchremote"},"\u2699 fetchRemote()"),Object(l.b)("p",null,"change fetch strategy to REMOTE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession fetchRemote()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-fetchstrategymode"},"\u2699 fetchStrategy(mode)"),Object(l.b)("p",null,"change fetch strategy"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession fetchStrategy(NutsFetchStrategy mode)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsFetchStrategy mode")," : new strategy or null")),Object(l.b)("h4",{id:"-formatobjectany"},"\u2699 formatObject(any)"),Object(l.b)("p",null,"This is a helper method to create and Object format initialized with this\nsession instance and the given object to print.\n","{","\\@code thisSession.getWorkspace().object().setSession(thisSession).value(any)","}","\n\\","\nUsing this method is recommended to print objects to default format (json, xml,...)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectFormat formatObject(Object any)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object any")," : any object to print in the configured/default format")),Object(l.b)("h4",{id:"-getlistenerstype"},"\u2699 getListeners(type)"),Object(l.b)("p",null,"return registered listeners for the given type. Supported types are :\n\\","\n\\","{","\\@link NutsWorkspaceListener","}","\\","\n\\","{","\\@link NutsInstallListener","}","\\","\n\\","{","\\@link NutsMapListener","}","\\","\n\\","{","\\@link NutsRepositoryListener","}","\\","\n\\"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsListener[] getListeners(Class type)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsListener[]"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class type")," : listener type class")),Object(l.b)("h4",{id:"-getoutputformatdefaultvalue"},"\u2699 getOutputFormat(defaultValue)"),Object(l.b)("p",null,"return current Output Format or ","{","\\@code defaultValue","}"," if null"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsOutputFormat getOutputFormat(NutsOutputFormat defaultValue)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsOutputFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsOutputFormat defaultValue")," : value when Output Format is not set")),Object(l.b)("h4",{id:"-getpropertykey"},"\u2699 getProperty(key)"),Object(l.b)("p",null,"return property value or null"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object getProperty(String key)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String key")," : property key")),Object(l.b)("h4",{id:"-json"},"\u2699 json()"),Object(l.b)("p",null,"set json output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession json()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-no-2"},"\u2699 no()"),Object(l.b)("p",null,"equivalent to ","{","\\@code setNo(true)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession no()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-noenable"},"\u2699 no(enable)"),Object(l.b)("p",null,"equivalent to ","{","\\@code setNo(enable)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession no(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : new value")),Object(l.b)("h4",{id:"-out"},"\u2699 out()"),Object(l.b)("p",null,"current output stream"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrintStream out()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":PrintStream"),Object(l.b)("h4",{id:"-plain"},"\u2699 plain()"),Object(l.b)("p",null,"set plain text (default) output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession plain()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-props"},"\u2699 props()"),Object(l.b)("p",null,"set properties output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession props()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-removelistenerlistener"},"\u2699 removeListener(listener)"),Object(l.b)("p",null,"remove session listener. supported listeners are instances of:\n\\","\n\\","{","\\@link NutsWorkspaceListener","}","\\","\n\\","{","\\@link NutsInstallListener","}","\\","\n\\","{","\\@link NutsMapListener","}","\\","\n\\","{","\\@link NutsRepositoryListener","}","\\","\n\\"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession removeListener(NutsListener listener)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsListener listener")," : listener")),Object(l.b)("h4",{id:"-setpropertykey-value"},"\u2699 setProperty(key, value)"),Object(l.b)("p",null,"set session property"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession setProperty(String key, Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String key")," : property key"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : property value")),Object(l.b)("h4",{id:"-setsilent"},"\u2699 setSilent()"),Object(l.b)("p",null,"equivalent to ","{","\\@code setTrace(false)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession setSilent()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-table"},"\u2699 table()"),Object(l.b)("p",null,"set table output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession table()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-terminal-1"},"\u2699 terminal()"),Object(l.b)("p",null,"current terminal"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSessionTerminal terminal()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSessionTerminal"),Object(l.b)("h4",{id:"-tree"},"\u2699 tree()"),Object(l.b)("p",null,"set tree output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession tree()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-workspace-7"},"\u2699 workspace()"),Object(l.b)("p",null,"current workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspace workspace()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspace"),Object(l.b)("h4",{id:"-xml"},"\u2699 xml()"),Object(l.b)("p",null,"set xml output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession xml()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-yes-2"},"\u2699 yes()"),Object(l.b)("p",null,"equivalent to ","{","\\@code setYes(true)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession yes()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-yesenable"},"\u2699 yes(enable)"),Object(l.b)("p",null,"equivalent to ","{","\\@code setYes(enable)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession yes(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : new value")),Object(l.b)("h2",{id:"-nutssessionterminal"},"\u2615 NutsSessionTerminal"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSessionTerminal\n")),Object(l.b)("p",null," Created by vpc on 2/20/17."),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-16"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-parent"},"\ud83d\udcc4\ud83c\udf9b parent"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTerminalBase public parent\npublic NutsTerminalBase getParent()\n")),Object(l.b)("h3",{id:"-instance-methods-24"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-copy-1"},"\u2699 copy()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSessionTerminal copy()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSessionTerminal"),Object(l.b)("h4",{id:"-seterrout"},"\u2699 setErr(out)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setErr(PrintStream out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintStream out")," : ")),Object(l.b)("h4",{id:"-setinin"},"\u2699 setIn(in)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setIn(InputStream in)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"InputStream in")," : ")),Object(l.b)("h4",{id:"-setoutout"},"\u2699 setOut(out)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setOut(PrintStream out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintStream out")," : ")),Object(l.b)("h4",{id:"-setparentparent"},"\u2699 setParent(parent)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setParent(NutsTerminalBase parent)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTerminalBase parent")," : ")),Object(l.b)("h2",{id:"-nutsstorelocation"},"\u2615 NutsStoreLocation"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsStoreLocation\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-constant-fields-5"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-apps"},"\ud83d\udce2\u2744 APPS"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocation APPS\n")),Object(l.b)("h4",{id:"-cache"},"\ud83d\udce2\u2744 CACHE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocation CACHE\n")),Object(l.b)("h4",{id:"-config-1"},"\ud83d\udce2\u2744 CONFIG"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocation CONFIG\n")),Object(l.b)("h4",{id:"-lib"},"\ud83d\udce2\u2744 LIB"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocation LIB\n")),Object(l.b)("h4",{id:"-log"},"\ud83d\udce2\u2744 LOG"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocation LOG\n")),Object(l.b)("h4",{id:"-run-3"},"\ud83d\udce2\u2744 RUN"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocation RUN\n")),Object(l.b)("h4",{id:"-temp"},"\ud83d\udce2\u2744 TEMP"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocation TEMP\n")),Object(l.b)("h4",{id:"-var"},"\ud83d\udce2\u2744 VAR"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocation VAR\n")),Object(l.b)("h3",{id:"-static-methods-5"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-4"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStoreLocation valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStoreLocation"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-4"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStoreLocation[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStoreLocation[]"),Object(l.b)("h3",{id:"-instance-methods-25"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-7"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsstorelocationstrategy"},"\u2615 NutsStoreLocationStrategy"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsStoreLocationStrategy\n")),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-constant-fields-6"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-exploded"},"\ud83d\udce2\u2744 EXPLODED"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocationStrategy EXPLODED\n")),Object(l.b)("h4",{id:"-standalone"},"\ud83d\udce2\u2744 STANDALONE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsStoreLocationStrategy STANDALONE\n")),Object(l.b)("h3",{id:"-static-methods-6"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-5"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStoreLocationStrategy valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStoreLocationStrategy"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-5"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStoreLocationStrategy[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStoreLocationStrategy[]"),Object(l.b)("h3",{id:"-instance-methods-26"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-8"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsterminalmode"},"\u2615 NutsTerminalMode"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsTerminalMode\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-constant-fields-7"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-filtered"},"\ud83d\udce2\u2744 FILTERED"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsTerminalMode FILTERED\n")),Object(l.b)("h4",{id:"-formatted"},"\ud83d\udce2\u2744 FORMATTED"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsTerminalMode FORMATTED\n")),Object(l.b)("h4",{id:"-inherited"},"\ud83d\udce2\u2744 INHERITED"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsTerminalMode INHERITED\n")),Object(l.b)("h3",{id:"-static-methods-7"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-6"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTerminalMode valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTerminalMode"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-6"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTerminalMode[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTerminalMode[]"),Object(l.b)("h3",{id:"-instance-methods-27"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-9"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutstokenfilter"},"\u2615 NutsTokenFilter"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTokenFilter\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-17"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-blank"},"\ud83d\udcc4\ud83c\udf9b blank"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public blank\npublic boolean isBlank()\n")),Object(l.b)("h4",{id:"-null"},"\ud83d\udcc4\ud83c\udf9b null"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public null\npublic boolean isNull()\n")),Object(l.b)("h3",{id:"-instance-methods-28"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-containssubstring"},"\u2699 contains(substring)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean contains(String substring)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String substring")," : ")),Object(l.b)("h4",{id:"-likepattern"},"\u2699 like(pattern)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean like(String pattern)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String pattern")," : ")),Object(l.b)("h4",{id:"-matchespattern"},"\u2699 matches(pattern)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean matches(String pattern)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String pattern")," : ")),Object(l.b)("h2",{id:"-nutsversioninterval"},"\u2615 NutsVersionInterval"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsVersionInterval\n")),Object(l.b)("p",null," Created by vpc on 2/1/17."),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-18"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-fixedvalue"},"\ud83d\udcc4\ud83c\udf9b fixedValue"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public fixedValue\npublic boolean isFixedValue()\n")),Object(l.b)("h4",{id:"-includelowerbound"},"\ud83d\udcc4\ud83c\udf9b includeLowerBound"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public includeLowerBound\npublic boolean isIncludeLowerBound()\n")),Object(l.b)("h4",{id:"-includeupperbound"},"\ud83d\udcc4\ud83c\udf9b includeUpperBound"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public includeUpperBound\npublic boolean isIncludeUpperBound()\n")),Object(l.b)("h4",{id:"-lowerbound"},"\ud83d\udcc4\ud83c\udf9b lowerBound"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public lowerBound\npublic String getLowerBound()\n")),Object(l.b)("h4",{id:"-upperbound"},"\ud83d\udcc4\ud83c\udf9b upperBound"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public upperBound\npublic String getUpperBound()\n")),Object(l.b)("h3",{id:"-instance-methods-29"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-acceptversionversion"},"\u2699 acceptVersion(version)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean acceptVersion(NutsVersion version)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsVersion version")," : ")),Object(l.b)("h2",{id:"-nutsworkspace"},"\u2615 NutsWorkspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspace\n")),Object(l.b)("p",null," Created by vpc on 1/5/17."),Object(l.b)("p",null," \\@since 0.5.4\n\\@category Base"),Object(l.b)("h3",{id:"-instance-properties-19"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-installlisteners"},"\ud83d\udcc4\ud83c\udf9b installListeners"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsInstallListener[] public installListeners\npublic NutsInstallListener[] getInstallListeners()\n")),Object(l.b)("h4",{id:"-name-3"},"\ud83d\udcc4\ud83c\udf9b name"),Object(l.b)("p",null,"Workspace name"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(l.b)("h4",{id:"-repositorylisteners-1"},"\ud83d\udcc4\ud83c\udf9b repositoryListeners"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsRepositoryListener[] public repositoryListeners\npublic NutsRepositoryListener[] getRepositoryListeners()\n")),Object(l.b)("h4",{id:"-userpropertylisteners-1"},"\ud83d\udcc4\ud83c\udf9b userPropertyListeners"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsMapListener[] public userPropertyListeners\npublic NutsMapListener[] getUserPropertyListeners()\n")),Object(l.b)("h4",{id:"-uuid-2"},"\ud83d\udcc4\ud83c\udf9b uuid"),Object(l.b)("p",null,"Workspace identifier, guaranteed to be unique cross machines"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public uuid\npublic String getUuid()\n")),Object(l.b)("h4",{id:"-workspacelisteners"},"\ud83d\udcc4\ud83c\udf9b workspaceListeners"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspaceListener[] public workspaceListeners\npublic NutsWorkspaceListener[] getWorkspaceListeners()\n")),Object(l.b)("h3",{id:"-instance-methods-30"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addinstalllistenerlistener"},"\u2699 addInstallListener(listener)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void addInstallListener(NutsInstallListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsInstallListener listener")," : ")),Object(l.b)("h4",{id:"-addrepositorylistenerlistener-1"},"\u2699 addRepositoryListener(listener)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void addRepositoryListener(NutsRepositoryListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsRepositoryListener listener")," : ")),Object(l.b)("h4",{id:"-adduserpropertylistenerlistener-1"},"\u2699 addUserPropertyListener(listener)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void addUserPropertyListener(NutsMapListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsMapListener listener")," : ")),Object(l.b)("h4",{id:"-addworkspacelistenerlistener"},"\u2699 addWorkspaceListener(listener)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void addWorkspaceListener(NutsWorkspaceListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsWorkspaceListener listener")," : ")),Object(l.b)("h4",{id:"-commandline-1"},"\u2699 commandLine()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLineFormat commandLine()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsCommandLineFormat"),Object(l.b)("h4",{id:"-config-2"},"\u2699 config()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceConfigManager config()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceConfigManager"),Object(l.b)("h4",{id:"-createsession"},"\u2699 createSession()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSession createSession()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSession"),Object(l.b)("h4",{id:"-dependency"},"\u2699 dependency()"),Object(l.b)("p",null,"create dependency format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyFormat dependency()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDependencyFormat"),Object(l.b)("h4",{id:"-deploy-1"},"\u2699 deploy()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDeployCommand deploy()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDeployCommand"),Object(l.b)("h4",{id:"-descriptor-1"},"\u2699 descriptor()"),Object(l.b)("p",null,"create descriptor format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorFormat descriptor()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptorFormat"),Object(l.b)("h4",{id:"-element"},"\u2699 element()"),Object(l.b)("p",null,"create element format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsElementFormat element()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsElementFormat"),Object(l.b)("h4",{id:"-exec"},"\u2699 exec()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsExecCommand exec()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsExecCommand"),Object(l.b)("h4",{id:"-extensions"},"\u2699 extensions()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceExtensionManager extensions()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceExtensionManager"),Object(l.b)("h4",{id:"-fetch"},"\u2699 fetch()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchCommand fetch()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchCommand"),Object(l.b)("h4",{id:"-id-10"},"\u2699 id()"),Object(l.b)("p",null,"create id format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-info"},"\u2699 info()"),Object(l.b)("p",null,"create info format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInfoFormat info()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInfoFormat"),Object(l.b)("h4",{id:"-install"},"\u2699 install()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInstallCommand install()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInstallCommand"),Object(l.b)("h4",{id:"-io"},"\u2699 io()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIOManager io()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIOManager"),Object(l.b)("h4",{id:"-iter"},"\u2699 iter()"),Object(l.b)("p",null,"create iterable format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIterableOutput iter()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIterableOutput"),Object(l.b)("h4",{id:"-json-1"},"\u2699 json()"),Object(l.b)("p",null,"create json format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsJsonFormat json()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsJsonFormat"),Object(l.b)("h4",{id:"-log-1"},"\u2699 log()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsLogManager log()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsLogManager"),Object(l.b)("h4",{id:"-name-4"},"\u2699 name()"),Object(l.b)("p",null,"equivalent to ","{","\\@link #getName()","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String name()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h4",{id:"-object"},"\u2699 object()"),Object(l.b)("p",null,"create object format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectFormat object()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectFormat"),Object(l.b)("h4",{id:"-props-1"},"\u2699 props()"),Object(l.b)("p",null,"create properties format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPropertiesFormat props()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPropertiesFormat"),Object(l.b)("h4",{id:"-push-1"},"\u2699 push()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand push()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("h4",{id:"-removeinstalllistenerlistener"},"\u2699 removeInstallListener(listener)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void removeInstallListener(NutsInstallListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsInstallListener listener")," : ")),Object(l.b)("h4",{id:"-removerepositorylistenerlistener-1"},"\u2699 removeRepositoryListener(listener)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void removeRepositoryListener(NutsRepositoryListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsRepositoryListener listener")," : ")),Object(l.b)("h4",{id:"-removeuserpropertylistenerlistener-1"},"\u2699 removeUserPropertyListener(listener)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void removeUserPropertyListener(NutsMapListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsMapListener listener")," : ")),Object(l.b)("h4",{id:"-removeworkspacelistenerlistener"},"\u2699 removeWorkspaceListener(listener)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void removeWorkspaceListener(NutsWorkspaceListener listener)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsWorkspaceListener listener")," : ")),Object(l.b)("h4",{id:"-search-1"},"\u2699 search()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand search()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-security-1"},"\u2699 security()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceSecurityManager security()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceSecurityManager"),Object(l.b)("h4",{id:"-str"},"\u2699 str()"),Object(l.b)("p",null,"create string format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat str()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("h4",{id:"-table-1"},"\u2699 table()"),Object(l.b)("p",null,"create table format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableFormat table()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableFormat"),Object(l.b)("h4",{id:"-tree-1"},"\u2699 tree()"),Object(l.b)("p",null,"create tree format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTreeFormat tree()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTreeFormat"),Object(l.b)("h4",{id:"-undeploy-1"},"\u2699 undeploy()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand undeploy()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("h4",{id:"-uninstall"},"\u2699 uninstall()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand uninstall()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("h4",{id:"-update"},"\u2699 update()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand update()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-updatestatistics-1"},"\u2699 updateStatistics()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateStatisticsCommand updateStatistics()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateStatisticsCommand"),Object(l.b)("h4",{id:"-userproperties-1"},"\u2699 userProperties()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Map userProperties()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Map"),Object(l.b)("h4",{id:"-uuid-3"},"\u2699 uuid()"),Object(l.b)("p",null,"equivalent to ","{","\\@link #getUuid()","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String uuid()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h4",{id:"-version-1"},"\u2699 version()"),Object(l.b)("p",null,"create version format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersionFormat version()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsVersionFormat"),Object(l.b)("h4",{id:"-xml-1"},"\u2699 xml()"),Object(l.b)("p",null,"create xml format instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsXmlFormat xml()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsXmlFormat"))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/8181ab54.0377c126.js b/docs/8181ab54.0377c126.js new file mode 100644 index 000000000..99396e969 --- /dev/null +++ b/docs/8181ab54.0377c126.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{118:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return d}));var a=n(0),r=n.n(a);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var b=r.a.createContext({}),p=function(e){var t=r.a.useContext(b),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},i=function(e){var t=p(e.components);return r.a.createElement(b.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},j=r.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,c=e.originalType,o=e.parentName,b=s(e,["components","mdxType","originalType","parentName"]),i=p(n),j=a,d=i["".concat(o,".").concat(j)]||i[j]||u[j]||c;return n?r.a.createElement(d,l(l({ref:t},b),{},{components:n})):r.a.createElement(d,l({ref:t},b))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var c=n.length,o=new Array(c);o[0]=j;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var b=2;b","NutsInstallListener\\"," interface when it\nwants to be informed of install artifacts actions."),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Events"),Object(c.b)("h3",{id:"-instance-methods"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-oninstallevent"},"\u2699 onInstall(event)"),Object(c.b)("p",null,"This method is called whenever the observed workspace installs an artifact."),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onInstall(NutsInstallEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsInstallEvent event")," : event")),Object(c.b)("h4",{id:"-onuninstallevent"},"\u2699 onUninstall(event)"),Object(c.b)("p",null,"This method is called whenever the observed workspace uninstalls an artifact."),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onUninstall(NutsInstallEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsInstallEvent event")," : event")),Object(c.b)("h4",{id:"-onupdateevent"},"\u2699 onUpdate(event)"),Object(c.b)("p",null,"This method is called whenever the observed workspace updates an artifact."),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onUpdate(NutsUpdateEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsUpdateEvent event")," : event")),Object(c.b)("h2",{id:"-nutsrepositoryevent"},"\u2615 NutsRepositoryEvent"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRepositoryEvent\n")),Object(c.b)("p",null," Repository Event\n\\@author vpc\n\\@since 0.5.4\n\\@category Events"),Object(c.b)("h3",{id:"-instance-properties"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-parent"},"\ud83d\udcc4\ud83c\udf9b parent"),Object(c.b)("p",null,"Parent repository when this event is about creating\na new repository with a parent one."),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsRepository public parent\npublic NutsRepository getParent()\n")),Object(c.b)("h4",{id:"-propertyname"},"\ud83d\udcc4\ud83c\udf9b propertyName"),Object(c.b)("p",null,"event property name"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public propertyName\npublic String getPropertyName()\n")),Object(c.b)("h4",{id:"-propertyoldvalue"},"\ud83d\udcc4\ud83c\udf9b propertyOldValue"),Object(c.b)("p",null,"event property old value"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public propertyOldValue\npublic Object getPropertyOldValue()\n")),Object(c.b)("h4",{id:"-propertyvalue"},"\ud83d\udcc4\ud83c\udf9b propertyValue"),Object(c.b)("p",null,"event property new value"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public propertyValue\npublic Object getPropertyValue()\n")),Object(c.b)("h4",{id:"-repository"},"\ud83d\udcc4\ud83c\udf9b repository"),Object(c.b)("p",null,"repository that fires this event or the new repository\nwhen creating a new one with parent."),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsRepository public repository\npublic NutsRepository getRepository()\n")),Object(c.b)("h4",{id:"-session"},"\ud83d\udcc4\ud83c\udf9b session"),Object(c.b)("p",null,"current session"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(c.b)("h4",{id:"-workspace"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(c.b)("p",null,"current workspace"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(c.b)("h2",{id:"-nutsrepositorylistener"},"\u2615 NutsRepositoryListener"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsRepositoryListener\n")),Object(c.b)("p",null," Created by vpc on 1/20/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category Events"),Object(c.b)("h3",{id:"-instance-methods-1"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-onaddrepositoryevent"},"\u2699 onAddRepository(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onAddRepository(NutsRepositoryEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsRepositoryEvent event")," : ")),Object(c.b)("h4",{id:"-onconfigurationchangedevent"},"\u2699 onConfigurationChanged(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onConfigurationChanged(NutsRepositoryEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsRepositoryEvent event")," : ")),Object(c.b)("h4",{id:"-ondeployevent"},"\u2699 onDeploy(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onDeploy(NutsContentEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsContentEvent event")," : ")),Object(c.b)("h4",{id:"-onpushevent"},"\u2699 onPush(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onPush(NutsContentEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsContentEvent event")," : ")),Object(c.b)("h4",{id:"-onremoverepositoryevent"},"\u2699 onRemoveRepository(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onRemoveRepository(NutsRepositoryEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsRepositoryEvent event")," : ")),Object(c.b)("h4",{id:"-onundeployevent"},"\u2699 onUndeploy(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onUndeploy(NutsContentEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsContentEvent event")," : ")),Object(c.b)("h2",{id:"-nutsupdateevent"},"\u2615 NutsUpdateEvent"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsUpdateEvent\n")),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.6\n\\@category Events"),Object(c.b)("h3",{id:"-instance-properties-1"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-force"},"\ud83d\udcc4\ud83c\udf9b force"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public force\npublic boolean isForce()\n")),Object(c.b)("h4",{id:"-newvalue"},"\ud83d\udcc4\ud83c\udf9b newValue"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDefinition public newValue\npublic NutsDefinition getNewValue()\n")),Object(c.b)("h4",{id:"-oldvalue"},"\ud83d\udcc4\ud83c\udf9b oldValue"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDefinition public oldValue\npublic NutsDefinition getOldValue()\n")),Object(c.b)("h4",{id:"-session-1"},"\ud83d\udcc4\ud83c\udf9b session"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(c.b)("h4",{id:"-workspace-1"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(c.b)("h2",{id:"-nutsworkspaceevent"},"\u2615 NutsWorkspaceEvent"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceEvent\n")),Object(c.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Events"),Object(c.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(c.b)("h4",{id:"-propertyname-1"},"\ud83d\udcc4\ud83c\udf9b propertyName"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public propertyName\npublic String getPropertyName()\n")),Object(c.b)("h4",{id:"-propertyoldvalue-1"},"\ud83d\udcc4\ud83c\udf9b propertyOldValue"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public propertyOldValue\npublic Object getPropertyOldValue()\n")),Object(c.b)("h4",{id:"-propertyvalue-1"},"\ud83d\udcc4\ud83c\udf9b propertyValue"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public propertyValue\npublic Object getPropertyValue()\n")),Object(c.b)("h4",{id:"-repository-1"},"\ud83d\udcc4\ud83c\udf9b repository"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsRepository public repository\npublic NutsRepository getRepository()\n")),Object(c.b)("h4",{id:"-session-2"},"\ud83d\udcc4\ud83c\udf9b session"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(c.b)("h4",{id:"-workspace-2"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(c.b)("h2",{id:"-nutsworkspacelistener"},"\u2615 NutsWorkspaceListener"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceListener\n")),Object(c.b)("p",null," Created by vpc on 1/20/17."),Object(c.b)("p",null," \\@since 0.5.4\n\\@category Events"),Object(c.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(c.b)("h4",{id:"-onaddrepositoryevent-1"},"\u2699 onAddRepository(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onAddRepository(NutsWorkspaceEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceEvent event")," : ")),Object(c.b)("h4",{id:"-onconfigurationchangedevent-1"},"\u2699 onConfigurationChanged(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onConfigurationChanged(NutsWorkspaceEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceEvent event")," : ")),Object(c.b)("h4",{id:"-oncreateworkspaceevent"},"\u2699 onCreateWorkspace(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onCreateWorkspace(NutsWorkspaceEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceEvent event")," : ")),Object(c.b)("h4",{id:"-onreloadworkspaceevent"},"\u2699 onReloadWorkspace(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onReloadWorkspace(NutsWorkspaceEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceEvent event")," : ")),Object(c.b)("h4",{id:"-onremoverepositoryevent-1"},"\u2699 onRemoveRepository(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onRemoveRepository(NutsWorkspaceEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceEvent event")," : ")),Object(c.b)("h4",{id:"-onupdatepropertyevent"},"\u2699 onUpdateProperty(event)"),Object(c.b)("pre",null,Object(c.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onUpdateProperty(NutsWorkspaceEvent event)\n")),Object(c.b)("ul",null,Object(c.b)("li",{parentName:"ul"},Object(c.b)("strong",{parentName:"li"},"NutsWorkspaceEvent event")," : ")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/83ad7e8f.ac12b9ef.js b/docs/83ad7e8f.ac12b9ef.js new file mode 100644 index 000000000..f06928a6f --- /dev/null +++ b/docs/83ad7e8f.ac12b9ef.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{118:function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return j}));var n=a(0),c=a.n(n);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t=0||(c[a]=e[a]);return c}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(c[a]=e[a])}return c}var u=c.a.createContext({}),o=function(e){var t=c.a.useContext(u),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},p=function(e){var t=o(e.components);return c.a.createElement(u.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return c.a.createElement(c.a.Fragment,{},t)}},i=c.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,l=e.originalType,b=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=o(a),i=n,j=p["".concat(b,".").concat(i)]||p[i]||d[i]||l;return a?c.a.createElement(j,r(r({ref:t},u),{},{components:a})):c.a.createElement(j,r({ref:t},u))}));function j(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var l=a.length,b=new Array(l);b[0]=i;var r={};for(var s in t)hasOwnProperty.call(t,s)&&(r[s]=t[s]);r.originalType=e,r.mdxType="string"==typeof e?e:n,b[1]=r;for(var u=2;u",'\n"installed" artifacts are stored in a pseudo-repository called "installed" which include all installed\n(using command install) artifacts. Effective storage may (should?) remain in a local repository though.\nActually pseudo-repository "installed" manages references to these storages.\n\\","\n\\","\nlocal repositories include all local folder based repositories. Semantically they should define machine/node based\nstorage that is independent from LAN/WAN/Cloud networks. A local database based repository may be considered as local\nthough not recommended as the server may be down.\nIl all ways, local repositories are considered fast according to fetch/deploy commands.\n\\","\n\\","\nremote repositories include all non local repositories which may present slow access and connectivity issues.\nTypically this include server based repositories (http, ...).\n\\","\n\\","\nIt is important to say that a repository may serve both local and remote artifacts as usually remote repositories\nenable cache support; in which case, if the artifact si cached, it will be accessed locally.\n\\","\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"-constant-fields-1"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-local"},"\ud83d\udce2\u2744 LOCAL"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsFetchMode LOCAL\n")),Object(l.b)("h4",{id:"-remote"},"\ud83d\udce2\u2744 REMOTE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsFetchMode REMOTE\n")),Object(l.b)("h3",{id:"-static-methods-1"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-1"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchMode valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchMode"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-1"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchMode[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchMode[]"),Object(l.b)("h3",{id:"-instance-methods-4"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-2"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsfetchstrategy"},"\u2615 NutsFetchStrategy"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsFetchStrategy\n")),Object(l.b)("p",null," Fetch strategy defines modes (see ","{","\\@link NutsFetchMode","}",") to use when searching for an artifact.\n\\@author vpc\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"-constant-fields-2"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-anywhere"},"\ud83d\udce2\u2744 ANYWHERE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsFetchStrategy ANYWHERE\n")),Object(l.b)("h4",{id:"-offline"},"\ud83d\udce2\u2744 OFFLINE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsFetchStrategy OFFLINE\n")),Object(l.b)("h4",{id:"-online"},"\ud83d\udce2\u2744 ONLINE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsFetchStrategy ONLINE\n")),Object(l.b)("h4",{id:"-remote-1"},"\ud83d\udce2\u2744 REMOTE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsFetchStrategy REMOTE\n")),Object(l.b)("h3",{id:"-static-methods-2"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-2"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchStrategy valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchStrategy"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-2"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchStrategy[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchStrategy[]"),Object(l.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-stopfast"},"\ud83d\udcc4\ud83c\udf9b stopFast"),Object(l.b)("p",null,"if true, do not consider next Fetch mode if the latter gives at least one result."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public stopFast\npublic boolean isStopFast()\n")),Object(l.b)("h3",{id:"-instance-methods-5"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-3"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h4",{id:"-iterator"},"\u2699 iterator()"),Object(l.b)("p",null,"ordered fetch modes iterator"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Iterator iterator()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Iterator"),Object(l.b)("h4",{id:"-modes"},"\u2699 modes()"),Object(l.b)("p",null,"ordered fetch modes"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchMode[] modes()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchMode[]"),Object(l.b)("h2",{id:"-nutspushcommand"},"\u2615 NutsPushCommand"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsPushCommand\n")),Object(l.b)("p",null," Push command\n\\@author vpc\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-args"},"\ud83d\udcc4\ud83c\udf9b args"),Object(l.b)("p",null,"return all arguments to pass to the push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public args\npublic String[] getArgs()\n")),Object(l.b)("h4",{id:"-ids-1"},"\ud83d\udcc4\ud83c\udf9b ids"),Object(l.b)("p",null,"return ids to push for"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public ids\npublic NutsId[] getIds()\n")),Object(l.b)("h4",{id:"-lockedids"},"\ud83d\udcc4\ud83c\udf9b lockedIds"),Object(l.b)("p",null,"return locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public lockedIds\npublic NutsId[] getLockedIds()\n")),Object(l.b)("h4",{id:"-offline-1"},"\ud83d\udcdd\ud83c\udf9b offline"),Object(l.b)("p",null,"local only (installed or not)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPushCommand public offline\npublic boolean isOffline()\npublic NutsPushCommand setOffline(offline)\n")),Object(l.b)("h4",{id:"-repository-1"},"\ud83d\udcdd\ud83c\udf9b repository"),Object(l.b)("p",null,"repository to push from"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPushCommand public repository\npublic String getRepository()\npublic NutsPushCommand setRepository(repository)\n")),Object(l.b)("h4",{id:"-session-3"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsPushCommand public session\npublic NutsPushCommand setSession(session)\n")),Object(l.b)("h3",{id:"-instance-methods-6"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addargarg"},"\u2699 addArg(arg)"),Object(l.b)("p",null,"add argument to pass to the push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addArg(String arg)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String arg")," : argument")),Object(l.b)("h4",{id:"-addargsargs"},"\u2699 addArgs(args)"),Object(l.b)("p",null,"add arguments to pass to the push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addArgs(String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument")),Object(l.b)("h4",{id:"-addargsargs-1"},"\u2699 addArgs(args)"),Object(l.b)("p",null,"add arguments to pass to the push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addArgs(Collection args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection args")," : argument")),Object(l.b)("h4",{id:"-addidid-2"},"\u2699 addId(id)"),Object(l.b)("p",null,"add id to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to push")),Object(l.b)("h4",{id:"-addidid-3"},"\u2699 addId(id)"),Object(l.b)("p",null,"add id to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to push")),Object(l.b)("h4",{id:"-addidsids"},"\u2699 addIds(ids)"),Object(l.b)("p",null,"add ids to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addIds(NutsId[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] ids")," : id to push")),Object(l.b)("h4",{id:"-addidsids-1"},"\u2699 addIds(ids)"),Object(l.b)("p",null,"add ids to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addIds(String[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] ids")," : id to push")),Object(l.b)("h4",{id:"-addlockedidid"},"\u2699 addLockedId(id)"),Object(l.b)("p",null,"add locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addLockedId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to lock")),Object(l.b)("h4",{id:"-addlockedidid-1"},"\u2699 addLockedId(id)"),Object(l.b)("p",null,"add locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addLockedId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to lock")),Object(l.b)("h4",{id:"-addlockedidsvalues"},"\u2699 addLockedIds(values)"),Object(l.b)("p",null,"add locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addLockedIds(NutsId[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] values")," : id to lock")),Object(l.b)("h4",{id:"-addlockedidsvalues-1"},"\u2699 addLockedIds(values)"),Object(l.b)("p",null,"define locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand addLockedIds(String[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] values")," : ids")),Object(l.b)("h4",{id:"-argarg"},"\u2699 arg(arg)"),Object(l.b)("p",null,"add argument to pass to the push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand arg(String arg)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String arg")," : argument")),Object(l.b)("h4",{id:"-argsargs"},"\u2699 args(args)"),Object(l.b)("p",null,"add arguments to pass to the push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand args(String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument")),Object(l.b)("h4",{id:"-argsargs-1"},"\u2699 args(args)"),Object(l.b)("p",null,"add arguments to pass to the push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand args(Collection args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection args")," : argument")),Object(l.b)("h4",{id:"-clearargs"},"\u2699 clearArgs()"),Object(l.b)("p",null,"clear all arguments to pass to the push command"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand clearArgs()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("h4",{id:"-clearids-1"},"\u2699 clearIds()"),Object(l.b)("p",null,"reset ids to push for"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand clearIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("h4",{id:"-clearlockedids"},"\u2699 clearLockedIds()"),Object(l.b)("p",null,"reset locked ids"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand clearLockedIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("h4",{id:"-configureskipunsupported-args-3"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-copysession-3"},"\u2699 copySession()"),Object(l.b)("p",null,"copy session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand copySession()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("h4",{id:"-idid"},"\u2699 id(id)"),Object(l.b)("p",null,"add id to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand id(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to push")),Object(l.b)("h4",{id:"-idid-1"},"\u2699 id(id)"),Object(l.b)("p",null,"add id to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand id(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to push")),Object(l.b)("h4",{id:"-idsids"},"\u2699 ids(ids)"),Object(l.b)("p",null,"add ids to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand ids(NutsId[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] ids")," : id to push")),Object(l.b)("h4",{id:"-idsids-1"},"\u2699 ids(ids)"),Object(l.b)("p",null,"add ids to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand ids(String[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] ids")," : id to push")),Object(l.b)("h4",{id:"-lockedidid"},"\u2699 lockedId(id)"),Object(l.b)("p",null,"add locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand lockedId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to lock")),Object(l.b)("h4",{id:"-lockedidid-1"},"\u2699 lockedId(id)"),Object(l.b)("p",null,"add locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand lockedId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to lock")),Object(l.b)("h4",{id:"-lockedidsvalues"},"\u2699 lockedIds(values)"),Object(l.b)("p",null,"define locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand lockedIds(NutsId[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] values")," : ids")),Object(l.b)("h4",{id:"-lockedidsvalues-1"},"\u2699 lockedIds(values)"),Object(l.b)("p",null,"define locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand lockedIds(String[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] values")," : ids")),Object(l.b)("h4",{id:"-offline-2"},"\u2699 offline()"),Object(l.b)("p",null,"local only (installed or not)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand offline()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("h4",{id:"-offlineoffline"},"\u2699 offline(offline)"),Object(l.b)("p",null,"local only (installed or not)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand offline(boolean offline)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean offline")," : enable offline mode")),Object(l.b)("h4",{id:"-removeidid-2"},"\u2699 removeId(id)"),Object(l.b)("p",null,"remove id to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand removeId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to push")),Object(l.b)("h4",{id:"-removeidid-3"},"\u2699 removeId(id)"),Object(l.b)("p",null,"remove id to push."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand removeId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to push")),Object(l.b)("h4",{id:"-removelockedidid"},"\u2699 removeLockedId(id)"),Object(l.b)("p",null,"remove locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand removeLockedId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to unlock")),Object(l.b)("h4",{id:"-removelockedidid-1"},"\u2699 removeLockedId(id)"),Object(l.b)("p",null,"remove locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand removeLockedId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to unlock")),Object(l.b)("h4",{id:"-repositoryrepository"},"\u2699 repository(repository)"),Object(l.b)("p",null,"repository to push from"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand repository(String repository)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String repository")," : repository to push from")),Object(l.b)("h4",{id:"-run-3"},"\u2699 run()"),Object(l.b)("p",null,"execute the command and return this instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPushCommand run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPushCommand"),Object(l.b)("h2",{id:"-nutsremoveoptions"},"\u2615 NutsRemoveOptions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsRemoveOptions\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"\ud83e\ude84-constructors"},"\ud83e\ude84 Constructors"),Object(l.b)("h4",{id:"\ud83e\ude84-nutsremoveoptions"},"\ud83e\ude84 NutsRemoveOptions()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveOptions()\n")),Object(l.b)("h3",{id:"-instance-properties-5"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-erase"},"\ud83d\udcc4\ud83c\udf9b erase"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public erase\npublic boolean isErase()\n")),Object(l.b)("h4",{id:"-session-4"},"\ud83d\udcc4\ud83c\udf9b session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(l.b)("h3",{id:"-instance-methods-7"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-equalso"},"\u2699 equals(o)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object o")," : ")),Object(l.b)("h4",{id:"-erase-1"},"\u2699 erase()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveOptions erase()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsRemoveOptions"),Object(l.b)("h4",{id:"-eraseerase"},"\u2699 erase(erase)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveOptions erase(boolean erase)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsRemoveOptions"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean erase")," : ")),Object(l.b)("h4",{id:"-hashcode"},"\u2699 hashCode()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":int"),Object(l.b)("h4",{id:"-seteraseerase"},"\u2699 setErase(erase)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveOptions setErase(boolean erase)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsRemoveOptions"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean erase")," : ")),Object(l.b)("h4",{id:"-setsessionsession"},"\u2699 setSession(session)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsRemoveOptions setSession(NutsSession session)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsRemoveOptions"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : ")),Object(l.b)("h4",{id:"-tostring"},"\u2699 toString()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutssearchcommand"},"\u2615 NutsSearchCommand"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsSearchCommand\n")),Object(l.b)("p",null," Search command class helps searching multiple artifacts with all of their\nfiles."),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-6"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-application"},"\ud83d\udcdd\ud83c\udf9b application"),Object(l.b)("p",null,"set nuts app filter. if true nuts app (implementing NutsApplication) only\nare retrieved."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public application\npublic boolean isApplication()\npublic NutsSearchCommand setApplication(enable)\n")),Object(l.b)("h4",{id:"-arch"},"\ud83d\udcc4\ud83c\udf9b arch"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public arch\npublic String[] getArch()\n")),Object(l.b)("h4",{id:"-basepackage"},"\ud83d\udcdd\ud83c\udf9b basePackage"),Object(l.b)("p",null,"include base package when searching for inlined dependencies"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public basePackage\npublic boolean isBasePackage()\npublic NutsSearchCommand setBasePackage(includeBasePackage)\n")),Object(l.b)("h4",{id:"-cached-1"},"\ud83d\udcdd\ud83c\udf9b cached"),Object(l.b)("p",null,"enable/disable retrieval from cache"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public cached\npublic boolean isCached()\npublic NutsSearchCommand setCached(enable)\n")),Object(l.b)("h4",{id:"-companion"},"\ud83d\udcdd\ud83c\udf9b companion"),Object(l.b)("p",null,"set companions filter. if true companions only are retrieved."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public companion\npublic boolean isCompanion()\npublic NutsSearchCommand setCompanion(enable)\n")),Object(l.b)("h4",{id:"-comparator"},"\ud83d\udcc4\ud83c\udf9b comparator"),Object(l.b)("p",null,"result comparator"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Comparator public comparator\npublic Comparator getComparator()\n")),Object(l.b)("h4",{id:"-content-2"},"\ud83d\udcdd\ud83c\udf9b content"),Object(l.b)("p",null,"enable/disable retrieval of content info"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public content\npublic boolean isContent()\npublic NutsSearchCommand setContent(enable)\n")),Object(l.b)("h4",{id:"-defaultversions"},"\ud83d\udcdd\ud83c\udf9b defaultVersions"),Object(l.b)("p",null,"default version only filter"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public defaultVersions\npublic Boolean getDefaultVersions()\npublic NutsSearchCommand setDefaultVersions(enable)\n")),Object(l.b)("h4",{id:"-dependencies-1"},"\ud83d\udcdd\ud83c\udf9b dependencies"),Object(l.b)("p",null,"enable/disable dependencies list retrieval"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public dependencies\npublic boolean isDependencies()\npublic NutsSearchCommand setDependencies(enable)\n")),Object(l.b)("h4",{id:"-dependenciestree-1"},"\ud83d\udcdd\ud83c\udf9b dependenciesTree"),Object(l.b)("p",null,"enable/disable dependencies tree retrieval"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public dependenciesTree\npublic boolean isDependenciesTree()\npublic NutsSearchCommand setDependenciesTree(enable)\n")),Object(l.b)("h4",{id:"-dependencyfilter"},"\ud83d\udcdd\ud83c\udf9b dependencyFilter"),Object(l.b)("p",null,"define dependency filter. applicable when using ","{","\\@link #setInlineDependencies(boolean)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public dependencyFilter\npublic NutsDependencyFilter getDependencyFilter()\npublic NutsSearchCommand setDependencyFilter(filter)\n")),Object(l.b)("h4",{id:"-descriptorfilter"},"\ud83d\udcdd\ud83c\udf9b descriptorFilter"),Object(l.b)("p",null,"define descriptor filter."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public descriptorFilter\npublic NutsDescriptorFilter getDescriptorFilter()\npublic NutsSearchCommand setDescriptorFilter(filter)\n")),Object(l.b)("h4",{id:"-distinct"},"\ud83d\udcdd\ud83c\udf9b distinct"),Object(l.b)("p",null,"skip duplicates"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public distinct\npublic boolean isDistinct()\npublic NutsSearchCommand setDistinct(distinct)\n")),Object(l.b)("h4",{id:"-effective-1"},"\ud83d\udcdd\ud83c\udf9b effective"),Object(l.b)("p",null,"enable/disable effective descriptor evaluation"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public effective\npublic boolean isEffective()\npublic NutsSearchCommand setEffective(enable)\n")),Object(l.b)("h4",{id:"-exec"},"\ud83d\udcdd\ud83c\udf9b exec"),Object(l.b)("p",null,"set app filter. if true non lib (app) only are retrieved."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public exec\npublic boolean isExec()\npublic NutsSearchCommand setExec(enable)\n")),Object(l.b)("h4",{id:"-extension"},"\ud83d\udcdd\ud83c\udf9b extension"),Object(l.b)("p",null,"set extensions filter. if true extensions only are retrieved."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public extension\npublic boolean isExtension()\npublic NutsSearchCommand setExtension(enable)\n")),Object(l.b)("h4",{id:"-failfast-2"},"\ud83d\udcdd\ud83c\udf9b failFast"),Object(l.b)("p",null,"set armed (or disarmed) fail safe mode. if true, null replaces\nNutsNotFoundException."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public failFast\npublic boolean isFailFast()\npublic NutsSearchCommand setFailFast(enable)\n")),Object(l.b)("h4",{id:"-fetchstrategy-1"},"\ud83d\udcdd\ud83c\udf9b fetchStrategy"),Object(l.b)("p",null,"set fetch strategy."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public fetchStrategy\npublic NutsFetchStrategy getFetchStrategy()\npublic NutsSearchCommand setFetchStrategy(fetchStrategy)\n")),Object(l.b)("h4",{id:"-idfilter"},"\ud83d\udcdd\ud83c\udf9b idFilter"),Object(l.b)("p",null,"define id filter."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public idFilter\npublic NutsIdFilter getIdFilter()\npublic NutsSearchCommand setIdFilter(filter)\n")),Object(l.b)("h4",{id:"-ids-2"},"\ud83d\udcc4\ud83c\udf9b ids"),Object(l.b)("p",null,"return ids to search for"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public ids\npublic NutsId[] getIds()\n")),Object(l.b)("h4",{id:"-indexed-1"},"\ud83d\udcdd\ud83c\udf9b indexed"),Object(l.b)("p",null,"set index filter.if null index is removed. if false do not consider\nindex. if true, consider index."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public indexed\npublic boolean isIndexed()\npublic NutsSearchCommand setIndexed(enable)\n")),Object(l.b)("h4",{id:"-inlinedependencies"},"\ud83d\udcdd\ud83c\udf9b inlineDependencies"),Object(l.b)("p",null,"enable/disable inlined dependencies list retrieval"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public inlineDependencies\npublic boolean isInlineDependencies()\npublic NutsSearchCommand setInlineDependencies(enable)\n")),Object(l.b)("h4",{id:"-installstatus"},"\ud83d\udcdd\ud83c\udf9b installStatus"),Object(l.b)("p",null,"search for non packages with the given ","{","\\@code installStatus","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public installStatus\npublic NutsInstallStatus getInstallStatus()\npublic NutsSearchCommand setInstallStatus(installStatus)\n")),Object(l.b)("h4",{id:"-latest"},"\ud83d\udcdd\ud83c\udf9b latest"),Object(l.b)("p",null,"if true search must return only latest versions for each artifact id"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public latest\npublic boolean isLatest()\npublic NutsSearchCommand setLatest(enable)\n")),Object(l.b)("h4",{id:"-lib"},"\ud83d\udcdd\ud83c\udf9b lib"),Object(l.b)("p",null,"set lib filter. if true lib (non app) only are retrieved."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public lib\npublic boolean isLib()\npublic NutsSearchCommand setLib(enable)\n")),Object(l.b)("h4",{id:"-location-1"},"\ud83d\udcdd\ud83c\udf9b location"),Object(l.b)("p",null,"set locating where to fetch the artifact. If the location is a folder, a\nnew name will be generated."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public location\npublic Path getLocation()\npublic NutsSearchCommand setLocation(fileOrFolder)\n")),Object(l.b)("h4",{id:"-lockedids-1"},"\ud83d\udcc4\ud83c\udf9b lockedIds"),Object(l.b)("p",null,"return locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public lockedIds\npublic NutsId[] getLockedIds()\n")),Object(l.b)("h4",{id:"-optional-1"},"\ud83d\udcdd\ud83c\udf9b optional"),Object(l.b)("p",null,"set option filter. if null filter is removed. if false only non optional\nwill be retrieved. if true, only optional will be retrieved."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public optional\npublic Boolean getOptional()\npublic NutsSearchCommand setOptional(enable)\n")),Object(l.b)("h4",{id:"-packaging"},"\ud83d\udcc4\ud83c\udf9b packaging"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public packaging\npublic String[] getPackaging()\n")),Object(l.b)("h4",{id:"-printresult"},"\ud83d\udcdd\ud83c\udf9b printResult"),Object(l.b)("p",null,"enable print search result"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public printResult\npublic boolean isPrintResult()\npublic NutsSearchCommand setPrintResult(enable)\n")),Object(l.b)("h4",{id:"-repositories"},"\ud83d\udcc4\ud83c\udf9b repositories"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public repositories\npublic String[] getRepositories()\n")),Object(l.b)("h4",{id:"-repository-2"},"\u270f\ud83c\udf9b repository"),Object(l.b)("p",null,"define repository filter."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsSearchCommand public repository\npublic NutsSearchCommand setRepository(filter)\n")),Object(l.b)("h4",{id:"-repositoryfilter"},"\ud83d\udcdd\ud83c\udf9b repositoryFilter"),Object(l.b)("p",null,"define repository filter."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public repositoryFilter\npublic NutsRepositoryFilter getRepositoryFilter()\npublic NutsSearchCommand setRepositoryFilter(filter)\n")),Object(l.b)("h4",{id:"-resultarchs"},"\ud83d\udcc4\ud83c\udf9b resultArchs"),Object(l.b)("p",null,"return result as archs"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultArchs\npublic NutsResultList getResultArchs()\n")),Object(l.b)("h4",{id:"-resultclassloader"},"\ud83d\udcc4\ud83c\udf9b resultClassLoader"),Object(l.b)("p",null,"execute query and return result as class loader"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] ClassLoader public resultClassLoader\npublic ClassLoader getResultClassLoader()\n")),Object(l.b)("h4",{id:"-resultclasspath"},"\ud83d\udcc4\ud83c\udf9b resultClassPath"),Object(l.b)("p",null,"execute query and return result as class path string"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public resultClassPath\npublic String getResultClassPath()\n")),Object(l.b)("h4",{id:"-resultdefinitions"},"\ud83d\udcc4\ud83c\udf9b resultDefinitions"),Object(l.b)("p",null,"execute query and return result as definitions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultDefinitions\npublic NutsResultList getResultDefinitions()\n")),Object(l.b)("h4",{id:"-resultexecutionentries"},"\ud83d\udcc4\ud83c\udf9b resultExecutionEntries"),Object(l.b)("p",null,"return result as execution entries"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultExecutionEntries\npublic NutsResultList getResultExecutionEntries()\n")),Object(l.b)("h4",{id:"-resultids"},"\ud83d\udcc4\ud83c\udf9b resultIds"),Object(l.b)("p",null,"execute query and return result as ids"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultIds\npublic NutsResultList getResultIds()\n")),Object(l.b)("h4",{id:"-resultinstalldates"},"\ud83d\udcc4\ud83c\udf9b resultInstallDates"),Object(l.b)("p",null,"execute query and return install dates"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultInstallDates\npublic NutsResultList getResultInstallDates()\n")),Object(l.b)("h4",{id:"-resultinstallfolders"},"\ud83d\udcc4\ud83c\udf9b resultInstallFolders"),Object(l.b)("p",null,"execute query and return install folders"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultInstallFolders\npublic NutsResultList getResultInstallFolders()\n")),Object(l.b)("h4",{id:"-resultinstallusers"},"\ud83d\udcc4\ud83c\udf9b resultInstallUsers"),Object(l.b)("p",null,"execute query and return install users"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultInstallUsers\npublic NutsResultList getResultInstallUsers()\n")),Object(l.b)("h4",{id:"-resultnames"},"\ud83d\udcc4\ud83c\udf9b resultNames"),Object(l.b)("p",null,"return result as artifact names"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultNames\npublic NutsResultList getResultNames()\n")),Object(l.b)("h4",{id:"-resultnutspath"},"\ud83d\udcc4\ud83c\udf9b resultNutsPath"),Object(l.b)("p",null,"execute query and return result as nuts path string"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public resultNutsPath\npublic String getResultNutsPath()\n")),Object(l.b)("h4",{id:"-resultosdists"},"\ud83d\udcc4\ud83c\udf9b resultOsdists"),Object(l.b)("p",null,"return result as osdist names"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultOsdists\npublic NutsResultList getResultOsdists()\n")),Object(l.b)("h4",{id:"-resultoses"},"\ud83d\udcc4\ud83c\udf9b resultOses"),Object(l.b)("p",null,"return result as operating system names"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultOses\npublic NutsResultList getResultOses()\n")),Object(l.b)("h4",{id:"-resultpackagings"},"\ud83d\udcc4\ud83c\udf9b resultPackagings"),Object(l.b)("p",null,"return result as packagings"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultPackagings\npublic NutsResultList getResultPackagings()\n")),Object(l.b)("h4",{id:"-resultpathnames"},"\ud83d\udcc4\ud83c\udf9b resultPathNames"),Object(l.b)("p",null,"return result as content path names"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultPathNames\npublic NutsResultList getResultPathNames()\n")),Object(l.b)("h4",{id:"-resultpaths"},"\ud83d\udcc4\ud83c\udf9b resultPaths"),Object(l.b)("p",null,"return result as content paths"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultPaths\npublic NutsResultList getResultPaths()\n")),Object(l.b)("h4",{id:"-resultplatforms"},"\ud83d\udcc4\ud83c\udf9b resultPlatforms"),Object(l.b)("p",null,"return result as platforms"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsResultList public resultPlatforms\npublic NutsResultList getResultPlatforms()\n")),Object(l.b)("h4",{id:"-runtime"},"\ud83d\udcdd\ud83c\udf9b runtime"),Object(l.b)("p",null,"add runtime id to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public runtime\npublic boolean isRuntime()\npublic NutsSearchCommand setRuntime(enable)\n")),Object(l.b)("h4",{id:"-scope-1"},"\ud83d\udcc4\ud83c\udf9b scope"),Object(l.b)("p",null,"scope filter filter. applicable with ","{","\\@link #setInlineDependencies(boolean)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Set public scope\npublic Set getScope()\n")),Object(l.b)("h4",{id:"-scripts"},"\ud83d\udcc4\ud83c\udf9b scripts"),Object(l.b)("p",null,"return javascript filters"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public scripts\npublic String[] getScripts()\n")),Object(l.b)("h4",{id:"-session-5"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsSearchCommand public session\npublic NutsSearchCommand setSession(session)\n")),Object(l.b)("h4",{id:"-sorted"},"\ud83d\udcdd\ud83c\udf9b sorted"),Object(l.b)("p",null,"sort result"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public sorted\npublic boolean isSorted()\npublic NutsSearchCommand setSorted(sort)\n")),Object(l.b)("h4",{id:"-targetapiversion"},"\ud83d\udcdd\ud83c\udf9b targetApiVersion"),Object(l.b)("p",null,"set target api version"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public targetApiVersion\npublic String getTargetApiVersion()\npublic NutsSearchCommand setTargetApiVersion(targetApiVersion)\n")),Object(l.b)("h4",{id:"-transitive-1"},"\ud83d\udcdd\ud83c\udf9b transitive"),Object(l.b)("p",null,"set or unset transitive mode"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsSearchCommand public transitive\npublic boolean isTransitive()\npublic NutsSearchCommand setTransitive(enable)\n")),Object(l.b)("h3",{id:"-instance-methods-8"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addarchvalue"},"\u2699 addArch(value)"),Object(l.b)("p",null,"add arch to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addArch(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : arch to search for")),Object(l.b)("h4",{id:"-addarchsvalues"},"\u2699 addArchs(values)"),Object(l.b)("p",null,"add archs to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addArchs(Collection values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection values")," : arch to search for")),Object(l.b)("h4",{id:"-addarchsvalues-1"},"\u2699 addArchs(values)"),Object(l.b)("p",null,"add archs to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addArchs(String[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] values")," : arch to search for")),Object(l.b)("h4",{id:"-addidid-4"},"\u2699 addId(id)"),Object(l.b)("p",null,"add id to search."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to search")),Object(l.b)("h4",{id:"-addidid-5"},"\u2699 addId(id)"),Object(l.b)("p",null,"add id to search."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to search")),Object(l.b)("h4",{id:"-addidsids-2"},"\u2699 addIds(ids)"),Object(l.b)("p",null,"add ids to search."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addIds(String[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] ids")," : id to search")),Object(l.b)("h4",{id:"-addidsids-3"},"\u2699 addIds(ids)"),Object(l.b)("p",null,"add ids to search."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addIds(NutsId[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] ids")," : ids to search")),Object(l.b)("h4",{id:"-addlockedidid-2"},"\u2699 addLockedId(id)"),Object(l.b)("p",null,"add locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addLockedId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to lock")),Object(l.b)("h4",{id:"-addlockedidid-3"},"\u2699 addLockedId(id)"),Object(l.b)("p",null,"add locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addLockedId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to lock")),Object(l.b)("h4",{id:"-addlockedidsvalues-2"},"\u2699 addLockedIds(values)"),Object(l.b)("p",null,"define locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addLockedIds(String[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] values")," : ids")),Object(l.b)("h4",{id:"-addlockedidsvalues-3"},"\u2699 addLockedIds(values)"),Object(l.b)("p",null,"define locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addLockedIds(NutsId[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] values")," : ids")),Object(l.b)("h4",{id:"-addpackagingvalue"},"\u2699 addPackaging(value)"),Object(l.b)("p",null,"add packaging to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addPackaging(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : packaging to search for")),Object(l.b)("h4",{id:"-addpackagingsvalues"},"\u2699 addPackagings(values)"),Object(l.b)("p",null,"add packagings to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addPackagings(Collection values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection values")," : packagings to search for")),Object(l.b)("h4",{id:"-addpackagingsvalues-1"},"\u2699 addPackagings(values)"),Object(l.b)("p",null,"add packagings to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addPackagings(String[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] values")," : packagings to search for")),Object(l.b)("h4",{id:"-addrepositoriesvalues-1"},"\u2699 addRepositories(values)"),Object(l.b)("p",null,"add repositories to search into"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addRepositories(Collection values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection values")," : repositories to search into")),Object(l.b)("h4",{id:"-addrepositoriesvalues-2"},"\u2699 addRepositories(values)"),Object(l.b)("p",null,"add repositories to search into"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addRepositories(String[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] values")," : repositories to search into")),Object(l.b)("h4",{id:"-addrepositoryvalue-1"},"\u2699 addRepository(value)"),Object(l.b)("p",null,"add repository to search into"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addRepository(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : repository to search into")),Object(l.b)("h4",{id:"-addscopescope-2"},"\u2699 addScope(scope)"),Object(l.b)("p",null,"add dependency scope filter. Only relevant with ","{","\\@link #setDependencies(boolean)","}","\nand ","{","\\@link #setDependenciesTree(boolean)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addScope(NutsDependencyScope scope)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScope scope")," : scope filter")),Object(l.b)("h4",{id:"-addscopescope-3"},"\u2699 addScope(scope)"),Object(l.b)("p",null,"add dependency scope filter. Only relevant with ","{","\\@link #setDependencies(boolean)","}","\nand ","{","\\@link #setDependenciesTree(boolean)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addScope(NutsDependencyScopePattern scope)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScopePattern scope")," : scope filter")),Object(l.b)("h4",{id:"-addscopesscope-2"},"\u2699 addScopes(scope)"),Object(l.b)("p",null,"add dependency scope filter. Only relevant with ","{","\\@link #setDependencies(boolean)","}","\nand ","{","\\@link #setDependenciesTree(boolean)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addScopes(NutsDependencyScope[] scope)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScope[] scope")," : scope filter")),Object(l.b)("h4",{id:"-addscopesscope-3"},"\u2699 addScopes(scope)"),Object(l.b)("p",null,"add dependency scope filter. Only relevant with ","{","\\@link #setDependencies(boolean)","}","\nand ","{","\\@link #setDependenciesTree(boolean)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addScopes(NutsDependencyScopePattern[] scope)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScopePattern[] scope")," : scope filter")),Object(l.b)("h4",{id:"-addscriptvalue"},"\u2699 addScript(value)"),Object(l.b)("p",null,"add javascript filter."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addScript(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : javascript filter")),Object(l.b)("h4",{id:"-addscriptsvalue"},"\u2699 addScripts(value)"),Object(l.b)("p",null,"add javascript filter."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addScripts(Collection value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection value")," : javascript filter")),Object(l.b)("h4",{id:"-addscriptsvalue-1"},"\u2699 addScripts(value)"),Object(l.b)("p",null,"add javascript filter."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand addScripts(String[] value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] value")," : javascript filter")),Object(l.b)("h4",{id:"-cleararchs"},"\u2699 clearArchs()"),Object(l.b)("p",null,"reset searched for archs"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand clearArchs()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-clearids-2"},"\u2699 clearIds()"),Object(l.b)("p",null,"reset ids to search for"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand clearIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-clearlockedids-1"},"\u2699 clearLockedIds()"),Object(l.b)("p",null,"reset locked ids"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand clearLockedIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-clearpackagings"},"\u2699 clearPackagings()"),Object(l.b)("p",null,"reset packagings to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand clearPackagings()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-clearrepositories-1"},"\u2699 clearRepositories()"),Object(l.b)("p",null,"reset repositories to search into"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand clearRepositories()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-clearscopes-1"},"\u2699 clearScopes()"),Object(l.b)("p",null,"remove all dependency scope filters."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand clearScopes()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-clearscripts"},"\u2699 clearScripts()"),Object(l.b)("p",null,"remove all javascript filters"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand clearScripts()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-configureskipunsupported-args-4"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...)\n","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-copy-2"},"\u2699 copy()"),Object(l.b)("p",null,"create new instance copy of this"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand copy()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-copyfromother-2"},"\u2699 copyFrom(other)"),Object(l.b)("p",null,"copy content from given ","{","\\@code other","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand copyFrom(NutsSearchCommand other)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSearchCommand other")," : other instance")),Object(l.b)("h4",{id:"-copyfromother-3"},"\u2699 copyFrom(other)"),Object(l.b)("p",null,"copy content from given ","{","\\@code other","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand copyFrom(NutsFetchCommand other)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsFetchCommand other")," : other instance")),Object(l.b)("h4",{id:"-copysession-4"},"\u2699 copySession()"),Object(l.b)("p",null,"copy session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand copySession()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-getresultclassloaderparent"},"\u2699 getResultClassLoader(parent)"),Object(l.b)("p",null,"execute query and return result as class loader"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"ClassLoader getResultClassLoader(ClassLoader parent)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":ClassLoader"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"ClassLoader parent")," : parent class loader")),Object(l.b)("h4",{id:"-getresultstorelocationslocation"},"\u2699 getResultStoreLocations(location)"),Object(l.b)("p",null,"execute query and return store location path"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsResultList getResultStoreLocations(NutsStoreLocation location)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsResultList"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsStoreLocation location")," : location type to return")),Object(l.b)("h4",{id:"-getresultstringscolumns"},"\u2699 getResultStrings(columns)"),Object(l.b)("p",null,"execute query and return the selected columns.\nSupported columns are :\n\\","\n\\","all\\","\n\\","long\\","\n\\","status\\","\n\\","install-date\\","\n\\","install-user\\","\n\\","install-folder\\","\n\\","repository\\","\n\\","repository-id\\","\n\\","id\\","\n\\","name\\","\n\\","arch\\","\n\\","packaging\\","\n\\","platform\\","\n\\","os\\","\n\\","osdist\\","\n\\","exec-entry\\","\n\\","file-name\\","\n\\","file\\","\n\\","var-location\\","\n\\","temp-folder\\","\n\\","config-folder\\","\n\\","lib-folder\\","\n\\","log-folder\\","\n\\","cache-folder\\","\n\\","apps-folder\\","\n\\"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsResultList getResultStrings(String[] columns)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsResultList"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] columns")," : columns to return")),Object(l.b)("h4",{id:"-included"},"\u2699 included()"),Object(l.b)("p",null,"search for included (in other installations as dependency) packages"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand included()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-installed-2"},"\u2699 installed()"),Object(l.b)("p",null,"search for non installed packages"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand installed()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-installedorincluded"},"\u2699 installedOrIncluded()"),Object(l.b)("p",null,"search for non installed or included (in other installations as dependency) packages"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand installedOrIncluded()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-notinstalled-1"},"\u2699 notInstalled()"),Object(l.b)("p",null,"search for non installed packages"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand notInstalled()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-removearchvalue"},"\u2699 removeArch(value)"),Object(l.b)("p",null,"remove arch to search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeArch(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : arch to remove")),Object(l.b)("h4",{id:"-removeidid-4"},"\u2699 removeId(id)"),Object(l.b)("p",null,"remove id to search."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to search")),Object(l.b)("h4",{id:"-removeidid-5"},"\u2699 removeId(id)"),Object(l.b)("p",null,"remove id to search."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to search")),Object(l.b)("h4",{id:"-removelockedidid-2"},"\u2699 removeLockedId(id)"),Object(l.b)("p",null,"remove locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeLockedId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to unlock")),Object(l.b)("h4",{id:"-removelockedidid-3"},"\u2699 removeLockedId(id)"),Object(l.b)("p",null,"remove locked ids to prevent them to be updated or the force other ids to use them (the installed version)."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeLockedId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : id to unlock")),Object(l.b)("h4",{id:"-removepackagingvalue"},"\u2699 removePackaging(value)"),Object(l.b)("p",null,"remove packaging from search"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removePackaging(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : packaging to remove")),Object(l.b)("h4",{id:"-removerepositoryvalue-1"},"\u2699 removeRepository(value)"),Object(l.b)("p",null,"add repository to search into"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeRepository(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : repository to search into")),Object(l.b)("h4",{id:"-removescopescope-2"},"\u2699 removeScope(scope)"),Object(l.b)("p",null,"add dependency scope filter. Only relevant with ","{","\\@link #setDependencies(boolean)","}","\nand ","{","\\@link #setDependenciesTree(boolean)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeScope(NutsDependencyScope scope)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScope scope")," : scope filter")),Object(l.b)("h4",{id:"-removescopescope-3"},"\u2699 removeScope(scope)"),Object(l.b)("p",null,"remove dependency scope filter. Only relevant with ","{","\\@link #setDependencies(boolean)","}","\nand ","{","\\@link #setDependenciesTree(boolean)","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeScope(NutsDependencyScopePattern scope)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScopePattern scope")," : scope filter")),Object(l.b)("h4",{id:"-removescriptvalue"},"\u2699 removeScript(value)"),Object(l.b)("p",null,"remove javascript filter."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand removeScript(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : javascript filter")),Object(l.b)("h4",{id:"-run-4"},"\u2699 run()"),Object(l.b)("p",null,"execute the command and return this instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-setanywhere-1"},"\u2699 setAnyWhere()"),Object(l.b)("p",null,"all artifacts (local and remote). If local result found will any way\nfetch remote."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand setAnyWhere()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-setdefaultlocation-1"},"\u2699 setDefaultLocation()"),Object(l.b)("p",null,"unset location to store to fetched id and fall back to default location."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand setDefaultLocation()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-setoffline-1"},"\u2699 setOffline()"),Object(l.b)("p",null,"local only (installed or not)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand setOffline()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-setonline-1"},"\u2699 setOnline()"),Object(l.b)("p",null,"local or remote. If local result found will not fetch remote."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand setOnline()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-setremote-1"},"\u2699 setRemote()"),Object(l.b)("p",null,"remote only"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand setRemote()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("h4",{id:"-sortcomparator"},"\u2699 sort(comparator)"),Object(l.b)("p",null,"sort results. Comparator should handle types of the result."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsSearchCommand sort(Comparator comparator)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsSearchCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Comparator comparator")," : result comparator")),Object(l.b)("h4",{id:"-tofetch"},"\u2699 toFetch()"),Object(l.b)("p",null,"create fetch command initialized with this instance options."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFetchCommand toFetch()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFetchCommand"),Object(l.b)("h2",{id:"-nutsundeploycommand"},"\u2615 NutsUndeployCommand"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsUndeployCommand\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-7"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-ids-3"},"\ud83d\udcc4\ud83c\udf9b ids"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public ids\npublic NutsId[] getIds()\n")),Object(l.b)("h4",{id:"-offline-3"},"\ud83d\udcc4\ud83c\udf9b offline"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public offline\npublic boolean isOffline()\n")),Object(l.b)("h4",{id:"-repository-3"},"\ud83d\udcc4\ud83c\udf9b repository"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public repository\npublic String getRepository()\n")),Object(l.b)("h4",{id:"-session-6"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsUndeployCommand public session\npublic NutsUndeployCommand setSession(session)\n")),Object(l.b)("h4",{id:"-transitive-2"},"\ud83d\udcc4\ud83c\udf9b transitive"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public transitive\npublic boolean isTransitive()\n")),Object(l.b)("h3",{id:"-instance-methods-9"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addidid-6"},"\u2699 addId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand addId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(l.b)("h4",{id:"-addidid-7"},"\u2699 addId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand addId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : ")),Object(l.b)("h4",{id:"-addidsvalue"},"\u2699 addIds(value)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand addIds(NutsId[] value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] value")," : ")),Object(l.b)("h4",{id:"-addidsvalues-2"},"\u2699 addIds(values)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand addIds(String[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] values")," : ")),Object(l.b)("h4",{id:"-clearids-3"},"\u2699 clearIds()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand clearIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("h4",{id:"-configureskipunsupported-args-5"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-copysession-5"},"\u2699 copySession()"),Object(l.b)("p",null,"copy session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand copySession()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("h4",{id:"-run-5"},"\u2699 run()"),Object(l.b)("p",null,"execute the command and return this instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("h4",{id:"-setofflineoffline"},"\u2699 setOffline(offline)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand setOffline(boolean offline)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean offline")," : ")),Object(l.b)("h4",{id:"-setrepositoryrepository"},"\u2699 setRepository(repository)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand setRepository(String repository)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String repository")," : ")),Object(l.b)("h4",{id:"-settransitivetransitive"},"\u2699 setTransitive(transitive)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUndeployCommand setTransitive(boolean transitive)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUndeployCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean transitive")," : ")),Object(l.b)("h2",{id:"-nutsuninstallcommand"},"\u2615 NutsUninstallCommand"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsUninstallCommand\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-8"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-args-1"},"\ud83d\udcc4\ud83c\udf9b args"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public args\npublic String[] getArgs()\n")),Object(l.b)("h4",{id:"-erase-2"},"\ud83d\udcc4\ud83c\udf9b erase"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public erase\npublic boolean isErase()\n")),Object(l.b)("h4",{id:"-ids-4"},"\ud83d\udcc4\ud83c\udf9b ids"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public ids\npublic NutsId[] getIds()\n")),Object(l.b)("h4",{id:"-session-7"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsUninstallCommand public session\npublic NutsUninstallCommand setSession(session)\n")),Object(l.b)("h3",{id:"-instance-methods-10"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addargarg-1"},"\u2699 addArg(arg)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand addArg(String arg)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String arg")," : ")),Object(l.b)("h4",{id:"-addargsargs-2"},"\u2699 addArgs(args)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand addArgs(Collection args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection args")," : ")),Object(l.b)("h4",{id:"-addargsargs-3"},"\u2699 addArgs(args)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand addArgs(String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : ")),Object(l.b)("h4",{id:"-addidid-8"},"\u2699 addId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand addId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(l.b)("h4",{id:"-addidid-9"},"\u2699 addId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand addId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : ")),Object(l.b)("h4",{id:"-addidsids-4"},"\u2699 addIds(ids)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand addIds(NutsId[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] ids")," : ")),Object(l.b)("h4",{id:"-addidsids-5"},"\u2699 addIds(ids)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand addIds(String[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] ids")," : ")),Object(l.b)("h4",{id:"-clearargs-1"},"\u2699 clearArgs()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand clearArgs()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("h4",{id:"-clearids-4"},"\u2699 clearIds()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand clearIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("h4",{id:"-configureskipunsupported-args-6"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-copysession-6"},"\u2699 copySession()"),Object(l.b)("p",null,"copy session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand copySession()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("h4",{id:"-removeidid-6"},"\u2699 removeId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand removeId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(l.b)("h4",{id:"-removeidid-7"},"\u2699 removeId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand removeId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : ")),Object(l.b)("h4",{id:"-run-6"},"\u2699 run()"),Object(l.b)("p",null,"execute the command and return this instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("h4",{id:"-seteraseerase-1"},"\u2699 setErase(erase)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUninstallCommand setErase(boolean erase)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUninstallCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean erase")," : ")),Object(l.b)("h2",{id:"-nutsupdatecommand"},"\u2615 NutsUpdateCommand"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsUpdateCommand\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-9"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-api"},"\ud83d\udcc4\ud83c\udf9b api"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public api\npublic boolean isApi()\n")),Object(l.b)("h4",{id:"-apiversion"},"\ud83d\udcdd\ud83c\udf9b apiVersion"),Object(l.b)("p",null,"set target api version required for updating other artifacts"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsUpdateCommand public apiVersion\npublic String getApiVersion()\npublic NutsUpdateCommand setApiVersion(value)\n")),Object(l.b)("h4",{id:"-args-2"},"\ud83d\udcc4\ud83c\udf9b args"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public args\npublic String[] getArgs()\n")),Object(l.b)("h4",{id:"-companions"},"\ud83d\udcc4\ud83c\udf9b companions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public companions\npublic boolean isCompanions()\n")),Object(l.b)("h4",{id:"-enableinstall"},"\ud83d\udcc4\ud83c\udf9b enableInstall"),Object(l.b)("p",null,"if true enable installing new artifacts when an update is request for\nnon installed packages."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public enableInstall\npublic boolean isEnableInstall()\n")),Object(l.b)("h4",{id:"-extensions"},"\ud83d\udcc4\ud83c\udf9b extensions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public extensions\npublic boolean isExtensions()\n")),Object(l.b)("h4",{id:"-ids-5"},"\ud83d\udcc4\ud83c\udf9b ids"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public ids\npublic NutsId[] getIds()\n")),Object(l.b)("h4",{id:"-installed-3"},"\ud83d\udcc4\ud83c\udf9b installed"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public installed\npublic boolean isInstalled()\n")),Object(l.b)("h4",{id:"-lockedids-2"},"\ud83d\udcc4\ud83c\udf9b lockedIds"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public lockedIds\npublic NutsId[] getLockedIds()\n")),Object(l.b)("h4",{id:"-optional-2"},"\ud83d\udcdd\ud83c\udf9b optional"),Object(l.b)("p",null,"when true include optional dependencies"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsUpdateCommand public optional\npublic boolean isOptional()\npublic NutsUpdateCommand setOptional(includeOptional)\n")),Object(l.b)("h4",{id:"-result-2"},"\ud83d\udcc4\ud83c\udf9b result"),Object(l.b)("p",null,"execute update check (if not already performed) then return result"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspaceUpdateResult public result\npublic NutsWorkspaceUpdateResult getResult()\n")),Object(l.b)("h4",{id:"-resultcount"},"\ud83d\udcc4\ud83c\udf9b resultCount"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public resultCount\npublic int getResultCount()\n")),Object(l.b)("h4",{id:"-runtime-1"},"\ud83d\udcc4\ud83c\udf9b runtime"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public runtime\npublic boolean isRuntime()\n")),Object(l.b)("h4",{id:"-session-8"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsUpdateCommand public session\npublic NutsUpdateCommand setSession(session)\n")),Object(l.b)("h3",{id:"-instance-methods-11"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addargarg-2"},"\u2699 addArg(arg)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addArg(String arg)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String arg")," : ")),Object(l.b)("h4",{id:"-addargsargs-4"},"\u2699 addArgs(args)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addArgs(Collection args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection args")," : ")),Object(l.b)("h4",{id:"-addargsargs-5"},"\u2699 addArgs(args)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addArgs(String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : ")),Object(l.b)("h4",{id:"-addidid-10"},"\u2699 addId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(l.b)("h4",{id:"-addidid-11"},"\u2699 addId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : ")),Object(l.b)("h4",{id:"-addidsids-6"},"\u2699 addIds(ids)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addIds(NutsId[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] ids")," : ")),Object(l.b)("h4",{id:"-addidsids-7"},"\u2699 addIds(ids)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addIds(String[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] ids")," : ")),Object(l.b)("h4",{id:"-addlockedidid-4"},"\u2699 addLockedId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addLockedId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(l.b)("h4",{id:"-addlockedidid-5"},"\u2699 addLockedId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addLockedId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : ")),Object(l.b)("h4",{id:"-addlockedidsids"},"\u2699 addLockedIds(ids)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addLockedIds(NutsId[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] ids")," : ")),Object(l.b)("h4",{id:"-addlockedidsids-1"},"\u2699 addLockedIds(ids)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addLockedIds(String[] ids)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] ids")," : ")),Object(l.b)("h4",{id:"-addscopescope-4"},"\u2699 addScope(scope)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addScope(NutsDependencyScope scope)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScope scope")," : ")),Object(l.b)("h4",{id:"-addscopesscopes"},"\u2699 addScopes(scopes)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addScopes(Collection scopes)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection scopes")," : ")),Object(l.b)("h4",{id:"-addscopesscopes-1"},"\u2699 addScopes(scopes)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand addScopes(NutsDependencyScope[] scopes)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScope[] scopes")," : ")),Object(l.b)("h4",{id:"-checkupdates"},"\u2699 checkUpdates()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand checkUpdates()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-checkupdatesapplyupdates"},"\u2699 checkUpdates(applyUpdates)"),Object(l.b)("p",null,"check for updates."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand checkUpdates(boolean applyUpdates)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean applyUpdates")," : if true updates will be applied")),Object(l.b)("h4",{id:"-clearargs-2"},"\u2699 clearArgs()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand clearArgs()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-clearids-5"},"\u2699 clearIds()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand clearIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-clearlockedids-2"},"\u2699 clearLockedIds()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand clearLockedIds()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-clearscopes-2"},"\u2699 clearScopes()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand clearScopes()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-companions-1"},"\u2699 companions()"),Object(l.b)("p",null,"update workspace companion versions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand companions()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-companionsenable"},"\u2699 companions(enable)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand companions(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : ")),Object(l.b)("h4",{id:"-configureskipunsupported-args-7"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-copysession-7"},"\u2699 copySession()"),Object(l.b)("p",null,"copy session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand copySession()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-installed-4"},"\u2699 installed()"),Object(l.b)("p",null,"update installed artifacts"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand installed()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-installedenable"},"\u2699 installed(enable)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand installed(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : ")),Object(l.b)("h4",{id:"-lockedidid-2"},"\u2699 lockedId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand lockedId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(l.b)("h4",{id:"-lockedidid-3"},"\u2699 lockedId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand lockedId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : ")),Object(l.b)("h4",{id:"-lockedidsid"},"\u2699 lockedIds(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand lockedIds(NutsId[] id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId[] id")," : ")),Object(l.b)("h4",{id:"-lockedidsid-1"},"\u2699 lockedIds(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand lockedIds(String[] id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] id")," : ")),Object(l.b)("h4",{id:"-removeidid-8"},"\u2699 removeId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand removeId(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : ")),Object(l.b)("h4",{id:"-removeidid-9"},"\u2699 removeId(id)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand removeId(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : ")),Object(l.b)("h4",{id:"-run-7"},"\u2699 run()"),Object(l.b)("p",null,"execute the command and return this instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-runtime-2"},"\u2699 runtime()"),Object(l.b)("p",null,"update workspace runtime version"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand runtime()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-runtimeenable"},"\u2699 runtime(enable)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand runtime(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : ")),Object(l.b)("h4",{id:"-scopescope"},"\u2699 scope(scope)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand scope(NutsDependencyScope scope)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScope scope")," : ")),Object(l.b)("h4",{id:"-scopesscopes"},"\u2699 scopes(scopes)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand scopes(Collection scopes)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Collection scopes")," : ")),Object(l.b)("h4",{id:"-scopesscopes-1"},"\u2699 scopes(scopes)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand scopes(NutsDependencyScope[] scopes)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDependencyScope[] scopes")," : ")),Object(l.b)("h4",{id:"-setall"},"\u2699 setAll()"),Object(l.b)("p",null,"update api, runtime, extensions, companions and all installed artifacts"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand setAll()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-setapienable"},"\u2699 setApi(enable)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand setApi(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : ")),Object(l.b)("h4",{id:"-setcompanionsupdatecompanions"},"\u2699 setCompanions(updateCompanions)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand setCompanions(boolean updateCompanions)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean updateCompanions")," : ")),Object(l.b)("h4",{id:"-setenableinstallenableinstall"},"\u2699 setEnableInstall(enableInstall)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand setEnableInstall(boolean enableInstall)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enableInstall")," : ")),Object(l.b)("h4",{id:"-setextensionsenable"},"\u2699 setExtensions(enable)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand setExtensions(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : ")),Object(l.b)("h4",{id:"-setinstalledenable"},"\u2699 setInstalled(enable)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand setInstalled(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : ")),Object(l.b)("h4",{id:"-setruntimeenable"},"\u2699 setRuntime(enable)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand setRuntime(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : ")),Object(l.b)("h4",{id:"-update"},"\u2699 update()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand update()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h4",{id:"-workspace"},"\u2699 workspace()"),Object(l.b)("p",null,"update api, runtime, extensions and companions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateCommand workspace()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsUpdateCommand"),Object(l.b)("h2",{id:"-nutsupdateoptions"},"\u2615 NutsUpdateOptions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsUpdateOptions\n")),Object(l.b)("p",null," Generic Add options"),Object(l.b)("p",null," author vpc\n\\@since 0.5.7\n\\@category Commands"),Object(l.b)("h3",{id:"\ud83e\ude84-constructors-1"},"\ud83e\ude84 Constructors"),Object(l.b)("h4",{id:"\ud83e\ude84-nutsupdateoptions"},"\ud83e\ude84 NutsUpdateOptions()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsUpdateOptions()\n")),Object(l.b)("h3",{id:"-instance-properties-10"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-session-9"},"\ud83d\udcdd\ud83c\udf9b session"),Object(l.b)("p",null,"update current session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsUpdateOptions public session\npublic NutsSession getSession()\npublic NutsUpdateOptions setSession(session)\n")),Object(l.b)("h2",{id:"-nutsupdateresult"},"\u2615 NutsUpdateResult"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsUpdateResult\n")),Object(l.b)("p",null," component update result"),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-11"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-available"},"\ud83d\udcc4\ud83c\udf9b available"),Object(l.b)("p",null,"return available definition or null"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDefinition public available\npublic NutsDefinition getAvailable()\n")),Object(l.b)("h4",{id:"-dependencies-2"},"\ud83d\udcc4\ud83c\udf9b dependencies"),Object(l.b)("p",null,"return update dependencies"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId[] public dependencies\npublic NutsId[] getDependencies()\n")),Object(l.b)("h4",{id:"-id-4"},"\ud83d\udcc4\ud83c\udf9b id"),Object(l.b)("p",null,"artifact id"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public id\npublic NutsId getId()\n")),Object(l.b)("h4",{id:"-local-1"},"\ud83d\udcc4\ud83c\udf9b local"),Object(l.b)("p",null,"return installed/local definition or null"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsDefinition public local\npublic NutsDefinition getLocal()\n")),Object(l.b)("h4",{id:"-updateapplied"},"\ud83d\udcc4\ud83c\udf9b updateApplied"),Object(l.b)("p",null,"return true if the update was applied"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updateApplied\npublic boolean isUpdateApplied()\n")),Object(l.b)("h4",{id:"-updateavailable"},"\ud83d\udcc4\ud83c\udf9b updateAvailable"),Object(l.b)("p",null,"return true if any update is available.\nequivalent to ","{","\\@code isUpdateVersionAvailable() || isUpdateStatusAvailable()","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updateAvailable\npublic boolean isUpdateAvailable()\n")),Object(l.b)("h4",{id:"-updateforced"},"\ud83d\udcc4\ud83c\udf9b updateForced"),Object(l.b)("p",null,"return true if the update was forced"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updateForced\npublic boolean isUpdateForced()\n")),Object(l.b)("h4",{id:"-updatestatusavailable"},"\ud83d\udcc4\ud83c\udf9b updateStatusAvailable"),Object(l.b)("p",null,"return true if artifact has no version update\nbut still have status (default) to be updated"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updateStatusAvailable\npublic boolean isUpdateStatusAvailable()\n")),Object(l.b)("h4",{id:"-updateversionavailable"},"\ud83d\udcc4\ud83c\udf9b updateVersionAvailable"),Object(l.b)("p",null,"return true if artifact has newer available version"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updateVersionAvailable\npublic boolean isUpdateVersionAvailable()\n")),Object(l.b)("h2",{id:"-nutsworkspacecommand"},"\u2615 NutsWorkspaceCommand"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceCommand\n")),Object(l.b)("p",null," Generic Command for usual workspace operations. All Command classes have a\n\\'run\\' method to perform the operation."),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-12"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-session-10"},"\ud83d\udcdd\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsWorkspaceCommand public session\npublic NutsSession getSession()\npublic NutsWorkspaceCommand setSession(session)\n")),Object(l.b)("h3",{id:"-instance-methods-12"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-configureskipunsupported-args-8"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceCommand configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceCommand"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-copysession-8"},"\u2699 copySession()"),Object(l.b)("p",null,"copy session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceCommand copySession()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceCommand"),Object(l.b)("h4",{id:"-run-8"},"\u2699 run()"),Object(l.b)("p",null,"execute the command and return this instance"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceCommand run()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceCommand"),Object(l.b)("h2",{id:"-nutsworkspaceupdateresult"},"\u2615 NutsWorkspaceUpdateResult"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsWorkspaceUpdateResult\n")),Object(l.b)("p",null," Created by vpc on 6/23/17."),Object(l.b)("p",null," \\@since 0.5.5\n\\@category Commands"),Object(l.b)("h3",{id:"-instance-properties-13"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-allresults"},"\ud83d\udcc4\ud83c\udf9b allResults"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsUpdateResult[] public allResults\npublic NutsUpdateResult[] getAllResults()\n")),Object(l.b)("h4",{id:"-allupdates"},"\ud83d\udcc4\ud83c\udf9b allUpdates"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsUpdateResult[] public allUpdates\npublic NutsUpdateResult[] getAllUpdates()\n")),Object(l.b)("h4",{id:"-api-1"},"\ud83d\udcc4\ud83c\udf9b api"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsUpdateResult public api\npublic NutsUpdateResult getApi()\n")),Object(l.b)("h4",{id:"-artifacts"},"\ud83d\udcc4\ud83c\udf9b artifacts"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsUpdateResult[] public artifacts\npublic NutsUpdateResult[] getArtifacts()\n")),Object(l.b)("h4",{id:"-extensions-1"},"\ud83d\udcc4\ud83c\udf9b extensions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsUpdateResult[] public extensions\npublic NutsUpdateResult[] getExtensions()\n")),Object(l.b)("h4",{id:"-runtime-3"},"\ud83d\udcc4\ud83c\udf9b runtime"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsUpdateResult public runtime\npublic NutsUpdateResult getRuntime()\n")),Object(l.b)("h4",{id:"-updatableapi"},"\ud83d\udcc4\ud83c\udf9b updatableApi"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updatableApi\npublic boolean isUpdatableApi()\n")),Object(l.b)("h4",{id:"-updatableextensions"},"\ud83d\udcc4\ud83c\udf9b updatableExtensions"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updatableExtensions\npublic boolean isUpdatableExtensions()\n")),Object(l.b)("h4",{id:"-updatableruntime"},"\ud83d\udcc4\ud83c\udf9b updatableRuntime"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updatableRuntime\npublic boolean isUpdatableRuntime()\n")),Object(l.b)("h4",{id:"-updateavailable-1"},"\ud83d\udcc4\ud83c\udf9b updateAvailable"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public updateAvailable\npublic boolean isUpdateAvailable()\n")),Object(l.b)("h4",{id:"-updatescount"},"\ud83d\udcc4\ud83c\udf9b updatesCount"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public updatesCount\npublic int getUpdatesCount()\n")))}o.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/89543a7b.0a7ce75b.js b/docs/89543a7b.0a7ce75b.js new file mode 100644 index 000000000..13909a303 --- /dev/null +++ b/docs/89543a7b.0a7ce75b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{86:function(a){a.exports=JSON.parse('{"allTagsPath":"/nuts/blog/tags","slug":"hola","name":"hola","count":1,"permalink":"/nuts/blog/tags/hola"}')}}]); \ No newline at end of file diff --git a/docs/8e9f0a8a.a7bff4f7.js b/docs/8e9f0a8a.a7bff4f7.js new file mode 100644 index 000000000..07bf74894 --- /dev/null +++ b/docs/8e9f0a8a.a7bff4f7.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{118:function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return f}));var n=r(0),o=r.n(n);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=o.a.createContext({}),s=function(e){var t=o.a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):u(u({},t),e)),r},p=function(e){var t=s(e.components);return o.a.createElement(l.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},b=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=s(r),b=n,f=p["".concat(i,".").concat(b)]||p[b]||m[b]||a;return r?o.a.createElement(f,u(u({ref:t},l),{},{components:r})):o.a.createElement(f,u({ref:t},l))}));function f(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,i=new Array(a);i[0]=b;var u={};for(var c in t)hasOwnProperty.call(t,c)&&(u[c]=t[c]);u.originalType=e,u.mdxType="string"==typeof e?e:n,i[1]=u;for(var l=2;l=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=o.a.createContext({}),p=function(e){var t=o.a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},b=function(e){var t=p(e.components);return o.a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},d=o.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),b=p(n),d=a,f=b["".concat(i,".").concat(d)]||b[d]||u[d]||r;return n?o.a.createElement(f,c(c({ref:t},l),{},{components:n})):o.a.createElement(f,c({ref:t},l))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,i=new Array(r);i[0]=d;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:a,i[1]=c;for(var l=2;l=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var r=i.a.createContext({}),s=function(e){var t=i.a.useContext(r),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},b=function(e){var t=s(e.components);return i.a.createElement(r.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},d=i.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,c=e.parentName,r=p(e,["components","mdxType","originalType","parentName"]),b=s(n),d=a,m=b["".concat(c,".").concat(d)]||b[d]||u[d]||l;return n?i.a.createElement(m,o(o({ref:t},r),{},{components:n})):i.a.createElement(m,o({ref:t},r))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,c=new Array(l);c[0]=d;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:a,c[1]=o;for(var r=2;r","\n\\","have a nutsApplication=true in their descriptor file\\","\n\\","support inheritance of all workspace options (from caller nuts\nprocess)\\","\n\\","enables auto-complete mode to help forecasting the next token in the\ncommand line\\","\n\\","enables install mode to be executed when the jar is installed in nuts\nrepos\\","\n\\","enables uninstall mode to be executed when the jar is uninstaleld from\nnuts repos\\","\n\\","enables update mode to be executed when the a new version of the same jar\nhas been installed\\","\n\\","have many default options enabled (such as --help, --version, --json,\n--table, etc.) and thus support natively multi output channels\\","\n\\","\nTypically a Nuts Application follows this code pattern :\n\\","\npublic class MyApplication extends NutsApplication","{","\npublic static void main(String[] args) ","{","\n// just create an instance and call runAndExit in the main method\nnew MyApplication().runAndExit(args);\n","}","\n// do the main staff in launch method\npublic void run(NutsApplicationContext appContext) ","{","\nboolean myBooleanOption=false;\nNutsCommandLine cmdLine=appContext.getCommandLine()\nboolean boolOption=false;\nString stringOption=null;\nArgument a;\nwhile(cmdLine.hasNext())","{","\nif(appContext.configureFirst(cmdLine))","{","\n//do nothing\n","}","else ","{",'\na=cmdLine.peek();\nswitch(a.getStringKey())[\ncase "-o": case "--option":',"{","\nboolOption=cmdLine.nextBoolean().getBooleanValue();\nbreak;\n","}",'\ncase "-n": case "--name":',"{","\nstringOption=cmdLine.nextString().getStringValue();\nbreak;\n","}","\ndefault:","{","\ncmdLine.unexpectedArgument();\n","}","\n","}","\n","}","\n","}","\n// test if application is running in exec mode\n// (and not in autoComplete mode)\nif(cmdLine.isExecMode())","{","\n//do the good staff here\n","}","\n","}","\n","}","\n\\","\nanother example of using this class is :\n\\","\npublic class HLMain extends NutsApplication ","{","\npublic static void main(String[] args) ","{","\n// just create an instance and call runAndExit in the main method\nnew HLMain().runAndExit(args);\n","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{}),' @Override\n public void run(NutsApplicationContext applicationContext) \\{\n applicationContext.processCommandLine(new NutsCommandLineProcessor() \\{\n HLCWithOptions hl = new HL().withOptions();\n boolean noMoreOptions=false;\n @Override\n public boolean processOption(NutsArgument argument, NutsCommandLine cmdLine) \\{\n if(!noMoreOptions)\\{\n return false;\n \\}\n switch (argument.getStringKey()) \\{\n case "--clean": \\{\n hl.clean(cmdLine.nextBoolean().getBooleanValue());\n return true;\n \\}\n case "-i":\n case "--incremental":\\{\n hl.setIncremental(cmdLine.nextBoolean().getBooleanValue());\n return true;\n \\}\n case "-r":\n case "--root":\\{\n hl.setProjectRoot(cmdLine.nextString().getStringValue());\n return true;\n \\}\n \\}\n return false;\n \\}\n\n @Override\n public boolean processNonOption(NutsArgument argument, NutsCommandLine cmdLine) \\{\n String s = argument.getString();\n if(isURL(s))\\{\n hl.includeFileURL(s);\n \\}else\\{\n hl.includeFile(s);\n \\}\n noMoreOptions=true;\n return true;\n \\}\n\n private boolean isURL(String s) \\{\n return\n s.startsWith("file:")\n ||s.startsWith("http:")\n ||s.startsWith("https:")\n ;\n \\}\n\n @Override\n public void exec() \\{\n hl.compile();\n \\}\n \\});\n \\}\n \\}\n')),Object(l.b)("p",null," \\"),Object(l.b)("p",null," \\@since 0.5.5\n\\@category Application"),Object(l.b)("h3",{id:"\ud83e\ude84-constructors"},"\ud83e\ude84 Constructors"),Object(l.b)("h4",{id:"\ud83e\ude84-nutsapplication"},"\ud83e\ude84 NutsApplication()"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsApplication()\n")),Object(l.b)("h3",{id:"-instance-methods"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-createapplicationcontextws-args-starttimemillis"},"\u2699 createApplicationContext(ws, args, startTimeMillis)"),Object(l.b)("p",null,"create application context or return null for default"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsApplicationContext createApplicationContext(NutsWorkspace ws, String[] args, long startTimeMillis)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsApplicationContext"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsWorkspace ws")," : workspace"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : arguments"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"long startTimeMillis")," : start time")),Object(l.b)("h4",{id:"-oninstallapplicationapplicationcontext"},"\u2699 onInstallApplication(applicationContext)"),Object(l.b)("p",null,"this method should be overridden to perform specific business when\napplication is installed"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onInstallApplication(NutsApplicationContext applicationContext)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationContext applicationContext")," : context")),Object(l.b)("h4",{id:"-onuninstallapplicationapplicationcontext"},"\u2699 onUninstallApplication(applicationContext)"),Object(l.b)("p",null,"this method should be overridden to perform specific business when\napplication is uninstalled"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onUninstallApplication(NutsApplicationContext applicationContext)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationContext applicationContext")," : context")),Object(l.b)("h4",{id:"-onupdateapplicationapplicationcontext"},"\u2699 onUpdateApplication(applicationContext)"),Object(l.b)("p",null,"this method should be overridden to perform specific business when\napplication is updated"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onUpdateApplication(NutsApplicationContext applicationContext)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationContext applicationContext")," : context")),Object(l.b)("h4",{id:"-runapplicationcontext"},"\u2699 run(applicationContext)"),Object(l.b)("p",null,"run application within the given context"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void run(NutsApplicationContext applicationContext)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationContext applicationContext")," : app context")),Object(l.b)("h4",{id:"-runargs"},"\u2699 run(args)"),Object(l.b)("p",null,"run the application with the given arguments. If the first arguments is\nin the form of --nuts-exec-mode=... the argument will be removed and the\ncorresponding mode is activated."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void run(String[] args)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : application arguments. should not be null or contain nulls")),Object(l.b)("h4",{id:"-runsession-args"},"\u2699 run(session, args)"),Object(l.b)("p",null,"run the application with the given arguments against the given workspace\nIf the first arguments is in the form of --nuts-exec-mode=... the\nargument will be removed and the corresponding mode is activated."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void run(NutsSession session, String[] args)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : session (can be null)"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : application arguments. should not be null or contain nulls")),Object(l.b)("h4",{id:"-runandexitargs"},"\u2699 runAndExit(args)"),Object(l.b)("p",null,"run the application and \\","EXIT\\"," process"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void runAndExit(String[] args)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : arguments")),Object(l.b)("h4",{id:"-tostring"},"\u2699 toString()"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsapplicationcontext"},"\u2615 NutsApplicationContext"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsApplicationContext\n")),Object(l.b)("p",null," Application context that store all relevant information about application\nexecution mode, workspace, etc."),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Application"),Object(l.b)("h3",{id:"-constant-fields"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-auto_complete_candidate_prefix"},"\ud83d\udce2\u2744 AUTO_COMPLETE_CANDIDATE_PREFIX"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),'public static final String AUTO_COMPLETE_CANDIDATE_PREFIX = "@@Candidate@@: "\n')),Object(l.b)("h3",{id:"-instance-properties"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-appclass"},"\ud83d\udcc4\ud83c\udf9b appClass"),Object(l.b)("p",null,"application class reference"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Class public appClass\npublic Class getAppClass()\n")),Object(l.b)("h4",{id:"-appid"},"\ud83d\udcc4\ud83c\udf9b appId"),Object(l.b)("p",null,"application nuts id"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsId public appId\npublic NutsId getAppId()\n")),Object(l.b)("h4",{id:"-apppreviousversion"},"\ud83d\udcc4\ud83c\udf9b appPreviousVersion"),Object(l.b)("p",null,"previous version (applicable in update mode)"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsVersion public appPreviousVersion\npublic NutsVersion getAppPreviousVersion()\n")),Object(l.b)("h4",{id:"-appversion"},"\ud83d\udcc4\ud83c\udf9b appVersion"),Object(l.b)("p",null,"application version"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsVersion public appVersion\npublic NutsVersion getAppVersion()\n")),Object(l.b)("h4",{id:"-appsfolder"},"\ud83d\udcc4\ud83c\udf9b appsFolder"),Object(l.b)("p",null,"path to the apps folder of this application"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public appsFolder\npublic Path getAppsFolder()\n")),Object(l.b)("h4",{id:"-arguments"},"\ud83d\udcc4\ud83c\udf9b arguments"),Object(l.b)("p",null,"application arguments"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public arguments\npublic String[] getArguments()\n")),Object(l.b)("h4",{id:"-autocomplete"},"\ud83d\udcc4\ud83c\udf9b autoComplete"),Object(l.b)("p",null,"Auto complete instance associated with the\n","{","\\@link NutsApplicationMode#AUTO_COMPLETE","}"," mode"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsCommandAutoComplete public autoComplete\npublic NutsCommandAutoComplete getAutoComplete()\n")),Object(l.b)("h4",{id:"-cachefolder"},"\ud83d\udcc4\ud83c\udf9b cacheFolder"),Object(l.b)("p",null,"path to the cache files folder of this application"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public cacheFolder\npublic Path getCacheFolder()\n")),Object(l.b)("h4",{id:"-commandline"},"\ud83d\udcc4\ud83c\udf9b commandLine"),Object(l.b)("p",null,"a new instance of command line arguments to process filled\nwith application\\'s arguments."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsCommandLine public commandLine\npublic NutsCommandLine getCommandLine()\n")),Object(l.b)("h4",{id:"-configfolder"},"\ud83d\udcc4\ud83c\udf9b configFolder"),Object(l.b)("p",null,"path to the configuration folder of this application"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public configFolder\npublic Path getConfigFolder()\n")),Object(l.b)("h4",{id:"-execmode"},"\ud83d\udcc4\ud83c\udf9b execMode"),Object(l.b)("p",null,"return true if ","{","\\@code getAutoComplete()==null ","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public execMode\npublic boolean isExecMode()\n")),Object(l.b)("h4",{id:"-libfolder"},"\ud83d\udcc4\ud83c\udf9b libFolder"),Object(l.b)("p",null,"path to the libraries files (non applications) folder of this application"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public libFolder\npublic Path getLibFolder()\n")),Object(l.b)("h4",{id:"-logfolder"},"\ud83d\udcc4\ud83c\udf9b logFolder"),Object(l.b)("p",null,"path to the log folder of this application"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public logFolder\npublic Path getLogFolder()\n")),Object(l.b)("h4",{id:"-mode"},"\ud83d\udcc4\ud83c\udf9b mode"),Object(l.b)("p",null,"application execution mode"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsApplicationMode public mode\npublic NutsApplicationMode getMode()\n")),Object(l.b)("h4",{id:"-modearguments"},"\ud83d\udcc4\ud83c\udf9b modeArguments"),Object(l.b)("p",null,"application execution mode extra arguments"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public modeArguments\npublic String[] getModeArguments()\n")),Object(l.b)("h4",{id:"-runfolder"},"\ud83d\udcc4\ud83c\udf9b runFolder"),Object(l.b)("p",null,"path to the temporary run files (non essential sockets etc...) folder of\nthis application"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public runFolder\npublic Path getRunFolder()\n")),Object(l.b)("h4",{id:"-session"},"\ud83d\udcdd\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsApplicationContext public session\npublic NutsSession getSession()\npublic NutsApplicationContext setSession(session)\n")),Object(l.b)("h4",{id:"-sharedappsfolder"},"\ud83d\udcc4\ud83c\udf9b sharedAppsFolder"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public sharedAppsFolder\npublic Path getSharedAppsFolder()\n")),Object(l.b)("h4",{id:"-sharedconfigfolder"},"\ud83d\udcc4\ud83c\udf9b sharedConfigFolder"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public sharedConfigFolder\npublic Path getSharedConfigFolder()\n")),Object(l.b)("h4",{id:"-sharedfolder"},"\ud83d\udcc4\ud83c\udf9b sharedFolder"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public sharedFolder\npublic Path getSharedFolder(location)\n")),Object(l.b)("h4",{id:"-sharedlibfolder"},"\ud83d\udcc4\ud83c\udf9b sharedLibFolder"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public sharedLibFolder\npublic Path getSharedLibFolder()\n")),Object(l.b)("h4",{id:"-sharedlogfolder"},"\ud83d\udcc4\ud83c\udf9b sharedLogFolder"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public sharedLogFolder\npublic Path getSharedLogFolder()\n")),Object(l.b)("h4",{id:"-sharedrunfolder"},"\ud83d\udcc4\ud83c\udf9b sharedRunFolder"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public sharedRunFolder\npublic Path getSharedRunFolder()\n")),Object(l.b)("h4",{id:"-sharedtempfolder"},"\ud83d\udcc4\ud83c\udf9b sharedTempFolder"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public sharedTempFolder\npublic Path getSharedTempFolder()\n")),Object(l.b)("h4",{id:"-sharedvarfolder"},"\ud83d\udcc4\ud83c\udf9b sharedVarFolder"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public sharedVarFolder\npublic Path getSharedVarFolder()\n")),Object(l.b)("h4",{id:"-starttimemillis"},"\ud83d\udcc4\ud83c\udf9b startTimeMillis"),Object(l.b)("p",null,"application start time in milli-seconds"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public startTimeMillis\npublic long getStartTimeMillis()\n")),Object(l.b)("h4",{id:"-tempfolder"},"\ud83d\udcc4\ud83c\udf9b tempFolder"),Object(l.b)("p",null,"path to the temporary files folder of this application"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public tempFolder\npublic Path getTempFolder()\n")),Object(l.b)("h4",{id:"-varfolder"},"\ud83d\udcc4\ud83c\udf9b varFolder"),Object(l.b)("p",null,"path to the variable files (aka /var in POSIX systems) folder of this\napplication"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Path public varFolder\npublic Path getVarFolder()\n")),Object(l.b)("h4",{id:"-workspace"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(l.b)("p",null,"current workspace"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(l.b)("h3",{id:"-instance-methods-1"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-configureskipunsupported-args"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsApplicationContext configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsApplicationContext"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-getfolderlocation"},"\u2699 getFolder(location)"),Object(l.b)("p",null,"application store folder path for the given ","{","\\@code location","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"Path getFolder(NutsStoreLocation location)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Path"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsStoreLocation location")," : location type")),Object(l.b)("h4",{id:"-printhelp"},"\u2699 printHelp()"),Object(l.b)("p",null,"print application help to the default out (","{","\\@code getSession().out()","}",")\nprint stream."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void printHelp()\n")),Object(l.b)("h4",{id:"-processcommandlinecommandlineprocessor"},"\u2699 processCommandLine(commandLineProcessor)"),Object(l.b)("p",null,"create new NutsCommandLine and consume it with the given processor.\nThis method is equivalent to the following code\n\\","\nNutsCommandLine cmdLine=getCommandLine();\nNutsArgument a;\nwhile (cmdLine.hasNext()) ","{","\nif (!this.configureFirst(cmdLine)) ","{","\na = cmdLine.peek();\nif(a.isOption())","{","\nif(!commandLineProcessor.processOption(a,cmdLine))","{","\ncmdLine.unexpectedArgument();\n","}","\n","}","else","{","\nif(!commandLineProcessor.processNonOption(a,cmdLine))","{","\ncmdLine.unexpectedArgument();\n","}","\n","}","\n","}","\n","}","\n// test if application is running in exec mode\n// (and not in autoComplete mode)\nif (cmdLine.isExecMode()) ","{","\n//do the good staff here\ncommandLineProcessor.exec();\n","}","\n\\"),Object(l.b)("p",null," This as an example of its usage\n\\","\napplicationContext.processCommandLine(new NutsCommandLineProcessor() ","{","\nHLCWithOptions hl = new HL().withOptions();\nboolean noMoreOptions=false;\n","@","Override\npublic boolean processOption(NutsArgument argument, NutsCommandLine cmdLine) ","{","\nif(!noMoreOptions)","{","\nreturn false;\n","}","\nswitch (argument.getStringKey()) ","{",'\ncase "--clean": ',"{","\nhl.clean(cmdLine.nextBoolean().getBooleanValue());\nreturn true;\n","}",'\ncase "-i":\ncase "--incremental":',"{","\nhl.setIncremental(cmdLine.nextBoolean().getBooleanValue());\nreturn true;\n","}",'\ncase "-r":\ncase "--root":',"{","\nhl.setProjectRoot(cmdLine.nextString().getStringValue());\nreturn true;\n","}","\n","}","\nreturn false;\n","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{}),' @Override\n public boolean processNonOption(NutsArgument argument, NutsCommandLine cmdLine) \\{\n String s = argument.getString();\n if(isURL(s))\\{\n hl.includeFileURL(s);\n \\}else\\{\n hl.includeFile(s);\n \\}\n noMoreOptions=true;\n return true;\n \\}\n\n private boolean isURL(String s) \\{\n return\n s.startsWith("file:")\n ||s.startsWith("http:")\n ||s.startsWith("https:")\n ;\n \\}\n\n @Override\n public void exec() \\{\n hl.compile();\n \\}\n \\});\n')),Object(l.b)("p",null," \\"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void processCommandLine(NutsCommandLineProcessor commandLineProcessor)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsCommandLineProcessor commandLineProcessor")," : commandLineProcessor")),Object(l.b)("h2",{id:"-nutsapplicationlifecycle"},"\u2615 NutsApplicationLifeCycle"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsApplicationLifeCycle\n")),Object(l.b)("p",null," Application Life Cycle interface define methods to be overridden to\nperform specific business for each of the predefined application execution\nmodes ","{","\\@link NutsApplicationMode","}","."),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Application"),Object(l.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-createapplicationcontextws-args-starttimemillis-1"},"\u2699 createApplicationContext(ws, args, startTimeMillis)"),Object(l.b)("p",null,"this method should be implemented to create specific ApplicationContext\nimplementation or return null to use default one."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsApplicationContext createApplicationContext(NutsWorkspace ws, String[] args, long startTimeMillis)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsApplicationContext"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsWorkspace ws")," : workspace"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : application arguments"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"long startTimeMillis")," : start time in milliseconds")),Object(l.b)("h4",{id:"-oninstallapplicationapplicationcontext-1"},"\u2699 onInstallApplication(applicationContext)"),Object(l.b)("p",null,"this method should be implemented to perform specific business when\napplication is installed."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onInstallApplication(NutsApplicationContext applicationContext)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationContext applicationContext")," : context")),Object(l.b)("h4",{id:"-onrunapplicationapplicationcontext"},"\u2699 onRunApplication(applicationContext)"),Object(l.b)("p",null,"this method should be implemented to perform specific business when\napplication is running (default mode)"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onRunApplication(NutsApplicationContext applicationContext)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationContext applicationContext")," : context")),Object(l.b)("h4",{id:"-onuninstallapplicationapplicationcontext-1"},"\u2699 onUninstallApplication(applicationContext)"),Object(l.b)("p",null,"this method should be implemented to perform specific business when\napplication is un-installed."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onUninstallApplication(NutsApplicationContext applicationContext)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationContext applicationContext")," : context")),Object(l.b)("h4",{id:"-onupdateapplicationapplicationcontext-1"},"\u2699 onUpdateApplication(applicationContext)"),Object(l.b)("p",null,"this method should be implemented to perform specific business when\napplication is updated."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void onUpdateApplication(NutsApplicationContext applicationContext)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationContext applicationContext")," : context")),Object(l.b)("h2",{id:"-nutsapplicationmode"},"\u2615 NutsApplicationMode"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsApplicationMode\n")),Object(l.b)("p",null," Modes Application can run with"),Object(l.b)("p",null," \\@since 0.5.5\n\\@category Application"),Object(l.b)("h3",{id:"-constant-fields-1"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-auto_complete"},"\ud83d\udce2\u2744 AUTO_COMPLETE"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsApplicationMode AUTO_COMPLETE\n")),Object(l.b)("h4",{id:"-install"},"\ud83d\udce2\u2744 INSTALL"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsApplicationMode INSTALL\n")),Object(l.b)("h4",{id:"-run"},"\ud83d\udce2\u2744 RUN"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsApplicationMode RUN\n")),Object(l.b)("h4",{id:"-uninstall"},"\ud83d\udce2\u2744 UNINSTALL"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsApplicationMode UNINSTALL\n")),Object(l.b)("h4",{id:"-update"},"\ud83d\udce2\u2744 UPDATE"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsApplicationMode UPDATE\n")),Object(l.b)("h3",{id:"-static-methods"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsApplicationMode valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsApplicationMode"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsApplicationMode[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsApplicationMode[]"),Object(l.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsapplications"},"\u2615 NutsApplications"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsApplications\n")),Object(l.b)("p",null," Helper class for Nuts Applications"),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Application"),Object(l.b)("h3",{id:"-static-properties"},"\ud83d\udce2\ud83c\udf9b Static Properties"),Object(l.b)("h4",{id:"-sharedmap"},"\ud83d\udcc4\ud83d\udce2\ud83c\udf9b sharedMap"),Object(l.b)("p",null,"a thread local map used to share information between workspace\nand embedded applications."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Map public static sharedMap\npublic static Map getSharedMap()\n")),Object(l.b)("h3",{id:"-static-methods-1"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-processthrowableex-args-out"},"\ud83d\udce2\u2699 processThrowable(ex, args, out)"),Object(l.b)("p",null,"process throwables and return exit code"),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"int processThrowable(Throwable ex, String[] args, PrintStream out)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":int"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Throwable ex")," : exception"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : application arguments to check from if a '--verbose' or\n'--debug' option is armed"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintStream out")," : out stream")),Object(l.b)("h4",{id:"-runapplicationargs-session-appclass-lifecycle"},"\ud83d\udce2\u2699 runApplication(args, session, appClass, lifeCycle)"),Object(l.b)("p",null,"run application with given life cycle."),Object(l.b)("pre",null,Object(l.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void runApplication(String[] args, NutsSession session, Class appClass, NutsApplicationLifeCycle lifeCycle)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : application arguments"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsSession session")," : session"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class appClass")," : application class"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsApplicationLifeCycle lifeCycle")," : application life cycle")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/9956cada.aebd1fc7.js b/docs/9956cada.aebd1fc7.js new file mode 100644 index 000000000..b9bc5ffa9 --- /dev/null +++ b/docs/9956cada.aebd1fc7.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{118:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return b}));var r=n(0),o=n.n(r);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=o.a.createContext({}),s=function(e){var t=o.a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},l=function(e){var t=s(e.components);return o.a.createElement(u.Provider,{value:t},e.children)},f={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},d=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),l=s(n),d=r,b=l["".concat(i,".").concat(d)]||l[d]||f[d]||a;return n?o.a.createElement(b,c(c({ref:t},u),{},{components:n})):o.a.createElement(b,c({ref:t},u))}));function b(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,i=new Array(a);i[0]=d;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeof e?e:r,i[1]=c;for(var u=2;u=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=a.a.createContext({}),c=function(e){var t=a.a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},b=function(e){var t=c(e.components);return a.a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},m=a.a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,i=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),b=c(n),m=o,d=b["".concat(i,".").concat(m)]||b[m]||u[m]||r;return n?a.a.createElement(d,s(s({ref:t},l),{},{components:n})):a.a.createElement(d,s({ref:t},l))}));function d(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,i=new Array(r);i[0]=m;var s={};for(var p in t)hasOwnProperty.call(t,p)&&(s[p]=t[p]);s.originalType=e,s.mdxType="string"==typeof e?e:o,i[1]=s;for(var l=2;li.a.createElement(r.a,{key:a.metadata.permalink,frontMatter:a.frontMatter,metadata:a.metadata,truncated:a.metadata.truncated},i.a.createElement(a,null))),i.a.createElement(o,{metadata:e})))))}}}]); \ No newline at end of file diff --git a/docs/acb71bcc.75e5de71.js b/docs/acb71bcc.75e5de71.js new file mode 100644 index 000000000..d83c9adf9 --- /dev/null +++ b/docs/acb71bcc.75e5de71.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{118:function(e,t,l){"use strict";l.d(t,"a",(function(){return s})),l.d(t,"b",(function(){return j}));var a=l(0),n=l.n(a);function r(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function b(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,a)}return l}function c(e){for(var t=1;t=0||(n[l]=e[l]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}var g=n.a.createContext({}),i=function(e){var t=n.a.useContext(g),l=t;return e&&(l="function"==typeof e?e(t):c(c({},t),e)),l},s=function(e){var t=i(e.components);return n.a.createElement(g.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.a.createElement(n.a.Fragment,{},t)}},u=n.a.forwardRef((function(e,t){var l=e.components,a=e.mdxType,r=e.originalType,b=e.parentName,g=o(e,["components","mdxType","originalType","parentName"]),s=i(l),u=a,j=s["".concat(b,".").concat(u)]||s[u]||p[u]||r;return l?n.a.createElement(j,c(c({ref:t},g),{},{components:l})):n.a.createElement(j,c({ref:t},g))}));function j(e,t){var l=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=l.length,b=new Array(r);b[0]=u;var c={};for(var o in t)hasOwnProperty.call(t,o)&&(c[o]=t[o]);c.originalType=e,c.mdxType="string"==typeof e?e:a,b[1]=c;for(var g=2;g","\nAll the other logging methods in this class call through\nthis method to actually perform any logging. Subclasses can\noverride this single method to capture all log activity."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void log(LogRecord record)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"LogRecord record")," : the LogRecord to be published")),Object(r.b)("h4",{id:"-loglevel-msg-thrown"},"\u2699 log(level, msg, thrown)"),Object(r.b)("p",null,"log message using \\'FAIL\\' verb"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void log(Level level, String msg, Throwable thrown)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Level level")," : message level"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String msg")," : message"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Throwable thrown")," : error thrown")),Object(r.b)("h4",{id:"-loglevel-verb-msg"},"\u2699 log(level, verb, msg)"),Object(r.b)("p",null,"log message using the given verb and level"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void log(Level level, String verb, String msg)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Level level")," : message level"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String verb")," : message verb / category"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String msg")," : message")),Object(r.b)("h4",{id:"-loglevel-verb-msgsupplier"},"\u2699 log(level, verb, msgSupplier)"),Object(r.b)("p",null,"log message using the given verb and level"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void log(Level level, String verb, Supplier msgSupplier)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Level level")," : message level"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String verb")," : message verb / category"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Supplier msgSupplier")," : message supplier")),Object(r.b)("h4",{id:"-loglevel-verb-msg-params"},"\u2699 log(level, verb, msg, params)"),Object(r.b)("p",null,"log message using the given verb and level"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void log(Level level, String verb, String msg, Object[] params)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Level level")," : message level"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String verb")," : message verb / category"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String msg")," : message"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Object[] params")," : message parameters")),Object(r.b)("h4",{id:"-with"},"\u2699 with()"),Object(r.b)("p",null,"create a logger op.\nA Logger Op handles all information to log in a custom manner."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsLoggerOp with()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsLoggerOp"),Object(r.b)("h2",{id:"-nutsloggerop"},"\u2615 NutsLoggerOp"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsLoggerOp\n")),Object(r.b)("p",null," Log operation\n\\@category Logging"),Object(r.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-errorerror"},"\u2699 error(error)"),Object(r.b)("p",null,"set log error"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsLoggerOp error(Throwable error)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsLoggerOp"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Throwable error")," : error thrown")),Object(r.b)("h4",{id:"-formatted"},"\u2699 formatted()"),Object(r.b)("p",null,"set formatted mode (Nuts Stream Format)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsLoggerOp formatted()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsLoggerOp"),Object(r.b)("h4",{id:"-formattedvalue"},"\u2699 formatted(value)"),Object(r.b)("p",null,"set or unset formatted mode (Nuts Stream Format)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsLoggerOp formatted(boolean value)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsLoggerOp"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"boolean value")," : formatted flag")),Object(r.b)("h4",{id:"-levellevel"},"\u2699 level(level)"),Object(r.b)("p",null,"set operation level"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsLoggerOp level(Level level)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsLoggerOp"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Level level")," : message level")),Object(r.b)("h4",{id:"-logmsgsupplier"},"\u2699 log(msgSupplier)"),Object(r.b)("p",null,"log the given message"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void log(Supplier msgSupplier)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Supplier msgSupplier")," : message supplier")),Object(r.b)("h4",{id:"-logmsg-params"},"\u2699 log(msg, params)"),Object(r.b)("p",null,"log the given message"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void log(String msg, Object[] params)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String msg")," : message"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Object[] params")," : message params")),Object(r.b)("h4",{id:"-stylestyle"},"\u2699 style(style)"),Object(r.b)("p",null,"set message style (cstyle or positional)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsLoggerOp style(NutsTextFormatStyle style)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsLoggerOp"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsTextFormatStyle style")," : message format style")),Object(r.b)("h4",{id:"-timetime"},"\u2699 time(time)"),Object(r.b)("p",null,"set operation time"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsLoggerOp time(long time)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsLoggerOp"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"long time")," : operation time in ms")),Object(r.b)("h4",{id:"-verbverb"},"\u2699 verb(verb)"),Object(r.b)("p",null,"set log verb"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsLoggerOp verb(String verb)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsLoggerOp"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String verb")," : verb or category")))}i.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/af172acd.bb31784c.js b/docs/af172acd.bb31784c.js new file mode 100644 index 000000000..09055548c --- /dev/null +++ b/docs/af172acd.bb31784c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{118:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return d}));var n=r(0),o=r.n(n);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=o.a.createContext({}),p=function(e){var t=o.a.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return o.a.createElement(u.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),f=n,d=s["".concat(l,".").concat(f)]||s[f]||b[f]||a;return r?o.a.createElement(d,c(c({ref:t},u),{},{components:r})):o.a.createElement(d,c({ref:t},u))}));function d(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,l=new Array(a);l[0]=f;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c.mdxType="string"==typeof e?e:n,l[1]=c;for(var u=2;u=0||(j[M]=e[M]);return j}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,M)&&(j[M]=e[M])}return j}var N=j.a.createContext({}),u=function(e){var t=j.a.useContext(N),M=t;return e&&(M="function"==typeof e?e(t):c(c({},t),e)),M},r=function(e){var t=u(e.components);return j.a.createElement(N.Provider,{value:t},e.children)},L={inlineCode:"code",wrapper:function(e){var t=e.children;return j.a.createElement(j.a.Fragment,{},t)}},l=j.a.forwardRef((function(e,t){var M=e.components,a=e.mdxType,n=e.originalType,i=e.parentName,N=b(e,["components","mdxType","originalType","parentName"]),r=u(M),l=a,g=r["".concat(i,".").concat(l)]||r[l]||L[l]||n;return M?j.a.createElement(g,c(c({ref:t},N),{},{components:M})):j.a.createElement(g,c({ref:t},N))}));function g(e,t){var M=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var n=M.length,i=new Array(n);i[0]=l;var c={};for(var b in t)hasOwnProperty.call(t,b)&&(c[b]=t[b]);c.originalType=e,c.mdxType="string"==typeof e?e:a,i[1]=c;for(var N=2;Ntag.\n")),Object(n.b)("pre",null,Object(n.b)("code",Object(a.a)({parentName:"pre"},{className:"language-js",metastring:"{2}","{2}":!0}),"function highlightMe() {\n console.log('This line can be highlighted!');\n}\n")),Object(n.b)("hr",null),Object(n.b)("h2",{id:"tables"},"Tables"),Object(n.b)("p",null,"Colons can be used to align columns."),Object(n.b)("table",null,Object(n.b)("thead",{parentName:"table"},Object(n.b)("tr",{parentName:"thead"},Object(n.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Tables"),Object(n.b)("th",Object(a.a)({parentName:"tr"},{align:"center"}),"Are"),Object(n.b)("th",Object(a.a)({parentName:"tr"},{align:"right"}),"Cool"))),Object(n.b)("tbody",{parentName:"table"},Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"col 3 is"),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:"center"}),"right-aligned"),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:"right"}),"\\$1600")),Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"col 2 is"),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:"center"}),"centered"),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:"right"}),"\\$12")),Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"zebra stripes"),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:"center"}),"are neat"),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:"right"}),"\\$1")))),Object(n.b)("p",null,"There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown."),Object(n.b)("table",null,Object(n.b)("thead",{parentName:"table"},Object(n.b)("tr",{parentName:"thead"},Object(n.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Markdown"),Object(n.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Less"),Object(n.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Pretty"))),Object(n.b)("tbody",{parentName:"table"},Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),Object(n.b)("em",{parentName:"td"},"Still")),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),Object(n.b)("inlineCode",{parentName:"td"},"renders")),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),Object(n.b)("strong",{parentName:"td"},"nicely"))),Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"1"),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"2"),Object(n.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"3")))),Object(n.b)("hr",null),Object(n.b)("h2",{id:"blockquotes"},"Blockquotes"),Object(n.b)("blockquote",null,Object(n.b)("p",{parentName:"blockquote"},"Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.")),Object(n.b)("p",null,"Quote break."),Object(n.b)("blockquote",null,Object(n.b)("p",{parentName:"blockquote"},"This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can ",Object(n.b)("em",{parentName:"p"},"put")," ",Object(n.b)("strong",{parentName:"p"},"Markdown")," into a blockquote.")),Object(n.b)("hr",null),Object(n.b)("h2",{id:"inline-html"},"Inline HTML"),Object(n.b)("dl",null,Object(n.b)("dt",null,"Definition list"),Object(n.b)("dd",null,"Is something people use sometimes."),Object(n.b)("dt",null,"Markdown in HTML"),Object(n.b)("dd",null,"Does *not* work **very** well. Use HTML ",Object(n.b)("em",null,"tags"),".")),Object(n.b)("hr",null),Object(n.b)("h2",{id:"line-breaks"},"Line Breaks"),Object(n.b)("p",null,"Here's a line for us to start with."),Object(n.b)("p",null,"This line is separated from the one above by two newlines, so it will be a ",Object(n.b)("em",{parentName:"p"},"separate paragraph"),"."),Object(n.b)("p",null,"This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the ",Object(n.b)("em",{parentName:"p"},"same paragraph"),"."),Object(n.b)("hr",null),Object(n.b)("h2",{id:"admonitions"},"Admonitions"),Object(n.b)("div",{className:"admonition admonition-note alert alert--secondary"},Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-heading"}),Object(n.b)("h5",{parentName:"div"},Object(n.b)("span",Object(a.a)({parentName:"h5"},{className:"admonition-icon"}),Object(n.b)("svg",Object(a.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"}),Object(n.b)("path",Object(a.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})))),"note")),Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-content"}),Object(n.b)("p",{parentName:"div"},"This is a note"))),Object(n.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-heading"}),Object(n.b)("h5",{parentName:"div"},Object(n.b)("span",Object(a.a)({parentName:"h5"},{className:"admonition-icon"}),Object(n.b)("svg",Object(a.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(n.b)("path",Object(a.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})))),"tip")),Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-content"}),Object(n.b)("p",{parentName:"div"},"This is a tip"))),Object(n.b)("div",{className:"admonition admonition-important alert alert--info"},Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-heading"}),Object(n.b)("h5",{parentName:"div"},Object(n.b)("span",Object(a.a)({parentName:"h5"},{className:"admonition-icon"}),Object(n.b)("svg",Object(a.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"}),Object(n.b)("path",Object(a.a)({parentName:"svg"},{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})))),"important")),Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-content"}),Object(n.b)("p",{parentName:"div"},"This is important"))),Object(n.b)("div",{className:"admonition admonition-caution alert alert--warning"},Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-heading"}),Object(n.b)("h5",{parentName:"div"},Object(n.b)("span",Object(a.a)({parentName:"h5"},{className:"admonition-icon"}),Object(n.b)("svg",Object(a.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}),Object(n.b)("path",Object(a.a)({parentName:"svg"},{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})))),"caution")),Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-content"}),Object(n.b)("p",{parentName:"div"},"This is a caution"))),Object(n.b)("div",{className:"admonition admonition-warning alert alert--danger"},Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-heading"}),Object(n.b)("h5",{parentName:"div"},Object(n.b)("span",Object(a.a)({parentName:"h5"},{className:"admonition-icon"}),Object(n.b)("svg",Object(a.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(n.b)("path",Object(a.a)({parentName:"svg"},{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})))),"warning")),Object(n.b)("div",Object(a.a)({parentName:"div"},{className:"admonition-content"}),Object(n.b)("p",{parentName:"div"},"This is a warning"))))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/bdd709f1.e3ab56e1.js b/docs/bdd709f1.e3ab56e1.js new file mode 100644 index 000000000..cee627a8c --- /dev/null +++ b/docs/bdd709f1.e3ab56e1.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{118:function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return f}));var n=r(0),o=r.n(n);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=o.a.createContext({}),s=function(e){var t=o.a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):u(u({},t),e)),r},p=function(e){var t=s(e.components);return o.a.createElement(l.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},b=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=s(r),b=n,f=p["".concat(i,".").concat(b)]||p[b]||m[b]||a;return r?o.a.createElement(f,u(u({ref:t},l),{},{components:r})):o.a.createElement(f,u({ref:t},l))}));function f(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,i=new Array(a);i[0]=b;var u={};for(var c in t)hasOwnProperty.call(t,c)&&(u[c]=t[c]);u.originalType=e,u.mdxType="string"==typeof e?e:n,i[1]=u;for(var l=2;l=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=a.a.createContext({}),l=function(e){var t=a.a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=l(e.components);return a.a.createElement(u.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},f=a.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,c=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=l(n),f=r,b=p["".concat(c,".").concat(f)]||p[f]||d[f]||o;return n?a.a.createElement(b,i(i({ref:t},u),{},{components:n})):a.a.createElement(b,i({ref:t},u))}));function b(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,c=new Array(o);c[0]=f;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i.mdxType="string"==typeof e?e:r,c[1]=i;for(var u=2;u=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var i=l.a.createContext({}),o=function(e){var t=l.a.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},p=function(e){var t=o(e.components);return l.a.createElement(i.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return l.a.createElement(l.a.Fragment,{},t)}},m=l.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,b=e.parentName,i=u(e,["components","mdxType","originalType","parentName"]),p=o(n),m=a,d=p["".concat(b,".").concat(m)]||p[m]||s[m]||r;return n?l.a.createElement(d,c(c({ref:t},i),{},{components:n})):l.a.createElement(d,c({ref:t},i))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,b=new Array(r);b[0]=m;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:a,b[1]=c;for(var i=2;i","\n\\",'Argument("key").getArgumentKey() ==',">",' Argument("key") \\","\n\\",'Argument("key=value").getArgumentKey() ==',">",' Argument("key") \\","\n\\",'Argument("--key=value").getArgumentKey() ==',">",' Argument("--key")\n\\","\n\\",'Argument("--!key=value").getArgumentKey() ==',">",' Argument("--key")\n\\","\n\\",'Argument("--!//key=value").getArgumentKey() ==',">",' Argument("--key")\n\\","\n\\"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsArgument public argumentKey\npublic NutsArgument getArgumentKey()\n")),Object(r.b)("h4",{id:"-argumentoptionname"},"\ud83d\udcc4\ud83c\udf9b argumentOptionName"),Object(r.b)("p",null,"return option key part excluding prefix (\\'-\\' and \\'--\\')"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsArgument public argumentOptionName\npublic NutsArgument getArgumentOptionName()\n")),Object(r.b)("h4",{id:"-argumentvalue"},"\ud83d\udcc4\ud83c\udf9b argumentValue"),Object(r.b)("p",null,"return new instance (never null) of the value part of the argument (after\n=). However Argument\\'s value may be null (\n","{","\\@code getArgumentValue().getString() == null","}","). Here are some examples of\ngetArgumentValue() result for some common arguments\n\\","\n\\",'Argument("key").getArgumentValue() ==',">"," Argument(null) \\","\n\\",'Argument("key=value").getArgumentValue() ==',">",' Argument("value")\n\\","\n\\",'Argument("key=").getArgumentValue() ==',">",' Argument("") \\","\n\\",'Argument("--key=value").getArgumentValue() ==',">",' Argument("value")\n\\","\n\\",'Argument("--!key=value").getArgumentValue() ==',">",' Argument("value")\n\\","\n\\",'Argument("--!//key=value").getArgumentValue() ==',">",'\nArgument("value") \\","\n\\"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsArgument public argumentValue\npublic NutsArgument getArgumentValue()\n")),Object(r.b)("h4",{id:"-boolean"},"\ud83d\udcc4\ud83c\udf9b boolean"),Object(r.b)("p",null,'test if the argument is valid boolean. a valid boolean mush match one of\nthe following regular expressions :\n"true|enable|enabled|yes|always|y|on|ok|t" : will be evaluated as true\nboolean. "false|disable|disabled|no|none|never|n|off|ko" : will be\nevaluated as false boolean. In both cases, this method returns true.\nOtherwise, it will return false.'),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public boolean\npublic boolean isBoolean()\n")),Object(r.b)("h4",{id:"-booleanvalue"},"\ud83d\udcc4\ud83c\udf9b booleanValue"),Object(r.b)("p",null,"parse argument\\'s value as boolean equivalent to\n","{","\\@code getArgumentValue().getBoolean()","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public booleanValue\npublic boolean getBooleanValue()\n")),Object(r.b)("h4",{id:"-double"},"\ud83d\udcc4\ud83c\udf9b double"),Object(r.b)("p",null,"parse number and return double."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] double public double\npublic double getDouble()\n")),Object(r.b)("h4",{id:"-enabled"},"\ud83d\udcc4\ud83c\udf9b enabled"),Object(r.b)("p",null,"false if option is in one of the following forms :\n\\","\n\\","-//name\\","\n\\","--//name\\","\n\\","\nwhere name is any valid identifier"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public enabled\npublic boolean isEnabled()\n")),Object(r.b)("h4",{id:"-int"},"\ud83d\udcc4\ud83c\udf9b int"),Object(r.b)("p",null,"parse number and return integer."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public int\npublic int getInt()\n")),Object(r.b)("h4",{id:"-keyvalue"},"\ud83d\udcc4\ud83c\udf9b keyValue"),Object(r.b)("p",null,"true if the argument is in the form key=value"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public keyValue\npublic boolean isKeyValue()\n")),Object(r.b)("h4",{id:"-keyvalueseparator"},"\ud83d\udcc4\ud83c\udf9b keyValueSeparator"),Object(r.b)("p",null,"return query value separator"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public keyValueSeparator\npublic String getKeyValueSeparator()\n")),Object(r.b)("h4",{id:"-long"},"\ud83d\udcc4\ud83c\udf9b long"),Object(r.b)("p",null,"parse number and return long."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] long public long\npublic long getLong()\n")),Object(r.b)("h4",{id:"-negated"},"\ud83d\udcc4\ud83c\udf9b negated"),Object(r.b)("p",null,"true if option is in one of the following forms :\n\\","\n\\","-!name","[","=...]\\","\n\\","--!name","[","=...]\\","\n\\","!name","[","=...]\\","\n\\","\nwhere name is any valid identifier"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public negated\npublic boolean isNegated()\n")),Object(r.b)("h4",{id:"-nonoption"},"\ud83d\udcc4\ud83c\udf9b nonOption"),Object(r.b)("p",null,"true if the argument do not start with \\'-\\' or \\'+\\' or is blank. this is\nequivalent to ","{","\\@code !isOption()","}","."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public nonOption\npublic boolean isNonOption()\n")),Object(r.b)("h4",{id:"-option"},"\ud83d\udcc4\ud83c\udf9b option"),Object(r.b)("p",null,"true if the argument starts with \\'-\\' or \\'+\\'"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public option\npublic boolean isOption()\n")),Object(r.b)("h4",{id:"-string"},"\ud83d\udcc4\ud83c\udf9b string"),Object(r.b)("p",null,"string representation of the argument or null"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public string\npublic String getString()\n")),Object(r.b)("h4",{id:"-stringkey"},"\ud83d\udcc4\ud83c\udf9b stringKey"),Object(r.b)("p",null,"return key part (never null) of the argument. The key does not include\nneither ! nor // or = argument parts as they are parsed separately. Here\nare some examples of getStringKey() result for some common arguments\n\\","\n\\",'Argument("key").getArgumentKey() ==',">",' "key" \\","\n\\",'Argument("key=value").getArgumentKey() ==',">",' "key" \\","\n\\",'Argument("--key=value").getArgumentKey() ==',">",' "--key"\n\\","\n\\",'Argument("--!key=value").getArgumentKey() ==',">",' "--key"\n\\","\n\\",'Argument("--!//key=value").getArgumentKey() ==',">",' "--key"\n\\","\n\\",'Argument("--//!key=value").getArgumentKey() ==',">",' "--key"\n\\","\n\\","\nequivalent to ","{","\\@code getArgumentKey().getString()","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public stringKey\npublic String getStringKey()\n")),Object(r.b)("h4",{id:"-stringoptionname"},"\ud83d\udcc4\ud83c\udf9b stringOptionName"),Object(r.b)("p",null,"return option key part excluding prefix (\\'-\\' and \\'--\\')"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public stringOptionName\npublic String getStringOptionName()\n")),Object(r.b)("h4",{id:"-stringoptionprefix"},"\ud83d\udcc4\ud83c\udf9b stringOptionPrefix"),Object(r.b)("p",null,"return option prefix part (\\'-\\' and \\'--\\')"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public stringOptionPrefix\npublic String getStringOptionPrefix()\n")),Object(r.b)("h4",{id:"-stringvalue"},"\ud83d\udcc4\ud83c\udf9b stringValue"),Object(r.b)("p",null,"equivalent to ","{","\\@code getArgumentValue().getString()","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public stringValue\npublic String getStringValue()\n")),Object(r.b)("h3",{id:"-instance-methods"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-getbooleandefaultvalue"},"\u2699 getBoolean(defaultValue)"),Object(r.b)("p",null,"return boolean value if the current argument can be parsed as valid\nboolean of defaultValue if not"),Object(r.b)("p",null," \"true|enable|enabled|yes|always|y|on|ok|t\" are considered \\'true\\'.\n\"false|disable|disabled|no|none|never|n|off|ko\" are considered \\'false\\'."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"Boolean getBoolean(Boolean defaultValue)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":Boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Boolean defaultValue")," : default value")),Object(r.b)("h4",{id:"-getdoubledefaultvalue"},"\u2699 getDouble(defaultValue)"),Object(r.b)("p",null,"parse number and return double or ","{","\\@code defaultValue","}"," if not parsable."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"double getDouble(double defaultValue)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":double"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"double defaultValue")," : defaultValue")),Object(r.b)("h4",{id:"-getintdefaultvalue"},"\u2699 getInt(defaultValue)"),Object(r.b)("p",null,"parse number and return integer or ","{","\\@code defaultValue","}"," if not parsable."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"int getInt(int defaultValue)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":int"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"int defaultValue")," : defaultValue")),Object(r.b)("h4",{id:"-getlongdefaultvalue"},"\u2699 getLong(defaultValue)"),Object(r.b)("p",null,"parse number and return long or ","{","\\@code defaultValue","}"," if not parsable."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"long getLong(long defaultValue)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":long"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"long defaultValue")," : defaultValue")),Object(r.b)("h4",{id:"-getstringdefaultvalue"},"\u2699 getString(defaultValue)"),Object(r.b)("p",null,"string representation of the argument or the given defaultValue"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String getString(String defaultValue)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":String"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String defaultValue")," : returned when this argument references null value")),Object(r.b)("h4",{id:"-getstringvaluedefaultvalue"},"\u2699 getStringValue(defaultValue)"),Object(r.b)("p",null,"equivalent to ","{","\\@code getArgumentValue().getString(value)","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String getStringValue(String defaultValue)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":String"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String defaultValue")," : default value")),Object(r.b)("h4",{id:"-required"},"\u2699 required()"),Object(r.b)("p",null,"Throw an exception if the argument is null"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument required()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("h2",{id:"-nutsargumentcandidate"},"\u2615 NutsArgumentCandidate"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsArgumentCandidate\n")),Object(r.b)("p",null," Argument Candidate used in Auto Complete."),Object(r.b)("p",null," Created by vpc on 3/7/17."),Object(r.b)("p",null," \\@since 0.5.5\n\\@category Command Line"),Object(r.b)("h3",{id:"-instance-properties-1"},"\ud83c\udf9b Instance Properties"),Object(r.b)("h4",{id:"-display"},"\ud83d\udcc4\ud83c\udf9b display"),Object(r.b)("p",null,"human display"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public display\npublic String getDisplay()\n")),Object(r.b)("h4",{id:"-value"},"\ud83d\udcc4\ud83c\udf9b value"),Object(r.b)("p",null,"argument value"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public value\npublic String getValue()\n")),Object(r.b)("h2",{id:"-nutsargumentname"},"\u2615 NutsArgumentName"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsArgumentName\n")),Object(r.b)("p",null," Non Option Argument specification"),Object(r.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Command Line"),Object(r.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(r.b)("h4",{id:"-name"},"\ud83d\udcc4\ud83c\udf9b name"),Object(r.b)("p",null,"argument name"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(r.b)("h3",{id:"-instance-methods-1"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-getcandidatescontext"},"\u2699 getCandidates(context)"),Object(r.b)("p",null,"argument candidate values"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"List getCandidates(NutsCommandAutoComplete context)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":List"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsCommandAutoComplete context")," : autocomplete")),Object(r.b)("h2",{id:"-nutsargumenttype"},"\u2615 NutsArgumentType"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsArgumentType\n")),Object(r.b)("p",null," Argument parse Type"),Object(r.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Command Line"),Object(r.b)("h3",{id:"-constant-fields"},"\ud83d\udce2\u2744 Constant Fields"),Object(r.b)("h4",{id:"-any"},"\ud83d\udce2\u2744 ANY"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsArgumentType ANY\n")),Object(r.b)("h4",{id:"-boolean-1"},"\ud83d\udce2\u2744 BOOLEAN"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsArgumentType BOOLEAN\n")),Object(r.b)("h4",{id:"-string-1"},"\ud83d\udce2\u2744 STRING"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsArgumentType STRING\n")),Object(r.b)("h3",{id:"-static-methods"},"\ud83d\udce2\u2699 Static Methods"),Object(r.b)("h4",{id:"-valueofname"},"\ud83d\udce2\u2699 valueOf(name)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgumentType valueOf(String name)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgumentType"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String name")," : ")),Object(r.b)("h4",{id:"-values"},"\ud83d\udce2\u2699 values()"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgumentType\\[] values()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgumentType","[","]"),Object(r.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-id"},"\u2699 id()"),Object(r.b)("p",null,"lower cased identifier."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":String"),Object(r.b)("h2",{id:"-nutscommandautocomplete"},"\u2615 NutsCommandAutoComplete"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsCommandAutoComplete\n")),Object(r.b)("p",null," Auto Complete Helper class used to collect argument candidates\n\\@author vpc\n\\@since 0.5.5\n\\@category Command Line"),Object(r.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(r.b)("h4",{id:"-candidates"},"\ud83d\udcc4\ud83c\udf9b candidates"),Object(r.b)("p",null,"current candidates"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] List public candidates\npublic List getCandidates()\n")),Object(r.b)("h4",{id:"-currentwordindex"},"\ud83d\udcc4\ud83c\udf9b currentWordIndex"),Object(r.b)("p",null,"candidates index"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public currentWordIndex\npublic int getCurrentWordIndex()\n")),Object(r.b)("h4",{id:"-line"},"\ud83d\udcc4\ud83c\udf9b line"),Object(r.b)("p",null,"command line string"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public line\npublic String getLine()\n")),Object(r.b)("h4",{id:"-session"},"\ud83d\udcc4\ud83c\udf9b session"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsSession public session\npublic NutsSession getSession()\n")),Object(r.b)("h4",{id:"-words"},"\ud83d\udcc4\ud83c\udf9b words"),Object(r.b)("p",null,"command line arguments"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] List public words\npublic List getWords()\n")),Object(r.b)("h4",{id:"-workspace"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(r.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-addcandidatevalue"},"\u2699 addCandidate(value)"),Object(r.b)("p",null,"add candidate"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void addCandidate(NutsArgumentCandidate value)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgumentCandidate value")," : candidate")),Object(r.b)("h4",{id:"-gett"},"\u2699 get(t)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"Object get(Class t)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":Object"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Class t")," : ")),Object(r.b)("h2",{id:"-nutscommandautocompletebase"},"\u2615 NutsCommandAutoCompleteBase"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public abstract net.vpc.app.nuts.NutsCommandAutoCompleteBase\n")),Object(r.b)("p",null," Base (Abstract) implementation of NutsCommandAutoComplete\n\\@author vpc\n\\@since 0.5.5\n\\@category Command Line"),Object(r.b)("h3",{id:"\ud83e\ude84-constructors"},"\ud83e\ude84 Constructors"),Object(r.b)("h4",{id:"\ud83e\ude84-nutscommandautocompletebase"},"\ud83e\ude84 NutsCommandAutoCompleteBase()"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandAutoCompleteBase()\n")),Object(r.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(r.b)("h4",{id:"-candidates-1"},"\ud83d\udcc4\ud83c\udf9b candidates"),Object(r.b)("p",null,"possible candidates"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] List public candidates\npublic List getCandidates()\n")),Object(r.b)("h4",{id:"-workspace-1"},"\ud83d\udcc4\ud83c\udf9b workspace"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsWorkspace public workspace\npublic NutsWorkspace getWorkspace()\n")),Object(r.b)("h3",{id:"-instance-methods-4"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-addcandidatevalue-1"},"\u2699 addCandidate(value)"),Object(r.b)("p",null,"add candidate"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void addCandidate(NutsArgumentCandidate value)\n")),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgumentCandidate value")," : candidate")),Object(r.b)("h4",{id:"-addcandidatesimplvalue"},"\u2699 addCandidatesImpl(value)"),Object(r.b)("p",null,"simple add candidates implementation"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgumentCandidate addCandidatesImpl(NutsArgumentCandidate value)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgumentCandidate"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgumentCandidate value")," : candidate")),Object(r.b)("h4",{id:"-gett-1"},"\u2699 get(t)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"Object get(Class t)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":Object"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Class t")," : ")),Object(r.b)("h2",{id:"-nutscommandexecoptions"},"\u2615 NutsCommandExecOptions"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsCommandExecOptions\n")),Object(r.b)("p",null," Command execution options\n\\@author vpc\n\\@since 0.5.4\n\\@category Command Line"),Object(r.b)("h3",{id:"\ud83e\ude84-constructors-1"},"\ud83e\ude84 Constructors"),Object(r.b)("h4",{id:"\ud83e\ude84-nutscommandexecoptions"},"\ud83e\ude84 NutsCommandExecOptions()"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandExecOptions()\n")),Object(r.b)("h3",{id:"-instance-properties-5"},"\ud83c\udf9b Instance Properties"),Object(r.b)("h4",{id:"-directory"},"\ud83d\udcdd\ud83c\udf9b directory"),Object(r.b)("p",null,"execution directory"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandExecOptions public directory\npublic String getDirectory()\npublic NutsCommandExecOptions setDirectory(directory)\n")),Object(r.b)("h4",{id:"-env"},"\ud83d\udcdd\ud83c\udf9b env"),Object(r.b)("p",null,"execution environment variables"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandExecOptions public env\npublic Map getEnv()\npublic NutsCommandExecOptions setEnv(env)\n")),Object(r.b)("h4",{id:"-executiontype"},"\ud83d\udcdd\ud83c\udf9b executionType"),Object(r.b)("p",null,"execution type"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandExecOptions public executionType\npublic NutsExecutionType getExecutionType()\npublic NutsCommandExecOptions setExecutionType(executionType)\n")),Object(r.b)("h4",{id:"-executoroptions"},"\ud83d\udcdd\ud83c\udf9b executorOptions"),Object(r.b)("p",null,"execution options"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandExecOptions public executorOptions\npublic String\\[] getExecutorOptions()\npublic NutsCommandExecOptions setExecutorOptions(executorOptions)\n")),Object(r.b)("h4",{id:"-failfast"},"\ud83d\udcdd\ud83c\udf9b failFast"),Object(r.b)("p",null,"when fail fast,non zero exit value will raise NutsExecutionException"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandExecOptions public failFast\npublic boolean isFailFast()\npublic NutsCommandExecOptions setFailFast(failFast)\n")),Object(r.b)("h3",{id:"-instance-methods-5"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-equalso"},"\u2699 equals(o)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"Object o")," : ")),Object(r.b)("h4",{id:"-hashcode"},"\u2699 hashCode()"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":int"),Object(r.b)("h4",{id:"-tostring"},"\u2699 toString()"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":String"),Object(r.b)("h2",{id:"-nutscommandline"},"\u2615 NutsCommandLine"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsCommandLine\n")),Object(r.b)("p",null," Simple Command line parser implementation. The command line supports\narguments in the following forms :\n\\","\n\\"," non option arguments : any argument that does not start with \\'-\\'\\"),Object(r.b)("p",null," \\","\nlong option arguments : any argument that starts with a single \\'--\\' in the\nform of\n\\","--","[","//","]","[","!","]","?","[","^=]",Object(r.b)("em",{parentName:"p"},"[","=."),"]\\","\n\\","\n\\","// means disabling the option\\","\n\\","! means switching (to \\'false\\') the option\\'s value\\","\n\\","the string before the \\'=\\' is the option\\'s key\\","\n\\","the string after the \\'=\\' is the option\\'s value\\","\n\\","\nExamples :\n\\","\n\\","--!enable : option \\'enable\\' with \\'false\\' value\\","\n\\","--enable=yes : option \\'enable\\' with \\'yes\\' value\\","\n\\","--!enable=yes : invalid option (no error will be thrown but the result\nis undefined)\\","\n\\","\n\\","\n\\","\nsimple option arguments : any argument that starts with a single \\'-\\' in the\nform of\n\\","-","[","//","]","[","!]?","[","a","-","z","]","[","=.*]\\"," This is actually very similar to long options\n\\","\n\\","-!enable (with expandSimpleOptions=false) : option \\'enable\\' with \\'false\\'\nvalue\\","\n\\","--enable=yes : option \\'enable\\' with \\'yes\\' value\\","\n\\","--!enable=yes : invalid option (no error will be thrown but the result\nis undefined)\\","\n\\"),Object(r.b)("p",null," \\","\n\\","\ncondensed simple option arguments : any argument that starts with a single \\'-\\' in the\nform of\n\\","-","[","//](","[","!]?","[","a","-","z","]",")+","[","=.*]\\"," This is actually very similar to long options\nand is parsable when expandSimpleOptions=true. When activating expandSimpleOptions, multi\ncharacters key will be expanded as multiple separate simple options Examples\n:\n\\","\n\\","-!enable (with expandSimpleOptions=false) : option \\'enable\\' with \\'false\\'\nvalue\\","\n\\","--enable=yes : option \\'enable\\' with \\'yes\\' value\\","\n\\","--!enable=yes : invalid option (no error will be thrown but the result\nis undefined)\\","\n\\"),Object(r.b)("p",null," \\"),Object(r.b)("p",null," \\","long option arguments : any argument that starts with a \\'--\\' \\","\n\\","\noption may start with \\'!\\' to switch armed flags expandSimpleOptions : when\nactivated"),Object(r.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Command Line"),Object(r.b)("h3",{id:"-instance-properties-6"},"\ud83c\udf9b Instance Properties"),Object(r.b)("h4",{id:"-arguments"},"\u270f\ud83c\udf9b arguments"),Object(r.b)("p",null,"reset this instance with the given arguments"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsCommandLine public arguments\npublic NutsCommandLine setArguments(arguments)\n")),Object(r.b)("h4",{id:"-autocomplete"},"\ud83d\udcdd\ud83c\udf9b autoComplete"),Object(r.b)("p",null,"set autocomplete instance"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandLine public autoComplete\npublic NutsCommandAutoComplete getAutoComplete()\npublic NutsCommandLine setAutoComplete(autoComplete)\n")),Object(r.b)("h4",{id:"-autocompletemode"},"\ud83d\udcc4\ud83c\udf9b autoCompleteMode"),Object(r.b)("p",null,"true if auto complete instance is registered (is not null)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public autoCompleteMode\npublic boolean isAutoCompleteMode()\n")),Object(r.b)("h4",{id:"-commandname"},"\ud83d\udcdd\ud83c\udf9b commandName"),Object(r.b)("p",null,"set command name that will be used as an extra info in thrown exceptions"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandLine public commandName\npublic String getCommandName()\npublic NutsCommandLine setCommandName(commandName)\n")),Object(r.b)("h4",{id:"-empty"},"\ud83d\udcc4\ud83c\udf9b empty"),Object(r.b)("p",null,"true if no more arguments are available"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public empty\npublic boolean isEmpty()\n")),Object(r.b)("h4",{id:"-execmode"},"\ud83d\udcc4\ud83c\udf9b execMode"),Object(r.b)("p",null,"true if auto complete instance is not registered (is null)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public execMode\npublic boolean isExecMode()\n")),Object(r.b)("h4",{id:"-expandsimpleoptions"},"\ud83d\udcdd\ud83c\udf9b expandSimpleOptions"),Object(r.b)("p",null,"enable or disable simple option expansion"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandLine public expandSimpleOptions\npublic boolean isExpandSimpleOptions()\npublic NutsCommandLine setExpandSimpleOptions(expand)\n")),Object(r.b)("h4",{id:"-specialsimpleoptions"},"\ud83d\udcc4\ud83c\udf9b specialSimpleOptions"),Object(r.b)("p",null,"list of registered simple options"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String\\[] public specialSimpleOptions\npublic String\\[] getSpecialSimpleOptions()\n")),Object(r.b)("h4",{id:"-wordindex"},"\ud83d\udcc4\ud83c\udf9b wordIndex"),Object(r.b)("p",null,"current word index"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public wordIndex\npublic int getWordIndex()\n")),Object(r.b)("h3",{id:"-instance-methods-6"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-acceptvalues"},"\u2699 accept(values)"),Object(r.b)("p",null,"true if arguments start with the given suite."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean accept(String\\[] values)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] values")," : arguments suite")),Object(r.b)("h4",{id:"-acceptindex-values"},"\u2699 accept(index, values)"),Object(r.b)("p",null,"true if arguments start at index ","{","\\@code index","}"," with the given suite."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean accept(int index, String\\[] values)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"int index")," : starting index"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] values")," : arguments suite")),Object(r.b)("h4",{id:"-containsname"},"\u2699 contains(name)"),Object(r.b)("p",null,"return true if any argument is equal to the given name"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean contains(String name)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String name")," : argument name")),Object(r.b)("h4",{id:"-findname"},"\u2699 find(name)"),Object(r.b)("p",null,"find first argument with argument key name"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument find(String name)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String name")," : argument key name")),Object(r.b)("h4",{id:"-getindex"},"\u2699 get(index)"),Object(r.b)("p",null,"return argument at given index"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument get(int index)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"int index")," : argument index")),Object(r.b)("h4",{id:"-hasnext"},"\u2699 hasNext()"),Object(r.b)("p",null,"true if there still at least one argument to consume"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean hasNext()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("h4",{id:"-indexofname"},"\u2699 indexOf(name)"),Object(r.b)("p",null,"first argument index (or -1 if not found) with value ","{","\\@code name","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"int indexOf(String name)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":int"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String name")," : argument key name")),Object(r.b)("h4",{id:"-isnonoptionindex"},"\u2699 isNonOption(index)"),Object(r.b)("p",null,"true if the argument and index exists and is non option"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean isNonOption(int index)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"int index")," : index")),Object(r.b)("h4",{id:"-isoptionindex"},"\u2699 isOption(index)"),Object(r.b)("p",null,"true if the argument and index exists and is option"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean isOption(int index)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"int index")," : index")),Object(r.b)("h4",{id:"-isspecialsimpleoptionoption"},"\u2699 isSpecialSimpleOption(option)"),Object(r.b)("p",null,"test if the option is a registered simple option\nThis method helps considering \\'-version\\' as a single simple options when\n","{","\\@code isExpandSimpleOptions()==true","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean isSpecialSimpleOption(String option)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String option")," : option")),Object(r.b)("h4",{id:"-length"},"\u2699 length()"),Object(r.b)("p",null,"number of arguments available to retrieve"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"int length()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":int"),Object(r.b)("h4",{id:"-next"},"\u2699 next()"),Object(r.b)("p",null,"consume (remove) the first argument and return it return null if not\nargument is left"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument next()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("h4",{id:"-nextname"},"\u2699 next(name)"),Object(r.b)("p",null,"consume (remove) the first argument and return it while adding a hint to\nAuto Complete about expected argument candidates return null if not\nargument is left"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument next(NutsArgumentName name)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgumentName name")," : expected argument name")),Object(r.b)("h4",{id:"-nextnames"},"\u2699 next(names)"),Object(r.b)("p",null,"next argument with any value type (may having not a value). equivalent to\n","{","\\@code next(NutsArgumentType.ANY,names)","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument next(String\\[] names)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] names")," : names")),Object(r.b)("h4",{id:"-nextexpectvalue-names"},"\u2699 next(expectValue, names)"),Object(r.b)("p",null,"next argument with any value type (may having not a value)."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument next(NutsArgumentType expectValue, String\\[] names)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgumentType expectValue")," : expected value type"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] names")," : names")),Object(r.b)("h4",{id:"-nextbooleannames"},"\u2699 nextBoolean(names)"),Object(r.b)("p",null,"next argument with boolean value equivalent to\nnext(NutsArgumentType.STRING,names)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument nextBoolean(String\\[] names)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] names")," : names")),Object(r.b)("h4",{id:"-nextnonoption"},"\u2699 nextNonOption()"),Object(r.b)("p",null,"next argument if it exists and it is a non option. Return null in all\nother cases."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument nextNonOption()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("h4",{id:"-nextnonoptionname"},"\u2699 nextNonOption(name)"),Object(r.b)("p",null,"next argument if it exists and it is a non option. Return null in all\nother cases."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument nextNonOption(NutsArgumentName name)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgumentName name")," : argument specification (may be null)")),Object(r.b)("h4",{id:"-nextrequirednonoptionname"},"\u2699 nextRequiredNonOption(name)"),Object(r.b)("p",null,"next argument if it exists and it is a non option. Throw an error in all\nother cases."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument nextRequiredNonOption(NutsArgumentName name)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgumentName name")," : argument specification (may be null)")),Object(r.b)("h4",{id:"-nextstringnames"},"\u2699 nextString(names)"),Object(r.b)("p",null,"next argument with string value. equivalent to\nnext(NutsArgumentType.STRING,names)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument nextString(String\\[] names)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] names")," : names")),Object(r.b)("h4",{id:"-parselinecommandline"},"\u2699 parseLine(commandLine)"),Object(r.b)("p",null,"reset this instance with the given parsed arguments"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine parseLine(String commandLine)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String commandLine")," : to parse")),Object(r.b)("h4",{id:"-peek"},"\u2699 peek()"),Object(r.b)("p",null,"the first argument to consume without removing/consuming it or null if\nnot argument is left"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument peek()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("h4",{id:"-pushbackarg"},"\u2699 pushBack(arg)"),Object(r.b)("p",null,"push back argument so that it will be first to be retrieved (using next methods)"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine pushBack(NutsArgument arg)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgument arg")," : argument")),Object(r.b)("h4",{id:"-registerspecialsimpleoptionoption"},"\u2699 registerSpecialSimpleOption(option)"),Object(r.b)("p",null,"register ","{","\\@code options","}"," as simple (with simple \\'-\\') option.\nThis method helps considering \\'-version\\' as a single simple options when\n","{","\\@code isExpandSimpleOptions()==true","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine registerSpecialSimpleOption(String option)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String option")," : option")),Object(r.b)("h4",{id:"-requirenonoption"},"\u2699 requireNonOption()"),Object(r.b)("p",null,"throw exception if command line is empty or the first word is an option"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine requireNonOption()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("h4",{id:"-required-1"},"\u2699 required()"),Object(r.b)("p",null,"throw exception if command line is empty"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine required()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("h4",{id:"-requirederrormessage"},"\u2699 required(errorMessage)"),Object(r.b)("p",null,"throw exception if command line is empty"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine required(String errorMessage)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String errorMessage")," : message to throw")),Object(r.b)("h4",{id:"-skip"},"\u2699 skip()"),Object(r.b)("p",null,"skip next argument"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"int skip()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":int"),Object(r.b)("h4",{id:"-skipcount"},"\u2699 skip(count)"),Object(r.b)("p",null,"consume ","{","\\@code count","}"," words and return how much it was able to consume"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"int skip(int count)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":int"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"int count")," : count")),Object(r.b)("h4",{id:"-skipall"},"\u2699 skipAll()"),Object(r.b)("p",null,"consume all words and return consumed count"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"int skipAll()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":int"),Object(r.b)("h4",{id:"-toarray"},"\u2699 toArray()"),Object(r.b)("p",null,"returns un-parsed (or partially parsed) available arguments"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"String\\[] toArray()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":String","[","]"),Object(r.b)("h4",{id:"-unexpectedargument"},"\u2699 unexpectedArgument()"),Object(r.b)("p",null,"throw exception if command line is not empty"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine unexpectedArgument()\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("h4",{id:"-unexpectedargumenterrormessage"},"\u2699 unexpectedArgument(errorMessage)"),Object(r.b)("p",null,"throw exception if command line is not empty"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine unexpectedArgument(String errorMessage)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String errorMessage")," : message to throw")),Object(r.b)("h4",{id:"-unregisterspecialsimpleoptionoption"},"\u2699 unregisterSpecialSimpleOption(option)"),Object(r.b)("p",null,"unregister ","{","\\@code options","}"," as simple (with simple \\'-\\') option.\nThis method helps considering \\'-version\\' as a single simple options when\n","{","\\@code isExpandSimpleOptions()==true","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine unregisterSpecialSimpleOption(String option)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String option")," : option")),Object(r.b)("h2",{id:"-nutscommandlineformat"},"\u2615 NutsCommandLineFormat"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsCommandLineFormat\n")),Object(r.b)("p",null," Simple Command line Format"),Object(r.b)("p",null," \\@author vpc\n\\@since 0.5.7\n\\@category Command Line"),Object(r.b)("h3",{id:"-instance-properties-7"},"\ud83c\udf9b Instance Properties"),Object(r.b)("h4",{id:"-session-1"},"\u270f\ud83c\udf9b session"),Object(r.b)("p",null,"update session"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsCommandLineFormat public session\npublic NutsCommandLineFormat setSession(session)\n")),Object(r.b)("h4",{id:"-value-1"},"\ud83d\udcdd\ud83c\udf9b value"),Object(r.b)("p",null,"set command line from parsed string"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsCommandLineFormat public value\npublic NutsCommandLine getValue()\npublic NutsCommandLineFormat setValue(args)\n")),Object(r.b)("h3",{id:"-instance-methods-7"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-configureskipunsupported-args"},"\u2699 configure(skipUnsupported, args)"),Object(r.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLineFormat configure(boolean skipUnsupported, String\\[] args)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLineFormat"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] args")," : argument to configure with")),Object(r.b)("h4",{id:"-createargs"},"\u2699 create(args)"),Object(r.b)("p",null,"return new Command line instance"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine create(String\\[] args)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] args")," : command line args")),Object(r.b)("h4",{id:"-createargs-1"},"\u2699 create(args)"),Object(r.b)("p",null,"return new Command line instance"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine create(List args)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"List args")," : command line args")),Object(r.b)("h4",{id:"-createargumentargument"},"\u2699 createArgument(argument)"),Object(r.b)("p",null,"create new argument"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgument createArgument(String argument)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgument"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String argument")," : new argument")),Object(r.b)("h4",{id:"-createcandidatevalue"},"\u2699 createCandidate(value)"),Object(r.b)("p",null,"create argument candidate"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgumentCandidate createCandidate(String value)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgumentCandidate"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String value")," : candidate value")),Object(r.b)("h4",{id:"-createcandidatevalue-label"},"\u2699 createCandidate(value, label)"),Object(r.b)("p",null,"create argument candidate"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgumentCandidate createCandidate(String value, String label)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgumentCandidate"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String value")," : candidate value"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String label")," : candidate label")),Object(r.b)("h4",{id:"-createnametype"},"\u2699 createName(type)"),Object(r.b)("p",null,"create argument name"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgumentName createName(String type)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgumentName"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String type")," : create argument type")),Object(r.b)("h4",{id:"-createnametype-label"},"\u2699 createName(type, label)"),Object(r.b)("p",null,"create argument name"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsArgumentName createName(String type, String label)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsArgumentName"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String type")," : argument type"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String label")," : argument label")),Object(r.b)("h4",{id:"-parseline"},"\u2699 parse(line)"),Object(r.b)("p",null,"return new Command line instance"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"NutsCommandLine parse(String line)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":NutsCommandLine"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String line")," : command line to parse")),Object(r.b)("h2",{id:"-nutscommandlineprocessor"},"\u2615 NutsCommandLineProcessor"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsCommandLineProcessor\n")),Object(r.b)("p",null," \\@category Command Line"),Object(r.b)("h3",{id:"-instance-methods-8"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-exec"},"\u2699 exec()"),Object(r.b)("p",null,"execute options, called after all options was processed and\ncmdLine.isExecMode() return true."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"void exec()\n")),Object(r.b)("h4",{id:"-processnonoptionargument-cmdline"},"\u2699 processNonOption(argument, cmdLine)"),Object(r.b)("p",null,"process the given non option argument that was peeked from the command line.\nImplementations \\","MUST\\",' call one of\nthe "next" methods to'),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean processNonOption(NutsArgument argument, NutsCommandLine cmdLine)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgument argument")," : peeked argument"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsCommandLine cmdLine")," : associated commandline")),Object(r.b)("h4",{id:"-processoptionargument-cmdline"},"\u2699 processOption(argument, cmdLine)"),Object(r.b)("p",null,"process the given option argument that was peeked from the command line.\nImplementations \\","MUST\\",' call one of\nthe "next" methods to'),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean processOption(NutsArgument argument, NutsCommandLine cmdLine)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsArgument argument")," : peeked argument"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsCommandLine cmdLine")," : associated commandline")),Object(r.b)("h2",{id:"-nutsconfigurable"},"\u2615 NutsConfigurable"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsConfigurable\n")),Object(r.b)("p",null," Configurable interface define a extensible way to configure nuts commands\nand objects using simple argument line options.\n\\@author vpc\n\\@since 0.5.5\n\\@category Command Line"),Object(r.b)("h3",{id:"-instance-methods-9"},"\u2699 Instance Methods"),Object(r.b)("h4",{id:"-configureskipunsupported-args-1"},"\u2699 configure(skipUnsupported, args)"),Object(r.b)("p",null,"configure the current command with the given arguments."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"Object configure(boolean skipUnsupported, String\\[] args)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":Object"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped\nsilently"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"String","[","] args")," : arguments to configure with")),Object(r.b)("h4",{id:"-configureskipunsupported-commandline"},"\u2699 configure(skipUnsupported, commandLine)"),Object(r.b)("p",null,"configure the current command with the given arguments."),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean configure(boolean skipUnsupported, NutsCommandLine commandLine)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped\nsilently"),Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsCommandLine commandLine")," : arguments to configure with")),Object(r.b)("h4",{id:"-configurefirstcommandline"},"\u2699 configureFirst(commandLine)"),Object(r.b)("p",null,"ask ","{","\\@code this","}"," instance to configure with the very first argument of\n","{","\\@code commandLine","}",". If the first argument is not supported, return\n","{","\\@code false","}"," and consume (skip/read) the argument. If the argument\nrequired one or more parameters, these arguments are also consumed and\nfinally return ","{","\\@code true","}"),Object(r.b)("pre",null,Object(r.b)("code",Object(a.a)({parentName:"pre"},{className:"language-java"}),"boolean configureFirst(NutsCommandLine commandLine)\n")),Object(r.b)("p",null,Object(r.b)("strong",{parentName:"p"},"return"),":boolean"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},Object(r.b)("strong",{parentName:"li"},"NutsCommandLine commandLine")," : arguments to configure with")))}o.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/docs/blog/hello-world/index.html b/docs/blog/hello-world/index.html new file mode 100644 index 000000000..e210bf867 --- /dev/null +++ b/docs/blog/hello-world/index.html @@ -0,0 +1,29 @@ + + + + + + +Hello | Nuts + + + + + + + + + + +
+
+ + + + + + + + + + \ No newline at end of file diff --git a/docs/blog/hola/index.html b/docs/blog/hola/index.html new file mode 100644 index 000000000..bd41a223f --- /dev/null +++ b/docs/blog/hola/index.html @@ -0,0 +1,29 @@ + + + + + + +Hola | Nuts + + + + + + + + + + +
+

Hola

Gao Wei

Gao Wei

Docusaurus Core Team

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + + + + + + + + + \ No newline at end of file diff --git a/docs/blog/index.html b/docs/blog/index.html new file mode 100644 index 000000000..d13b01cbc --- /dev/null +++ b/docs/blog/index.html @@ -0,0 +1,35 @@ + + + + + + +Blog | Nuts + + + + + + + + + + + + + +
+

Welcome

Yangshun Tay

Yangshun Tay

Front End Engineer @ Facebook

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

Delete the whole directory if you don't want the blog features. As simple as that!

Hola

Gao Wei

Gao Wei

Docusaurus Core Team

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/blog/tags/hola/index.html b/docs/blog/tags/hola/index.html new file mode 100644 index 000000000..8a776fdda --- /dev/null +++ b/docs/blog/tags/hola/index.html @@ -0,0 +1,31 @@ + + + + + + +Posts tagged "hola" | Nuts + + + + + + + + + + + +
+

1 post tagged with "hola"

View All Tags

Hola

Gao Wei

Gao Wei

Docusaurus Core Team

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + + + + + + + + + + \ No newline at end of file diff --git a/docs/blog/tags/index.html b/docs/blog/tags/index.html new file mode 100644 index 000000000..bed553cda --- /dev/null +++ b/docs/blog/tags/index.html @@ -0,0 +1,27 @@ + + + + + + +Tags | Nuts + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/blog/tags/nuts/index.html b/docs/blog/tags/nuts/index.html new file mode 100644 index 000000000..c0cfd12e0 --- /dev/null +++ b/docs/blog/tags/nuts/index.html @@ -0,0 +1,35 @@ + + + + + + +Posts tagged "nuts" | Nuts + + + + + + + + + + + + + +
+

3 posts tagged with "nuts"

View All Tags

Welcome

Yangshun Tay

Yangshun Tay

Front End Engineer @ Facebook

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

Delete the whole directory if you don't want the blog features. As simple as that!

Hola

Gao Wei

Gao Wei

Docusaurus Core Team

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/blog/welcome/index.html b/docs/blog/welcome/index.html new file mode 100644 index 000000000..3fbb0354e --- /dev/null +++ b/docs/blog/welcome/index.html @@ -0,0 +1,29 @@ + + + + + + +Welcome | Nuts + + + + + + + + + + +
+

Welcome

Yangshun Tay

Yangshun Tay

Front End Engineer @ Facebook

Blog features are powered by the blog plugin. Simply add files to the blog directory. It supports tags as well!

Delete the whole directory if you don't want the blog features. As simple as that!

+ + + + + + + + + + \ No newline at end of file diff --git a/docs/c182d085.dd301b22.js b/docs/c182d085.dd301b22.js new file mode 100644 index 000000000..c1b2ab61c --- /dev/null +++ b/docs/c182d085.dd301b22.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{118:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return O}));var a=n(0),l=n.n(a);function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var i=l.a.createContext({}),s=function(e){var t=l.a.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},p=function(e){var t=s(e.components);return l.a.createElement(i.Provider,{value:t},e.children)},j={inlineCode:"code",wrapper:function(e){var t=e.children;return l.a.createElement(l.a.Fragment,{},t)}},m=l.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,b=e.originalType,r=e.parentName,i=u(e,["components","mdxType","originalType","parentName"]),p=s(n),m=a,O=p["".concat(r,".").concat(m)]||p[m]||j[m]||b;return n?l.a.createElement(O,c(c({ref:t},i),{},{components:n})):l.a.createElement(O,c({ref:t},i))}));function O(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var b=n.length,r=new Array(b);r[0]=m;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:a,r[1]=c;for(var i=2;i=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=o.a.createContext({}),s=function(e){var t=o.a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},p=function(e){var t=s(e.components);return o.a.createElement(u.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},b=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,i=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=s(n),b=r,m=p["".concat(i,".").concat(b)]||p[b]||d[b]||a;return n?o.a.createElement(m,c(c({ref:t},u),{},{components:n})):o.a.createElement(m,c({ref:t},u))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,i=new Array(a);i[0]=b;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:r,i[1]=c;for(var u=2;u=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var b=r.a.createContext({}),l=function(e){var t=r.a.useContext(b),a=t;return e&&(a="function"==typeof e?e(t):o(o({},t),e)),a},p=function(e){var t=l(e.components);return r.a.createElement(b.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},j=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,s=e.originalType,c=e.parentName,b=i(e,["components","mdxType","originalType","parentName"]),p=l(a),j=n,O=p["".concat(c,".").concat(j)]||p[j]||u[j]||s;return a?r.a.createElement(O,o(o({ref:t},b),{},{components:a})):r.a.createElement(O,o({ref:t},b))}));function O(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var s=a.length,c=new Array(s);c[0]=j;var o={};for(var i in t)hasOwnProperty.call(t,i)&&(o[i]=t[i]);o.originalType=e,o.mdxType="string"==typeof e?e:n,c[1]=o;for(var b=2;b"},r.a.createElement("header",{className:Object(c.a)("hero hero--primary",p.a.heroBanner)},r.a.createElement("div",{className:"container"},r.a.createElement("h1",{className:"hero__title"},a.title),r.a.createElement("p",{className:"hero__subtitle"},a.tagline),r.a.createElement("div",{className:p.a.buttons},r.a.createElement(s.a,{className:Object(c.a)("button button--outline button--secondary button--lg",p.a.getStarted),to:Object(m.a)("docs/")},"Get Started"),"\xa0\xa0\xa0\xa0\xa0",r.a.createElement(s.a,{className:Object(c.a)("button button--secondary button--lg",p.a.getStarted),to:"https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.0/nuts-0.7.0.jar"},"Download")))),r.a.createElement("main",null,g&&g.length>0&&r.a.createElement("section",{className:p.a.features},r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"row"},g.map((e,a)=>r.a.createElement(d,Object(n.a)({key:a},e))))))))}}}]); \ No newline at end of file diff --git a/docs/ccc49370.d1a8103c.js b/docs/ccc49370.d1a8103c.js new file mode 100644 index 000000000..d5873d6aa --- /dev/null +++ b/docs/ccc49370.d1a8103c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{116:function(e,a,t){"use strict";t.r(a);var n=t(0),l=t.n(n),i=t(123),r=t(133),m=t(121);var c=function(e){const{nextItem:a,prevItem:t}=e;return l.a.createElement("nav",{className:"pagination-nav","aria-label":"Blog post page navigation"},l.a.createElement("div",{className:"pagination-nav__item"},t&&l.a.createElement(m.a,{className:"pagination-nav__link",to:t.permalink},l.a.createElement("div",{className:"pagination-nav__sublabel"},"Newer Post"),l.a.createElement("div",{className:"pagination-nav__label"},"\xab ",t.title))),l.a.createElement("div",{className:"pagination-nav__item pagination-nav__item--next"},a&&l.a.createElement(m.a,{className:"pagination-nav__link",to:a.permalink},l.a.createElement("div",{className:"pagination-nav__sublabel"},"Older Post"),l.a.createElement("div",{className:"pagination-nav__label"},a.title," \xbb"))))};a.default=function(e){const{content:a}=e,{frontMatter:t,metadata:n}=a,{title:m,description:s,nextItem:o,prevItem:v,editUrl:p}=n;return l.a.createElement(i.a,{title:m,description:s},a&&l.a.createElement("div",{className:"container margin-vert--lg"},l.a.createElement("div",{className:"row"},l.a.createElement("div",{className:"col col--8 col--offset-2"},l.a.createElement(r.a,{frontMatter:t,metadata:n,isBlogPostPage:!0},l.a.createElement(a,null)),l.a.createElement("div",null,p&&l.a.createElement("a",{href:p,target:"_blank",rel:"noreferrer noopener"},l.a.createElement("svg",{fill:"currentColor",height:"1.2em",width:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 40 40",style:{marginRight:"0.3em",verticalAlign:"sub"}},l.a.createElement("g",null,l.a.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"}))),"Edit this page")),(o||v)&&l.a.createElement("div",{className:"margin-vert--xl"},l.a.createElement(c,{nextItem:o,prevItem:v}))))))}}}]); \ No newline at end of file diff --git a/docs/ce3e42ad.2c35e73f.js b/docs/ce3e42ad.2c35e73f.js new file mode 100644 index 000000000..288348c23 --- /dev/null +++ b/docs/ce3e42ad.2c35e73f.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{104:function(e,t,r){"use strict";r.r(t),r.d(t,"frontMatter",(function(){return c})),r.d(t,"metadata",(function(){return i})),r.d(t,"rightToc",(function(){return u})),r.d(t,"Highlight",(function(){return p})),r.d(t,"default",(function(){return s}));var n=r(2),o=r(6),a=(r(0),r(118)),c={id:"mdx",title:"Powered by MDX"},i={unversionedId:"mdx",id:"mdx",isDocsHomePage:!1,title:"Powered by MDX",description:"You can write JSX and use React components within your Markdown thanks to MDX.",source:"@site/docs/mdx.md",permalink:"/nuts/docs/mdx",editUrl:"https://github.com/facebook/docusaurus/edit/master/website/docs/mdx.md"},u=[],p=function(e){var t=e.children,r=e.color;return Object(a.b)("span",{style:{backgroundColor:r,borderRadius:"2px",color:"#fff",padding:"0.2rem"}},t)},l={rightToc:u,Highlight:p};function s(e){var t=e.components,r=Object(o.a)(e,["components"]);return Object(a.b)("wrapper",Object(n.a)({},l,r,{components:t,mdxType:"MDXLayout"}),Object(a.b)("p",null,"You can write JSX and use React components within your Markdown thanks to ",Object(a.b)("a",Object(n.a)({parentName:"p"},{href:"https://mdxjs.com/"}),"MDX"),"."),Object(a.b)(p,{color:"#25c2a0",mdxType:"Highlight"},"Docusaurus green")," and ",Object(a.b)(p,{color:"#1877F2",mdxType:"Highlight"},"Facebook blue")," are my favorite colors.",Object(a.b)("p",null,"I can write ",Object(a.b)("strong",{parentName:"p"},"Markdown")," alongside my ",Object(a.b)("em",{parentName:"p"},"JSX"),"!"))}s.isMDXComponent=!0},118:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return b}));var n=r(0),o=r.n(n);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=o.a.createContext({}),l=function(e){var t=o.a.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=l(e.components);return o.a.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=l(r),f=n,b=s["".concat(c,".").concat(f)]||s[f]||d[f]||a;return r?o.a.createElement(b,i(i({ref:t},p),{},{components:r})):o.a.createElement(b,i({ref:t},p))}));function b(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i.mdxType="string"==typeof e?e:n,c[1]=i;for(var p=2;p=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=o.a.createContext({}),p=function(e){var t=o.a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},d=function(e){var t=p(e.components);return o.a.createElement(c.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},u=o.a.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,r=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),d=p(n),u=a,m=d["".concat(r,".").concat(u)]||d[u]||b[u]||i;return n?o.a.createElement(m,s(s({ref:t},c),{},{components:n})):o.a.createElement(m,s({ref:t},c))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,r=new Array(i);r[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:a,r[1]=s;for(var c=2;c","\nCreated by vpc on 1/14/17."),Object(o.b)("p",null," \\@since 0.1.0\n\\@category Constants"))}p.isMDXComponent=!0},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return b}));var r=n(0),a=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=a.a.createContext({}),p=function(e){var t=a.a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},l=function(e){var t=p(e.components);return a.a.createElement(u.Provider,{value:t},e.children)},_={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},d=a.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),l=p(n),d=r,b=l["".concat(c,".").concat(d)]||l[d]||_[d]||o;return n?a.a.createElement(b,s(s({ref:t},u),{},{components:n})):a.a.createElement(b,s({ref:t},u))}));function b(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,c=new Array(o);c[0]=d;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s.mdxType="string"==typeof e?e:r,c[1]=s;for(var u=2;u=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=o.a.createContext({}),p=function(e){var t=o.a.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return o.a.createElement(u.Provider,{value:t},e.children)},b={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=n,m=s["".concat(c,".").concat(f)]||s[f]||b[f]||a;return r?o.a.createElement(m,i(i({ref:t},u),{},{components:r})):o.a.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:n,c[1]=i;for(var u=2;u=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=o.a.createContext({}),l=function(e){var t=o.a.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},s=function(e){var t=l(e.components);return o.a.createElement(p.Provider,{value:t},e.children)},f={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},d=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=l(n),d=r,m=s["".concat(c,".").concat(d)]||s[d]||f[d]||a;return n?o.a.createElement(m,i(i({ref:t},p),{},{components:n})):o.a.createElement(m,i({ref:t},p))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,c=new Array(a);c[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i.mdxType="string"==typeof e?e:r,c[1]=i;for(var p=2;p + + + + + +Aliases | Nuts + + + + + + + + + + + + +
+

Aliases

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/advanced/automation/index.html b/docs/docs/advanced/automation/index.html new file mode 100644 index 000000000..e5780c6c5 --- /dev/null +++ b/docs/docs/advanced/automation/index.html @@ -0,0 +1,33 @@ + + + + + + +Automation | Nuts + + + + + + + + + + + + +
+

Automation

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/advanced/doc1/index.html b/docs/docs/advanced/doc1/index.html new file mode 100644 index 000000000..b06eb2baa --- /dev/null +++ b/docs/docs/advanced/doc1/index.html @@ -0,0 +1,37 @@ + + + + + + +Style Guide | Nuts + + + + + + + + + + + + +
+

Style Guide

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

Nuts Text Coloring Format

nuts comes up with a simple coloring syntax that helps writing better looking portable command line programs. +standard output is automatically configured to accept the "Nuts Text Coloring Format" (NTCF) syntax. +Though it remains possible to disable this ability using the --no-color standard option (or programmatically, +see nuts API documentation). NTCF will be translated to the underlying terminal implementation using ANSI +escape code on linux/windows terminals if available.

Here after a showcase of available NTCF syntax.

text-coloring-format

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/advanced/filesystem/index.html b/docs/docs/advanced/filesystem/index.html new file mode 100644 index 000000000..e352cb43e --- /dev/null +++ b/docs/docs/advanced/filesystem/index.html @@ -0,0 +1,35 @@ + + + + + + +File system | Nuts + + + + + + + + + + + + +
+

File system

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

nuts manages multiple workspaces. It has a default one located at ~/.config/nuts (~ is the user home directory). Each workspace handles a database and files related to the installed applications. The workspace has a specific layout to store different types of files relatives to your applications. Nuts is largely inspired by XDG Base Directory Specification and hence defines several store locations for each file type. Such organization of folders is called Layout and is dependent on the current operating system, the layout strategy and any custom configuration.

Store Locations

Supported Store Locations are : +nuts File System defines the following folders :

  • config : defines the base directory relative to which application specific configuration files should be stored.
  • apps : defines the base directory relative to which application executable binaries should be stored
  • lib : defines the base directory relative to which application non executable binaries should be stored
  • var : defines the base directory relative to which application specific data files (other than config) should be stored
  • log : defines the base directory relative to which application specific log and trace files should be stored
  • temp : defines the base directory relative to which application specific temporary files should be stored
  • cache : defines the base directory relative to which application non-essential data and binary files should be stored to optimize bandwidth or performance
  • run : defines the base directory relative to which application-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored

nuts defines such distinct folders (named Store Locations) for storing different types of application data according to your operating system.

On Windows Systems the default locations are :

* apps : "$HOME/AppData/Roaming/nuts/apps"
* lib : "$HOME/AppData/Roaming/nuts/lib"
* config : "$HOME/AppData/Roaming/nuts/config"
* var : "$HOME/AppData/Roaming/nuts/var"
* log : "$HOME/AppData/Roaming/nuts/log"
* temp : "$HOME/AppData/Local/nuts/temp"
* cache : "$HOME/AppData/Local/nuts/cache"
* run : "$HOME/AppData/Local/nuts/run"

On Linux, Unix, MacOS and any POSIX System the default locations are :

* config : "$HOME/.config/nuts"
* apps : "$HOME/.local/share/nuts/apps"
* lib : "$HOME/.local/share/nuts/lib"
* var : "$HOME/.local/share/nuts/var"
* log : "$HOME/.local/log/nuts"
* cache : "$HOME/.cache/nuts"
* temp : "$java.io.tmpdir/$username/nuts"
* run : "/run/user/$USER_ID/nuts"

As an example, the configuration folder for the artifact net.vpc.app:netbeans-launcher#1.2.4 in the default workspace in a Linux environment is

home/me/.config/nuts/default-workspace/config/id/net/vpc/app/netbeans-launcher/1.2.4/

And the log file "app.log" for the same artifact in the workspace named "personal" in a Windows environment is located at

C:/Users/me/AppData/Roaming/nuts/log/nuts/personal/config/id/net/vpc/app/netbeans-launcher/1.2.4/app.log

Store Location Strategies

When you install any application using the nuts command a set of specific folders for the presented Store Locations are created. For that, +two strategies exist : Exploded strategy (the default) and Standalone strategy.

In Exploded strategy nuts defines top level folders (in linux ~/.config for config Store Location etc), and then creates withing each top level Store Location a sub folder for the given application (or application version to be more specific). This helps putting all your config files in a SSD partition for instance and make Nuts run faster. However if you are interested in the backup or roaming of your workspace, this may be not the best approach.

The Standalone strategy is indeed provided mainly for Roaming workspaces that can be shared, copied, moved to other locations. A single root folder will contain all of the Store Locations.

As an example, in "Standalone Strategy", the configuration folder for the artifact net.vpc.app:netbeans-launcher#1.2.4 in the default workspace in a Linux environment is

home/me/.config/nuts/default-workspace/config/id/net/vpc/app/netbeans-launcher/1.2.4/

And the log file "app.log" for the same artifact in the workspace named "personal" in the same Linux environment is located at

/home/me/.config/nuts/default-workspace/log/id/net/vpc/app/netbeans-launcher/1.2.4/

You can see here that the following folder will contain ALL the data files of the workspace.

/home/me/.config/nuts/default-workspace

whereas in the Exploded strategy the Store Location are "exploded" into multiple root folders.

Custom Store Locations

Of course, your able to configure separately each Store Location to meet your needs.

Selecting strategies

The following comman will create an exploded workspace

nuts -w my-workspace --exploded

The following comman will create an standalone workspace

nuts -w my-workspace --standalone

Finer Customization

The following command will create an exploded workspace and moves all config files to the SSD partition folder /myssd/myconfig

nuts -w my-workspace --system-config-home=/myssd/myconfig

You can type help for more details.

nuts help
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/advanced/portableWorkspaces/index.html b/docs/docs/advanced/portableWorkspaces/index.html new file mode 100644 index 000000000..b4729000d --- /dev/null +++ b/docs/docs/advanced/portableWorkspaces/index.html @@ -0,0 +1,33 @@ + + + + + + +Portable Workspaces | Nuts + + + + + + + + + + + + +
+

Portable Workspaces

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/doc1/index.html b/docs/docs/doc1/index.html new file mode 100644 index 000000000..ea6baaf3a --- /dev/null +++ b/docs/docs/doc1/index.html @@ -0,0 +1,33 @@ + + + + + + +Style Guide | Nuts + + + + + + + + + + + + +
+

Style Guide

You can write content using GitHub-flavored Markdown syntax.

Markdown Syntax

To serve as an example page when styling markdown based Docusaurus sites.

Headers

H1 - Create the best documentation

H2 - Create the best documentation

H3 - Create the best documentation

H4 - Create the best documentation

H5 - Create the best documentation
H6 - Create the best documentation

Emphasis

Emphasis, aka italics, with asterisks or underscores.

Strong emphasis, aka bold, with asterisks or underscores.

Combined emphasis with asterisks and underscores.

Strikethrough uses two tildes. Scratch this.


Lists

  1. First ordered list item
  2. Another item
    • Unordered sub-list.
  3. Actual numbers don't matter, just that it's a number
    1. Ordered sub-list
  4. And another item.
  • Unordered list can use asterisks
  • Or minuses
  • Or pluses

Links

I'm an inline-style link

I'm an inline-style link with title

I'm a reference-style link

You can use numbers for reference-style link definitions

Or leave it empty and use the link text itself.

URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or http://www.example.com/ and sometimes example.com (but not on GitHub, for example).

Some text to show that the reference links can follow later.


Images

Here's our logo (hover to see the title text):

Inline-style: alt text

Reference-style: alt text

Images from any folder can be used by providing path to file. Path should be relative to markdown file.

img


Code

var s = 'JavaScript syntax highlighting';
alert(s);
s = "Python syntax highlighting"
print(s)
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
function highlightMe() {
console.log('This line can be highlighted!');
}

Tables

Colons can be used to align columns.

TablesAreCool
col 3 isright-aligned\$1600
col 2 iscentered\$12
zebra stripesare neat\$1

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.

MarkdownLessPretty
Stillrendersnicely
123

Blockquotes

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

Quote break.

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.


Inline HTML

Definition list
Is something people use sometimes.
Markdown in HTML
Does *not* work **very** well. Use HTML tags.

Line Breaks

Here's a line for us to start with.

This line is separated from the one above by two newlines, so it will be a separate paragraph.

This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.


Admonitions

note

This is a note

tip

This is a tip

important

This is important

caution

This is a caution

warning

This is a warning

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/doc2/index.html b/docs/docs/doc2/index.html new file mode 100644 index 000000000..0c5e802ce --- /dev/null +++ b/docs/docs/doc2/index.html @@ -0,0 +1,33 @@ + + + + + + +Document Number 2 | Nuts + + + + + + + + + + + + +
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/doc3/index.html b/docs/docs/doc3/index.html new file mode 100644 index 000000000..b06f0ae93 --- /dev/null +++ b/docs/docs/doc3/index.html @@ -0,0 +1,33 @@ + + + + + + +This is Document Number 3 | Nuts + + + + + + + + + + + + +
+

This is Document Number 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique.

Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis.

Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor.

Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/fwk/firstNutsApp/index.html b/docs/docs/fwk/firstNutsApp/index.html new file mode 100644 index 000000000..bd7747e52 --- /dev/null +++ b/docs/docs/fwk/firstNutsApp/index.html @@ -0,0 +1,33 @@ + + + + + + +Your first Nuts Application | Nuts + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/fwk/nutsApp/index.html b/docs/docs/fwk/nutsApp/index.html new file mode 100644 index 000000000..9e7cbcf3c --- /dev/null +++ b/docs/docs/fwk/nutsApp/index.html @@ -0,0 +1,33 @@ + + + + + + +Nuts Applications | Nuts + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/get-started/commandline/index.html b/docs/docs/get-started/commandline/index.html new file mode 100644 index 000000000..54657fc37 --- /dev/null +++ b/docs/docs/get-started/commandline/index.html @@ -0,0 +1,37 @@ + + + + + + +Command Line Arguments | Nuts + + + + + + + + + + + + +
+

Command Line Arguments

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

Nuts Commandline

Nuts supports a specific format for command line arguments. This format is the format supported in nuts Application Framewok (NAF) and as such all NAF applications support the same command line arguments format. +Arguments in nuts can be options or non options. Options always start with dash (-).

Short vs Long Options

Options can be long options (starts with double dash) or short options (start with a single dash). +Many arguments support both forms. For instance "-w" and "--workspace" are the spported forms to define the workspace location in the nuts command.

Option Values

Options can also support a value of type string or boolean. The value can be suffixed to the option while separated with '=' sign or immediately after the option. As an example "-w=/myfolder/myworkspace" and "--workspace /myfolder/myworkspace" are equivalent.

Boolean Options

Particularly, when the value is a boolean, the value do not need to be defined. As a result "--skip-companions" and "--skip-companions=true" are equivalent. However "--skip-companions true" is not (because the option is of type boolean) and "true" will be parsed as a NonOption.

To define a "false" value to the boolean option we can either suffix with "=false" or prefix with "!" or "~" sign. +Hence, "--skip-companions=false", "--!skip-companions" and "--~skip-companions" are all equivalent.

Combo Simple Options

Simple options can be grouped in a single word. "-ls" is equivalent to "-l -s". So one should be careful. +One exception though. For portability reasons, "-version" is considered a single short option.

Ignoring Options, Comments

Options starting with "-//" and "--//" are simply ignored by the command line parser.

Nuts Option Types

Options in nuts are regrouped in multiple categories. An option can belong to multiple categories though.

  • Create Options : such options are only relevant when creating a new workspace. They define the configuration of the workspace to create. They will be ignored when the workspace already exists. Examples include

    • --skip-companions
    • --archetype
    • --store-strategy
    • --standalone
  • Open Options : such options are relevant when creating a new workspace or when opening an existing workspace. They define the way commands are executed. Examples include

    • --workspace
    • --bot
    • --reset
  • Exported Options : are passed to sub-nuts-processes that will be created by nuts. For instance when nuts will call the nsh command it will spawn a new process. In such case, these options are passed to the sub-process as environment variable.

    • --workspace
    • --bot
    • --no-color
  • Application Options : are options that are by default supported by Applications using NAF (Nuts Application Framework) (as well as Nuts it self).

    • --help
    • --version

all nuts options are described in the command help. Just type :

nuts --help
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/get-started/faq/index.html b/docs/docs/get-started/faq/index.html new file mode 100644 index 000000000..c6626c10f --- /dev/null +++ b/docs/docs/get-started/faq/index.html @@ -0,0 +1,46 @@ + + + + + + +Frequently Asked Questions | Nuts + + + + + + + + + + + + +
+

Frequently Asked Questions

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

Why do we need a package manager for Java. Isn't Maven enough?

please read Nuts Introduction, Why and What for

What does Nuts mean and why ?

nuts stands for "Network Updatable Things Services". It helps managing things (artifacts of any type, not only java). +The Name also helps depicting another idea : nuts is a good companion and complement to Maven tool. The word maven (MAY-vin), from Yiddish, means a super-enthusiastic expert/fan/connoisseur/Wizard. +And where wizards are, fools and nuts must be. nuts is the foolish tool to support the deployment and not the build. +Hence the name.

Does nuts support only jar packaging

Not only. nuts supports all packagings supported by maven. This includes pom , jar , maven-plugin , ejb , war , ear , rar. +However nuts is also intended to support any "thing" including "exe" ,"dll", "so", "zip" files, etc. +nuts differs from maven as it defines other properties to the artifact descriptor (aka pom in maven) : os (operating system), +arch (hardware architecture), osdist (relevant for linux for instance : opensuse, ubuntu) and platform (relevant to vm platforms like java vm, dotnet clr, etc). +Such properties are queried to download the most appropriate binaries for the the current characteristics.

Can I contribute to the project

I hoped you would ask this question. Sure. +You can drop me an email to add you as contributor or fork the repository and ping a pull request. +You can also open a new issue for feature implementation to invite any other contributor to implement that feature (or even implement it your self).

Where can I find Documentation about the Project

The doc folder is intended to include documentation. The wiki also should help.

How can I make my application "Nuts aware"

If by nuts aware you mean that you would download your application and run it using nuts, then you just need to create the application using maven and deploy your application to the public maven central. +Nothing really special is to be done from your side. You do not have to use plugins like 'maven-assembly-plugin' and 'maven-shade-plugin' to include your dependencies. +Or, you can also use NAF (nuts Application Framework) make your application full featured "Nuts aware" application.

Why should I consider implementing my terminal application using Nuts Application Framework (NAF)

First of all, NAF is a simple 300k jar so for what it provided to you, you would be surprised. +Indeed, implementing your application using NAF will provide you a clean way to :

  • seamless integration with nuts and all other NAF applications

  • support standard file system layout (XDG) where config files and log files are not necessarily in the same folder see Nuts File System for more details.

  • support application life cycle events (onInstall, onUninstall, onUpgrade),

  • standard support of command line arguments

  • dynamic dependency aware class loading

  • terminal coloring and components (progress bar, etc...)

  • json,xml,table,tree and plain format support out of the box

  • pipe manipulation when calling sub processes

  • advanced io features (persistence Locks, monitored downloads, compression, file hashing....)

  • standard ways to support and use installed platforms (installed JRE, JDK, ...)

  • and more...

Can I use NAF for non terminal applications, Swing or JavaFX perhaps

Sure, you will be able to benefit of all the items in the preceding question but terminal coloring wont be relevant of course. +Check netbeans-launcher in github. It's a good example of how interesting is to use NAF in non terminal applications.

What is the License used in Nuts

nuts is published under GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later.

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/get-started/running/index.html b/docs/docs/get-started/running/index.html new file mode 100644 index 000000000..5ba38baca --- /dev/null +++ b/docs/docs/get-started/running/index.html @@ -0,0 +1,46 @@ + + + + + + +Running Nuts | Nuts + + + + + + + + + + + + +
+

Running Nuts

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

Running a deployed artifact

You can run any jar using nuts as far as the jar is accessible from one of the supported repositories. +By default, nuts supports:

  • maven central
  • local maven folder (~/.m2)

You can configure other repositories or even implement your own if you need to.

The jar will be parsed to check form maven descriptor so that dependencies will be resolved and downloaded on the fly. +Then, all executable classes (public with static void main method) are enumerated. You can actually run any of them when prompted. Any jar built using maven should be well described and can be run using its artifact long id.

Artifact Long Ids

nuts long ids are a string representation of a unique identifier of the artifact. It has the following form :

groupId:artifactId#version

for instance, to install netbeans-launcher (which is a simple UI helping launch of multiple instances of netbeans), you can issue

nuts net.vpc.app:netbeans-launcher#1.2.2

You do agree that this can be of some cumbersome to type. So you can simplify it to :

nuts netbeans-launcher

In this form, nuts will auto-detect both the groupId and the version. The group id is detected if it is already imported (we will see later import a groupId). +By default, there is a couple of groupIds that are automatically imported :

  • net.vpc.app (contains various applications of the author)
  • net.vpc.nuts.toolbox (contains various companion tools of nuts, such as nsh, nadmin, ndi, ...)

And it turns out, hopefully, that netbeans-launcher belongs to an imported groupId, so we can omit it. +Besides, if no version is provided, nuts will also auto-detect the best version to execute. If the application is already installed, the version you choose to install will be resolved. If you have not installed any, the most recent version, obviously, will be detected for you.

Artifact Installation

Any java application can run using nuts but it has to be installed first. If you try to run the application before installing it, you will be prompted to confirm installation. +To install our favorite application here we could have issued :

nuts install netbeans-launcher

But as we have tried to run the application first, it has been installed for us (after confirmation).

Multiple Artifact version Installation

One of the key features of nuts is the ability to install multiple versions of the same application. +We can for instance type :

nuts install netbeans-launcher#1.2.2
# then
nuts install netbeans-launcher#1.2.0

Now we have two versions installed, the last one always is considered default one. +you can run either, using it's version

nuts netbeans-launcher#1.2.2 &
# or
nuts netbeans-launcher#1.2.0 &

Actually, when you have many versions installed for the same artifact and you try to run it without specifying the version, the last one installed will be considered. To be more precise, an artifact has a default version when it is installed. This default version is considered when no explicit version is typed. +In our example, when we type

nuts netbeans-launcher &

the 1.2.0 version will be invoked because the artifact is already installed and the default version points to the last one installed. So if you want to switch back to version 1.2.2 you just have to re-install it. Don't worry, no file will be downloaded again, nuts will detect that the version is not marked as default and will switch it to.

Searching artifacts

Now let's take a look at installed artifacts. We will type :

nuts search --installed

This will list all installed artifacts. We can get a better listing using long format :

nuts search --installed -l

you will see something like

I-X 2019-08-21 04:54:22.951 anonymous vpc-public-maven net.vpc.app:netbeans-launcher#1.2.0
i-X 2019-08-21 04:54:05.196 anonymous vpc-public-maven net.vpc.app:netbeans-launcher#1.2.2

The first column here is a the artifact status that helps getting zipped information of the artifact. the 'I' stands for 'installed and default' whereas, 'i' is simply 'installed'. The 'X' stands for 'executable application', where 'x' is simply 'executable'. Roughly said, executable applications are executables aware of (or depends on) nuts, as they provide a special api that helps nuts to get more information and more features for the application. As an example, executable applications have special OnInstall and OnUninstall hooks called by nuts. +The second and the third columns are date and time of installation. The fourth column points to the installation user. When Secure mode has not been enabled (which is the default), you are running nuts as 'anonymous'. +The fifth column shows the repository from which the package was installed. And the last column depicts the artifact long id.

Running local jar file with its dependencies

Let's suppose that my-app.jar is a maven created jar (contains META-INF/maven files) with a number of dependencies. nuts is able to download on the fly needed dependencies, detect the Main class (no need for MANIFEST.MF) and run the +application. If a Main-Class Attribute was detected in a valid MANIFEST.MF, il will be considered. +If more than one class is detected with a main method, nuts will ask for the current class to run.

When you run a local file, nuts will behave as if the app is installed (in the given path, an no need to invoke install command). Local files are detected if they are denoted by a valid path (containing '/' or '\' depending on the underlying operating system). +Dependencies will be downloaded as well (and cached in the workspace)

nuts ./my-app.jar some-argument-of-my-app

If you need to pass JVM arguments you have to prefix them with "--exec". So if you want to fix maximum heap size use

nuts --exe -Xms1G -Xmx2G ./my-app.jar argument-1 argument-2
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/index.html b/docs/docs/index.html new file mode 100644 index 000000000..094c0b581 --- /dev/null +++ b/docs/docs/index.html @@ -0,0 +1,38 @@ + + + + + + +Installation | Nuts + + + + + + + + + + + + +
+

Installation

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

System Requirements

Here are all nuts requirements :

  • Java : nuts requires a valid Java Runtime Environment (JRE) or Java Development Kit (JDK) version 8 or above to execute.
  • System Memory: nuts memory footprint is very little and has no minimum RAM requirements.
  • Disk: 2.5Mo on the disk are required for the nuts installation itself. In addition to that, additional disk space will be used for your local Nuts workspace. The size of your local workspace will vary depending on usage but expect at least 500MB.
  • Operating System: nuts is able to run on any java enabled Operating System including all recent versions of Windows, Linux and MacOS.

To check if you have a valid java installation type

java -version

The result would be equivalent to the following. Just be sure the version is 1.8 or over. In this example, +the java version is 13.0.1

$> java -version
java version "13.0.1" 2019-10-15
Java(TM) SE Runtime Environment (build 13.0.1+9)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)

Installation

NDVER=0.7.0 && curl -OL https://github.com/thevpc/vpc-public-maven/raw/master\
/net/vpc/app/nuts/nuts/$NDVER/nuts-$NDVER.jar && java -jar \
nuts-$NDVER.jar -zy

Linux Systems installation is based on bash shell. First launch will configure "~/.bashrc" so that nuts and other companion tool commands will be available in any future terminal instances. +Using nuts on unix-like system should be seamless. A simple bash terminal (Gnome Terminal, KDE Konsole,...) is already a nuts-aware terminal.

All Linux versions and distributions should work with or without XWindow (or equivalent). Graphical system is required only if you plan to run a gui application using nuts. +All tests where performed on OpenSuse Tumbleweed.

tip

Any bash terminal application is a nuts-aware terminal.

Yous should then see some log like the following :

install-log-example

As you can see, installation upon first launch, will also trigger installation of other optional programs called "companion tools". +Actually they are recommended helpful tools :

  • ndi which stands for Nuts Desktop Integration that helps configuring the desktop to better +interact with nuts by for instance creating shortcuts.
  • nsh which stands for Nuts Shell , a bash compatible shell implementation program that will run equally on linux an windows systems.
  • nadmin an administration tool for nuts
important

After installation, you need to restart the terminal application for the configuration to take effet.

Test Installation

To test installation the simplest way is to open a nuts-aware terminal and type :

nuts --version

It should show a result in the format : nuts-api-version/nuts-impl-version

00.7.0/0.7.0.0

Run a command

To run a command using nuts just type

nuts <command>

Several commands are available, and you still be able to run any java and non java application. More info is available in the nuts official wiki .

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/intro/building/index.html b/docs/docs/intro/building/index.html new file mode 100644 index 000000000..89f1e6d22 --- /dev/null +++ b/docs/docs/intro/building/index.html @@ -0,0 +1,33 @@ + + + + + + +Building | Nuts + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/intro/introduction/index.html b/docs/docs/intro/introduction/index.html new file mode 100644 index 000000000..1a535d2c1 --- /dev/null +++ b/docs/docs/intro/introduction/index.html @@ -0,0 +1,44 @@ + + + + + + +Introduction | Nuts + + + + + + + + + + + + +
+

Introduction

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version 0.7.0

nuts stands for Network Updatable Things Services tool. It is a simple tool for managing remote +artifacts, installing these artifacts to the current machine and executing such artifacts on need. +Each managed package is also called a nuts which is a Network Updatable Thing Service . +nuts artifacts are stored into repositories. A repository may be local for storing local nuts +or remote for accessing remote artifacts (good examples are remote maven repositories). It may +also be a proxy repository so that remote artifacts are fetched and cached locally to save network +resources. +One manages a set of repositories called a workspace. Managed nuts (artifacts) have descriptors +that depicts dependencies between them. This dependency is seamlessly handled by nuts (tool) to +resolve and download on-need dependencies over the wire.

nuts is a swiss army knife tool as it acts like (and supports) maven build tool to have an abstract +view of the the artifacts dependency and like npm, pip or zypper/apt-get package manager tools
+to install and uninstall artifacts allowing multiple versions of the very same artifact to be installed.

COMMON VERBS:

  • exec : execute an artifact or a command
  • install, uninstall : install/uninstall an artifact (using its fetched/deployed installer)
  • deploy, undeploy : manage artifacts (artifact installers) on the local repositories
  • update : update an artifact (using its fetched/deployed installer)
  • fetch, push : download from, upload to remote repositories
  • search : search for existing/installable artifacts
  • welcome : a command that does nothing but bootstrapping nuts and showing a welcome message.
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/intro/license/index.html b/docs/docs/intro/license/index.html new file mode 100644 index 000000000..bd206c51c --- /dev/null +++ b/docs/docs/intro/license/index.html @@ -0,0 +1,41 @@ + + + + + + +License | Nuts + + + + + + + + + + + + +
+

License

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 3 of the License, or (at your option) any later +version.

This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details.

You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 51 +Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Copyright (C) 2016-2017 Taha BEN SALAH

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/intro/nutsAndMaven/index.html b/docs/docs/intro/nutsAndMaven/index.html new file mode 100644 index 000000000..77fde56c3 --- /dev/null +++ b/docs/docs/intro/nutsAndMaven/index.html @@ -0,0 +1,108 @@ + + + + + + +Nuts and Maven | Nuts + + + + + + + + + + + + +
+

Nuts and Maven

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

You'd still be Maven, yet you gonna be Nuts

Is there any package manager for Java(TM) applications? You can google for it and you will find that many have +queried this on blogs and forums. In most cases responses point to maven and gradle, the tremendous build tools. However, +both maven and gradle are build tools, while helping build packages they lack of deployment features. They bundle every +dependency in every package (think of wars, ears and standalone jars). They do not handles installation or upgrading. +Apache ivy, as well, while competing with maven build tool does not provide more than transitive dependency management.
+The main idea behind a package manager is the automation of installation, update, configuration and removal of programs +or libraries in a coherent manner with the help of a database that manages binaries and metadata. maven, to consider one, +sticks to the build process, an goes no further.

You may also ask, "Why ever, do we need a package manager for Java(TM) applications". Okkay, let's take some +example of Java(TM) applications. How can we install apache netbeans IDE ? The proper way is to browse to the editor's +website, select the proper mirror if applicable, download the archive, uncompress it, chmod the main binary (i'm a linux +guy) and adjust PATH environment variable to point to this binary; Quite a pain. What do we do to update it now? Hopefully, +the IDE has a solid plugin architecture and an in-app update/upgrade tool that will help the process (in a gui manner of +course). The same applies to eclipse and apache tomcat with the exception that apache tomcat does not even bundle an in-app +update tool. The same applies too when dealing with other operating systems (Windows, MacOS, ...). Managing Java(TM) +applications is far from helpful.

Furthermore, as Java(TM) applications are (usually) not bundled in OS-aware installers, you will end up with a spaguetty +home directory with applications installed all over your partitions, which - simply - does not mix up with all the work +OS-developers have done to separate logs from data, from temporary files, from binaries, etc. Each application will handle +it's files in a very specific manner that would make it hard to manage own's disk (automatic archive/backup/restore) or roaming +applications across machines, etc.

Moreover, in a world of containers and devops, deployments of Java(TM) applications need to be automatable and reproducible +with the highest level of simplicity, configurability and integrability. Installing tomcat on a custom port should ne not +be as painful as using a custom Docker image or a complicated Dockerfile or even a custom apache tomcat bundle.

When we recall that Java(TM) is the one language that has the more versatile number of libraries, frameworks and tools, +I find it annoying not to have a decent package manager to make the leap and provide facilities I find prime in other +languages and platforms (pip/python, npm/nodejs/javascript) and most of linux distribution (zypper/opsensuse, dnf/redhat +apt-get/debian/ubuntu)

Hence I'm introducing here a humble attempt to provide a tiny (300ko) yet powerful package manager for Java(TM) +applications (but not only) that should handle jar files seamlessly (with little or no modification) and that comes with +a set of portable tools that makes this management at a higher level. I'm not talking about redefining the wheel. +I'm aware that many tools such as maven, are already very good at what they do, I just needed to make the leap for deployments. +You will be able to deploy your applications without bundling all of their dependencies : nuts will take care of that.

So you'd still be maven, yet you gonna be nuts.

Nuts Package manager

nuts is actually :

  • a transitive dependency resolution manager
  • package manager (backports maven and supports maven repositories)
  • automation tool
  • feature rich toolset
  • application framework
  • decentralized
  • sandbox based

Transitive dependency resolution manager

nuts calculates transitive dependencies of an application to resolve other packages to download at install or +update/upgrade time. So typically, deployed applications should no more bundle their dependencies within the deployed archive. +Thus we avoid the annoying fat jars (using maven plugins like 'maven-assembly-plugin' and 'maven-shade-plugin') and lib folders +(using 'maven-dependency-plugin'). It will also reuse dependencies and packages across multiple installed applications +and hence save disk space, and network bandwidth.

All what nuts needs is a descriptor file withing the jar file that defines the immediate dependencies. It then +calculates all transitive dependencies automatically. And guess what, all maven built jars already contain that +descriptor : the pom.xml file. So basically all maven applications are already nuts aware applications.

Package manager

nuts uses this dependency resolution to help install, update, remove and search for applications. To be able to use an +application, it has to be installed and configured with all of its dependencies. This is the main goal of nuts. +When we ask to install tomcat, for instance, it will search for the best version in registered repositories, download it, +and configure it to be ready for execution. The best version is not always the the latest one. Actually it would be the +latest valid one, thus the latest one that matches some constraints.
+Constraints include the version of the running java (tomcat 8 works on java 7 but not 6 for instance), the running operating +system (windows, linux, ... to help selecting the proper binaries), may be the hardware architecture or even the +operating distribution (for linux based systems). Constraints will filter the search result to include the best, the most +accurate version to install. Installation also would configure the installed application and even may run another +artifact to help this configuration.

nuts also handles search for newer versions and update the installed application at request. Updating a software does not +necessarily delete the older version. Both version can coexist and it is up to the user the decide whether or +not to retain both versions. Indeed, one of the key features of nuts is the ability to install and hence run multiple versions +of the same software in parallel. You would never see an error message telling you can't install that software because a +dependencies of it is installed with different version. All software and all libraries can coexist peacefully.

Software artifacts are stored in repositories. nuts can handle multiple repositories, remote and local ones. +Installed software are store in special local repositories. Supported repositories include maven repositories and github +repositories. Actually a fresh installation of nuts is configured with maven central repository so that, you already have access +to thousands of installable artifacts.

At some point, you may need to uninstall an artifact and that's to undo the artifact installation.
+Installation will help you choose between uninstalling binaries only and keeping data/config files or remove permanently +all of the artifact files. In all ways, uninstalling will not affect other artifacts that use the same dependencies if ever.

Feature rich Toolset

nuts is intended to be used either by human users or by robots and other applications. It comes with portable, +feature rich toolset, a versatile library and an a handy parsable result.

nuts is mainly a commandline program that helps installing, uninstalling, searching, updating and running artifacts. +To help desktop integration, nuts installs by default a set of other companion tools such as nsh (a portable +bash-compatible implementation), nadmin (an administration tool for nuts to configure users, authorizations, repositories, +...) and ndi (desktop integration) to help creating application shortcuts and scripts;

nsh brings the bash facilities to all environments (windows included) in a very portable manner. Besides it integrates +well with the installed nuts version. Several common commands are ported to nsh such as cat,head, and ssh, as well core +features like pipes, redirection and scripts.

nadmin is intended for configuring nuts workspaces, managing repositories and users. It helps also configuring +sub commands and aliases make nuts usage even easier.

ndi, is the tool for a seamless integration in you operating system. Il mainly configures user PATH environment and +creates scripts that point to your nuts installation on linux desktops and shortcuts to a well configured environment +on windows.

Nuts Workspaces

One of the key features of nuts is the ability to support multiple isolated workspaces, each managing it's own +repositories, applications and libraries; each defining it's sandbox security constraints. +Thus non-root installation is made easy while it remains possible to overlap between workspaces by sharing repositories. +Roaming is also supported, so that a workspaces can be copied/moved across machines.

Application Framework

Nuts can also be embedded as a library in you application. This enables you to wire classes on the fly by its network +dependency-aware classloading mechanisms. The library allows as well building solid and well integrated applications, +mainly console applications. Indeed, it comes with rich outputs that support automatic formatting to json, xml, table, +tree and plain texts. It handles as well standard File Systems layouts; XDG Base Directory Specification is implemented +for linux and MacOS. A compatible one is also implemented in Windows systems. And of course, it helps seamlessly install, +update and remove events.

Nuts ? Really ?

In every palace you will find the wizard and the fool, the maven and the nuts; There's no +exception in the java kingdom! If you do prefer acronyms here is another reason : nuts stands for Network +Updatable Things Services. It should be able to facilitate things deployment and update over the +wire where things resolve here to any piece of software depending (or not) on other piece of software.

Let's start the journey

we start by opening anew terminal (termm, konsole or whatever you prefer) then download nuts using this command : +On linux/MacOS system we issue :

wget https://github.com/thevpc/vpc-public-maven/raw/master/net/vpc/app/nuts/nuts/0.7.0/nuts-0.7.0.jar

Let's check that java is installed :

java --version

Now we run nuts

java -jar nuts-0.7.0.jar -y -z

We used the flags -y to auto-confirm and -z to ignore cached binaries. These flags are not required. We use them here to make installation work in all cases. +Installation may last several minutes as it will download all required dependencies, companions and tools.

You should then see this message

Welcome to nuts. Yeah, it is working...

nuts is well installed, just restart your terminal.

Now we will install apache tomcat. So in your terminal issue :

nuts install ntomcat
nuts ntomcat start --set-port 9090

The first two commands will install tomcat helper tool (ntomcat) that will download latest version of tomcat and configure it to 9090 port. +The last command will start tomcat. +Let's check tomcat status now

nuts tomcat status

Now we will do the same with derby database. We will install it and run it.

nuts install nderby
nuts nderby start

As you can see, simple commands are all you need to download, install, configure and run tomcat or derby or any application that is deployed in the maven repository.

So please visit nuts website for more information.

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/intro/projects/index.html b/docs/docs/intro/projects/index.html new file mode 100644 index 000000000..5cfa12cfc --- /dev/null +++ b/docs/docs/intro/projects/index.html @@ -0,0 +1,38 @@ + + + + + + +Repository Structure | Nuts + + + + + + + + + + + + +
+

Repository Structure

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version v0.7.0

Nuts projects

nuts repository is composed of several projects that can be organized in 5 categories

  • Core nuts : These projects are the core/base of the nuts package manager
  • Companion Tools : These projects are applications and tools to install with nuts itself. Their installation are prompted at first install of Nuts
  • Toolbox : These projects are applications and tools built on top of nuts Application Framework and are of common interest
  • Lib : These projects are common libraries that can be used to enabled some nuts features in your application
  • Other : All other apps that does no fit in the previous categories

1- Core Nuts projects

Core nuts projects include nuts-builder, nuts-api, nuts-core.

1.1 nuts-builder

nuts-builder is a meta project (parent maven pom project) that helps building all the other projects.

1.2 nuts-api

nuts-api is the effective "Nuts" only required dependency. It defines the bootstrap application that is responsible of loading all necessary libraries for its execution. nuts-api start to load nuts-core which is responsible of implementing all features and interfaces declared by the nuts-api library. That implementation will handle further download, version dependency etc. Such architecture is considered to force loose coupling with nuts binaries. +nuts-api is a very thin boostrapper : its size is about 300k. It can be used as a standalone application or as an embedded library.

1.3 nuts-core

nuts-core is the effective and standard implementation of nuts-api. nuts-core has a faster update pace than nuts-api. It focuses on performance an compliance to the Nuts specification declared by nuts-api interfaces. You are not required to add this dependency to your application if you want to embed Nuts. The library will be loaded on the wire (if not yet present in the classpath).

nuts-core is designed to have very few dependencies : gson and jansi. gson trivially is used to support json serialization : the main format used in Nuts to support configuration and descriptors. jansi is used to support terminal coloring and the "Nuts Text Coloring Format" (NTCF), a simple text format that helps creating colorful terminal applications.

2. Companion tools projects

Companion tools include nadmin, nsh and ndi. +These three applications are implemented following the "nuts Application Framework" and hence are dependent on nuts-api library. They are recommended applications to install with Nuts itself, however they are not mandatory and may be ignored particularly when using nuts-api as library.

2.1 nadmin

nadmin (for nuts admin)is an administration tool to the nuts workspaces. It adds support to manage users, credentials, authorizations, workspaces and repositories by providing command line support for such actions.

2.2 nsh

nsh (for nuts shell) is simply a portable POSIX bash compatible implementation. It supports all common builtin commands (ls, cd, rm, ...) and adds support to grep, ssh and scp in a seamless manner. It also supports command line, scripts (including commons constructs with if, do, case, ...) and pipes (|)

2.3 ndi

ndi (for nuts desktop integration)is simply a helper tool to support seamless integration of nuts commands in your favorite operating system and environment. ndi is responsible of creating script shortcuts to your common commands so that you can invoke tem directly from your environment. For instance it creates an "nadmin" script and configures your PATH environment to help calling the nuts admin tool instead of the common way to do so "nuts nadmin". On window system, ndi will create shortcuts and menus.

3. Toolbox projects

nuts comes with an array of tools out of the box you can install and play with. Here are these tools

3.1 nded

nded for "nuts Descriptor Editor" is a small tool for creating and editing json nuts descriptor file. It is intended to be called by automation tools.

3.2 nclown

nclown is an angular web application frontend for nuts. It helps navigating, searching and installing artifacts. It is intended to be a web admin tool as well.

3.3 nserver

nserver is a standalone application that runs a small http server that will expose a workspace as a remote repository to other Nuts installations. This is the simplest way to mirror a workspace and share artifacts between networked nodes.

3.4 nwar

nwar (for nuts Web Application Archive) is a web application that exposes nserver as a war to be deployed on a more mature http server or container.

3.5 ndexer

ndexer (for Indexer) is a lucene powered index for nuts. It can be shared across multiple nuts workspaces and processes.

3.6 feenoo

feenoo is a small search tool. It searches for files, files contents and classes within jars. You ca search for files than contains some text or jars that contain some class, or jars of a specific version of java. +The name feenoo comes form the Tunisian dialect and means "where is it?".

3.7 file-version

file-version is a small tool that helps detecting files versions. It supports jar, war, ear, dll and exe file versions. It opens a file and looks for it's version in its meta-data.

3.8 nmysql

nmysql is a companion tool to the mysql and mariadb servers. The initial actions supported are backup and restore including push/pull mechanism from/to a couple of databases for synchronization. It supports jdbc and ssh based access to remote mysql/mariadb installation.

3.9 ntomcat

ntomcat is a companion tool to the tomcat http server. The initial actions supported are start, stop, status, configure (http ports etc..) and deploy. It supports as well installation of several versions of Tomcat and multi domain configuration for deployments.

3.10 nderby

nderby is a companion tool to the derby database server. The initial actions supported are start, stop, status and configure. It supports as well installation of several versions of Derby.

3.11 nmvn

nmvn is a companion tool to maven. It supports installations of several versions of it and running them seamlessly.

3.12 worky

worky is a developer centered tool. The 'y' in worky refers to 'my' in the "Tunisian Dialect" and hence means "my work". Worky is the tool we - maven users - need to check if the version of project we are working on is yet to be deployed to nexus or not. So basically it checks if the version is the same, and downloads the server's version and then compares binaries to local project's to check if we have missed to update the version in our pom.xml. I know I'm not the only one having pain with jar deployments to nexus. Worky does other things as well to help me on on daily basis.

4. Library Projects

Library projects are several libraries that add nuts support in a particular environment or domain.

4.1 nuts-tomcat-classloader

This is a must-have feature in your web application if deployed on Tomcat. It solves the following problem : a simple war application is surprisingly fat with too many jars (hundreds of Megas) you need to upload each time you change a single file or class in your web project. Basically all the jars included in the lib folder of the war are to be uploaded each time to the remote Tomcat server. The common solution is to use "provided" scope in maven and put your jars in Tomcat lib or ext folders. This is a bad approach if you are using a single Tomcat process for multiple applications. nuts-tomcat-classloader simply uses Nuts to download libraries when the application is deployed based on the pom.xml you provide and include them in the current web application class loader. Hence, the war becomes lighter than ever. Nuts cache mechanisms optimizes bandwidth and makes this more convenient by sharing the same jar files between applications depending on the same versions. +All you have to do is to add this library to your application and configure your pom.xml accordingly.

4.2 nuts-servlet

Basically this is the simplest way to include nserver into your web application.

4.3 nuts-lib-template

This library provides helper methods to manipulate maven pom.xml and generate simple Java files while supporting nuts concepts. It is used in other tools that are meant to generate maven projects.

5. Other Projects

Other projects you may encounter in the repository are WIP projects that may be continued or discontinued. +This includes : nutsc (a native c bootstrapper) and nuts-installer (a Nuts installer tool)

6. Honorable mentions

Although not included in this Git repository some other tools are based on nuts and hence are installable using nuts install the-app command. Those tools are published in other repositories.

6.1 netbeans-launcher : this tool supports installation and launch of multiple netbeans instances in parallel. See Netbeans Launcher GitHub Repository

6.2 upa-box : this tool supports creation of UPA aware projects. UPA is a non structured ORM for the Java Language. See Netbeans Launcher GitHub Repository

6.3 vr-box : this tool supports creation of VR aware projects. VR is a web portal framework. See Netbeans Launcher GitHub Repository

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Application/index.html b/docs/docs/javadocs/javadoc_Application/index.html new file mode 100644 index 000000000..2e300df6f --- /dev/null +++ b/docs/docs/javadocs/javadoc_Application/index.html @@ -0,0 +1,187 @@ + + + + + + +Application | Nuts + + + + + + + + + + + + +
+

Application

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsApplication

public abstract net.vpc.app.nuts.NutsApplication

Nuts Application is the Top Level class to be handled by nuts as rich console +application. By default NutsApplication classes : +\<ul> +\<li>have a nutsApplication=true in their descriptor file\</li> +\<li>support inheritance of all workspace options (from caller nuts +process)\</li> +\<li>enables auto-complete mode to help forecasting the next token in the +command line\</li> +\<li>enables install mode to be executed when the jar is installed in nuts +repos\</li> +\<li>enables uninstall mode to be executed when the jar is uninstaleld from +nuts repos\</li> +\<li>enables update mode to be executed when the a new version of the same jar +has been installed\</li> +\<li>have many default options enabled (such as --help, --version, --json, +--table, etc.) and thus support natively multi output channels\</li> +\</ul> +Typically a Nuts Application follows this code pattern : +\<pre> +public class MyApplication extends NutsApplication{ +public static void main(String[] args) { +// just create an instance and call runAndExit in the main method +new MyApplication().runAndExit(args); +} +// do the main staff in launch method +public void run(NutsApplicationContext appContext) { +boolean myBooleanOption=false; +NutsCommandLine cmdLine=appContext.getCommandLine() +boolean boolOption=false; +String stringOption=null; +Argument a; +while(cmdLine.hasNext()){ +if(appContext.configureFirst(cmdLine)){ +//do nothing +}else { +a=cmdLine.peek(); +switch(a.getStringKey())[ +case "-o": case "--option":{ +boolOption=cmdLine.nextBoolean().getBooleanValue(); +break; +} +case "-n": case "--name":{ +stringOption=cmdLine.nextString().getStringValue(); +break; +} +default:{ +cmdLine.unexpectedArgument(); +} +} +} +} +// test if application is running in exec mode +// (and not in autoComplete mode) +if(cmdLine.isExecMode()){ +//do the good staff here +} +} +} +\</pre> +another example of using this class is : +\<pre> +public class HLMain extends NutsApplication { +public static void main(String[] args) { +// just create an instance and call runAndExit in the main method +new HLMain().runAndExit(args); +}

&#64;Override
public void run(NutsApplicationContext applicationContext) \{
applicationContext.processCommandLine(new NutsCommandLineProcessor() \{
HLCWithOptions hl = new HL().withOptions();
boolean noMoreOptions=false;
&#64;Override
public boolean processOption(NutsArgument argument, NutsCommandLine cmdLine) \{
if(!noMoreOptions)\{
return false;
\}
switch (argument.getStringKey()) \{
case "--clean": \{
hl.clean(cmdLine.nextBoolean().getBooleanValue());
return true;
\}
case "-i":
case "--incremental":\{
hl.setIncremental(cmdLine.nextBoolean().getBooleanValue());
return true;
\}
case "-r":
case "--root":\{
hl.setProjectRoot(cmdLine.nextString().getStringValue());
return true;
\}
\}
return false;
\}
+
&#64;Override
public boolean processNonOption(NutsArgument argument, NutsCommandLine cmdLine) \{
String s = argument.getString();
if(isURL(s))\{
hl.includeFileURL(s);
\}else\{
hl.includeFile(s);
\}
noMoreOptions=true;
return true;
\}
+
private boolean isURL(String s) \{
return
s.startsWith("file:")
||s.startsWith("http:")
||s.startsWith("https:")
;
\}
+
&#64;Override
public void exec() \{
hl.compile();
\}
\});
\}
\}

\</pre>

\@since 0.5.5 +\@category Application

🪄 Constructors

🪄 NutsApplication()

NutsApplication()

⚙ Instance Methods

⚙ createApplicationContext(ws, args, startTimeMillis)

create application context or return null for default

NutsApplicationContext createApplicationContext(NutsWorkspace ws, String[] args, long startTimeMillis)

return:NutsApplicationContext

  • NutsWorkspace ws : workspace
  • String[] args : arguments
  • long startTimeMillis : start time

⚙ onInstallApplication(applicationContext)

this method should be overridden to perform specific business when +application is installed

void onInstallApplication(NutsApplicationContext applicationContext)
  • NutsApplicationContext applicationContext : context

⚙ onUninstallApplication(applicationContext)

this method should be overridden to perform specific business when +application is uninstalled

void onUninstallApplication(NutsApplicationContext applicationContext)
  • NutsApplicationContext applicationContext : context

⚙ onUpdateApplication(applicationContext)

this method should be overridden to perform specific business when +application is updated

void onUpdateApplication(NutsApplicationContext applicationContext)
  • NutsApplicationContext applicationContext : context

⚙ run(applicationContext)

run application within the given context

void run(NutsApplicationContext applicationContext)
  • NutsApplicationContext applicationContext : app context

⚙ run(args)

run the application with the given arguments. If the first arguments is +in the form of --nuts-exec-mode=... the argument will be removed and the +corresponding mode is activated.

void run(String[] args)
  • String[] args : application arguments. should not be null or contain nulls

⚙ run(session, args)

run the application with the given arguments against the given workspace +If the first arguments is in the form of --nuts-exec-mode=... the +argument will be removed and the corresponding mode is activated.

void run(NutsSession session, String[] args)
  • NutsSession session : session (can be null)
  • String[] args : application arguments. should not be null or contain nulls

⚙ runAndExit(args)

run the application and \<strong>EXIT\</strong> process

void runAndExit(String[] args)
  • String[] args : arguments

⚙ toString()

String toString()

return:String

☕ NutsApplicationContext

public interface net.vpc.app.nuts.NutsApplicationContext

Application context that store all relevant information about application +execution mode, workspace, etc.

\@author vpc +\@since 0.5.5 +\@category Application

📢❄ Constant Fields

📢❄ AUTO_COMPLETE_CANDIDATE_PREFIX

public static final String AUTO_COMPLETE_CANDIDATE_PREFIX = "@@Candidate@@: "

🎛 Instance Properties

📄🎛 appClass

application class reference

[read-only] Class public appClass
public Class getAppClass()

📄🎛 appId

application nuts id

[read-only] NutsId public appId
public NutsId getAppId()

📄🎛 appPreviousVersion

previous version (applicable in update mode)

[read-only] NutsVersion public appPreviousVersion
public NutsVersion getAppPreviousVersion()

📄🎛 appVersion

application version

[read-only] NutsVersion public appVersion
public NutsVersion getAppVersion()

📄🎛 appsFolder

path to the apps folder of this application

[read-only] Path public appsFolder
public Path getAppsFolder()

📄🎛 arguments

application arguments

[read-only] String[] public arguments
public String[] getArguments()

📄🎛 autoComplete

Auto complete instance associated with the +{\@link NutsApplicationMode#AUTO_COMPLETE} mode

[read-only] NutsCommandAutoComplete public autoComplete
public NutsCommandAutoComplete getAutoComplete()

📄🎛 cacheFolder

path to the cache files folder of this application

[read-only] Path public cacheFolder
public Path getCacheFolder()

📄🎛 commandLine

a new instance of command line arguments to process filled +with application\'s arguments.

[read-only] NutsCommandLine public commandLine
public NutsCommandLine getCommandLine()

📄🎛 configFolder

path to the configuration folder of this application

[read-only] Path public configFolder
public Path getConfigFolder()

📄🎛 execMode

return true if {\@code getAutoComplete()==null }

[read-only] boolean public execMode
public boolean isExecMode()

📄🎛 libFolder

path to the libraries files (non applications) folder of this application

[read-only] Path public libFolder
public Path getLibFolder()

📄🎛 logFolder

path to the log folder of this application

[read-only] Path public logFolder
public Path getLogFolder()

📄🎛 mode

application execution mode

[read-only] NutsApplicationMode public mode
public NutsApplicationMode getMode()

📄🎛 modeArguments

application execution mode extra arguments

[read-only] String[] public modeArguments
public String[] getModeArguments()

📄🎛 runFolder

path to the temporary run files (non essential sockets etc...) folder of +this application

[read-only] Path public runFolder
public Path getRunFolder()

📝🎛 session

update session

[read-write] NutsApplicationContext public session
public NutsSession getSession()
public NutsApplicationContext setSession(session)

📄🎛 sharedAppsFolder

[read-only] Path public sharedAppsFolder
public Path getSharedAppsFolder()

📄🎛 sharedConfigFolder

[read-only] Path public sharedConfigFolder
public Path getSharedConfigFolder()

📄🎛 sharedFolder

[read-only] Path public sharedFolder
public Path getSharedFolder(location)

📄🎛 sharedLibFolder

[read-only] Path public sharedLibFolder
public Path getSharedLibFolder()

📄🎛 sharedLogFolder

[read-only] Path public sharedLogFolder
public Path getSharedLogFolder()

📄🎛 sharedRunFolder

[read-only] Path public sharedRunFolder
public Path getSharedRunFolder()

📄🎛 sharedTempFolder

[read-only] Path public sharedTempFolder
public Path getSharedTempFolder()

📄🎛 sharedVarFolder

[read-only] Path public sharedVarFolder
public Path getSharedVarFolder()

📄🎛 startTimeMillis

application start time in milli-seconds

[read-only] long public startTimeMillis
public long getStartTimeMillis()

📄🎛 tempFolder

path to the temporary files folder of this application

[read-only] Path public tempFolder
public Path getTempFolder()

📄🎛 varFolder

path to the variable files (aka /var in POSIX systems) folder of this +application

[read-only] Path public varFolder
public Path getVarFolder()

📄🎛 workspace

current workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsApplicationContext configure(boolean skipUnsupported, String[] args)

return:NutsApplicationContext

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ getFolder(location)

application store folder path for the given {\@code location}

Path getFolder(NutsStoreLocation location)

return:Path

  • NutsStoreLocation location : location type

⚙ printHelp()

print application help to the default out ({\@code getSession().out()}) +print stream.

void printHelp()

⚙ processCommandLine(commandLineProcessor)

create new NutsCommandLine and consume it with the given processor. +This method is equivalent to the following code +\<pre> +NutsCommandLine cmdLine=getCommandLine(); +NutsArgument a; +while (cmdLine.hasNext()) { +if (!this.configureFirst(cmdLine)) { +a = cmdLine.peek(); +if(a.isOption()){ +if(!commandLineProcessor.processOption(a,cmdLine)){ +cmdLine.unexpectedArgument(); +} +}else{ +if(!commandLineProcessor.processNonOption(a,cmdLine)){ +cmdLine.unexpectedArgument(); +} +} +} +} +// test if application is running in exec mode +// (and not in autoComplete mode) +if (cmdLine.isExecMode()) { +//do the good staff here +commandLineProcessor.exec(); +} +\</pre>

This as an example of its usage +\<pre> +applicationContext.processCommandLine(new NutsCommandLineProcessor() { +HLCWithOptions hl = new HL().withOptions(); +boolean noMoreOptions=false; +@Override +public boolean processOption(NutsArgument argument, NutsCommandLine cmdLine) { +if(!noMoreOptions){ +return false; +} +switch (argument.getStringKey()) { +case "--clean": { +hl.clean(cmdLine.nextBoolean().getBooleanValue()); +return true; +} +case "-i": +case "--incremental":{ +hl.setIncremental(cmdLine.nextBoolean().getBooleanValue()); +return true; +} +case "-r": +case "--root":{ +hl.setProjectRoot(cmdLine.nextString().getStringValue()); +return true; +} +} +return false; +}

&#64;Override
public boolean processNonOption(NutsArgument argument, NutsCommandLine cmdLine) \{
String s = argument.getString();
if(isURL(s))\{
hl.includeFileURL(s);
\}else\{
hl.includeFile(s);
\}
noMoreOptions=true;
return true;
\}
+
private boolean isURL(String s) \{
return
s.startsWith("file:")
||s.startsWith("http:")
||s.startsWith("https:")
;
\}
+
&#64;Override
public void exec() \{
hl.compile();
\}
\});

\</pre>

void processCommandLine(NutsCommandLineProcessor commandLineProcessor)
  • NutsCommandLineProcessor commandLineProcessor : commandLineProcessor

☕ NutsApplicationLifeCycle

public interface net.vpc.app.nuts.NutsApplicationLifeCycle

Application Life Cycle interface define methods to be overridden to +perform specific business for each of the predefined application execution +modes {\@link NutsApplicationMode}.

\@author vpc +\@since 0.5.5 +\@category Application

⚙ Instance Methods

⚙ createApplicationContext(ws, args, startTimeMillis)

this method should be implemented to create specific ApplicationContext +implementation or return null to use default one.

NutsApplicationContext createApplicationContext(NutsWorkspace ws, String[] args, long startTimeMillis)

return:NutsApplicationContext

  • NutsWorkspace ws : workspace
  • String[] args : application arguments
  • long startTimeMillis : start time in milliseconds

⚙ onInstallApplication(applicationContext)

this method should be implemented to perform specific business when +application is installed.

void onInstallApplication(NutsApplicationContext applicationContext)
  • NutsApplicationContext applicationContext : context

⚙ onRunApplication(applicationContext)

this method should be implemented to perform specific business when +application is running (default mode)

void onRunApplication(NutsApplicationContext applicationContext)
  • NutsApplicationContext applicationContext : context

⚙ onUninstallApplication(applicationContext)

this method should be implemented to perform specific business when +application is un-installed.

void onUninstallApplication(NutsApplicationContext applicationContext)
  • NutsApplicationContext applicationContext : context

⚙ onUpdateApplication(applicationContext)

this method should be implemented to perform specific business when +application is updated.

void onUpdateApplication(NutsApplicationContext applicationContext)
  • NutsApplicationContext applicationContext : context

☕ NutsApplicationMode

public final net.vpc.app.nuts.NutsApplicationMode

Modes Application can run with

\@since 0.5.5 +\@category Application

📢❄ Constant Fields

📢❄ AUTO_COMPLETE

public static final NutsApplicationMode AUTO_COMPLETE

📢❄ INSTALL

public static final NutsApplicationMode INSTALL

📢❄ RUN

public static final NutsApplicationMode RUN

📢❄ UNINSTALL

public static final NutsApplicationMode UNINSTALL

📢❄ UPDATE

public static final NutsApplicationMode UPDATE

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsApplicationMode valueOf(String name)

return:NutsApplicationMode

  • String name :

📢⚙ values()

NutsApplicationMode[] values()

return:NutsApplicationMode[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsApplications

public final net.vpc.app.nuts.NutsApplications

Helper class for Nuts Applications

\@author vpc +\@since 0.5.5 +\@category Application

📢🎛 Static Properties

📄📢🎛 sharedMap

a thread local map used to share information between workspace +and embedded applications.

[read-only] Map public static sharedMap
public static Map getSharedMap()

📢⚙ Static Methods

📢⚙ processThrowable(ex, args, out)

process throwables and return exit code

int processThrowable(Throwable ex, String[] args, PrintStream out)

return:int

  • Throwable ex : exception
  • String[] args : application arguments to check from if a '--verbose' or +'--debug' option is armed
  • PrintStream out : out stream

📢⚙ runApplication(args, session, appClass, lifeCycle)

run application with given life cycle.

void runApplication(String[] args, NutsSession session, Class appClass, NutsApplicationLifeCycle lifeCycle)
  • String[] args : application arguments
  • NutsSession session : session
  • Class appClass : application class
  • NutsApplicationLifeCycle lifeCycle : application life cycle
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Base/index.html b/docs/docs/javadocs/javadoc_Base/index.html new file mode 100644 index 000000000..007367a54 --- /dev/null +++ b/docs/docs/javadocs/javadoc_Base/index.html @@ -0,0 +1,229 @@ + + + + + + +Base | Nuts + + + + + + + + + + + + +
+

Base

__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ )
\_\ \/\__,_/\__/____/ version 0.7.0

☕ Nuts

public final net.vpc.app.nuts.Nuts

Nuts Top Class. Nuts is a Package manager for Java Applications and this class is +it\'s main class for creating and opening nuts workspaces.

\@since 0.1.0 +\@category Base

📢🎛 Static Properties

📄📢🎛 platformOsFamily

default OS family, resolvable before booting nuts workspace

[read-only] NutsOsFamily public static platformOsFamily
public static NutsOsFamily getPlatformOsFamily()

📄📢🎛 version

current Nuts version

[read-only] String public static version
public static String version
public static String getVersion()

📢⚙ Static Methods

📢⚙ getPlatformHomeFolder(storeLocationLayout, folderType, homeLocations, global, workspaceName)

resolves nuts home folder.Home folder is the root for nuts folders.It +depends on folder type and store layout. For instance log folder depends +on on the underlying operating system (linux,windows,...). +Specifications: XDG Base Directory Specification +(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)

String getPlatformHomeFolder(NutsOsFamily storeLocationLayout, NutsStoreLocation folderType, Map homeLocations, boolean global, String workspaceName)

return:String

  • NutsOsFamily storeLocationLayout : location layout to resolve home for
  • NutsStoreLocation folderType : folder type to resolve home for
  • Map homeLocations : workspace home locations
  • boolean global : global workspace
  • String workspaceName : workspace name or id (discriminator)

📢⚙ main(args)

main method. This Main will call +{\@link Nuts#runWorkspace(java.lang.String...)} then +{\@link System#exit(int)} at completion

void main(String[] args)
  • String[] args : main arguments

📢⚙ openInheritedWorkspace(args)

opens a workspace using "nuts.boot.args" and "nut.args" system +properties. "nuts.boot.args" is to be passed by nuts parent process. +"nuts.args" is an optional property that can be \'exec\' method. This +method is to be called by child processes of nuts in order to inherit +workspace configuration.

NutsWorkspace openInheritedWorkspace(String[] args)

return:NutsWorkspace

  • String[] args : arguments

📢⚙ openWorkspace()

open default workspace (no boot options)

NutsWorkspace openWorkspace()

return:NutsWorkspace

📢⚙ openWorkspace(args)

open a workspace. Nuts Boot arguments are passed in \<code>args\</code>

NutsWorkspace openWorkspace(String[] args)

return:NutsWorkspace

  • String[] args : nuts boot arguments

📢⚙ openWorkspace(options)

open a workspace using the given options

NutsWorkspace openWorkspace(NutsWorkspaceOptions options)

return:NutsWorkspace

  • NutsWorkspaceOptions options : boot options

📢⚙ parseNutsArguments(bootArguments)

Create a {\@link NutsWorkspaceOptions} instance from string array of valid +nuts options

NutsWorkspaceOptions parseNutsArguments(String[] bootArguments)

return:NutsWorkspaceOptions

  • String[] bootArguments : input arguments to parse

📢⚙ runWorkspace(args)

open then run Nuts application with the provided arguments. This Main +will +\<strong>NEVER\</strong> +call {\@link System#exit(int)}.

void runWorkspace(String[] args)
  • String[] args : boot arguments

☕ NutsArtifactCall

public interface net.vpc.app.nuts.NutsArtifactCall

artifact call descriptor used to define executor and installer call definitions.

\@since 0.5.4 +\@category Base

🎛 Instance Properties

📄🎛 arguments

execution arguments

[read-only] String[] public arguments
public String[] getArguments()

📄🎛 id

artifact id

[read-only] NutsId public id
public NutsId getId()

📄🎛 properties

execution properties

[read-only] Map public properties
public Map getProperties()

☕ NutsArtifactCallBuilder

public interface net.vpc.app.nuts.NutsArtifactCallBuilder

NutsArtifactCallBuilder is responsible of building instances of {\@code NutsArtifactCall} to be used +as NutsDescriptor executor or installer. +To get an instance of NutsArtifactCallBuilder you can use {\@code workspace.descriptor().callBuilder()}

\@since 0.5.4 +\@category Base

🎛 Instance Properties

📝🎛 arguments

update arguments

[read-write] NutsArtifactCallBuilder public arguments
public String[] getArguments()
public NutsArtifactCallBuilder setArguments(value)

📝🎛 id

update artifact id

[read-write] NutsArtifactCallBuilder public id
public NutsId getId()
public NutsArtifactCallBuilder setId(value)

📝🎛 properties

update call properties map (replace all existing properties)

[read-write] NutsArtifactCallBuilder public properties
public Map getProperties()
public NutsArtifactCallBuilder setProperties(value)

⚙ Instance Methods

⚙ build()

create an immutable instance of {\@link NutsArtifactCall} +initialized with all of this attributes.

NutsArtifactCall build()

return:NutsArtifactCall

⚙ clear()

reset this instance to default (null) values

NutsArtifactCallBuilder clear()

return:NutsArtifactCallBuilder

⚙ set(value)

initialize this instance from the given value

NutsArtifactCallBuilder set(NutsArtifactCallBuilder value)

return:NutsArtifactCallBuilder

  • NutsArtifactCallBuilder value : copy from value

⚙ set(value)

initialize this instance from the given value

NutsArtifactCallBuilder set(NutsArtifactCall value)

return:NutsArtifactCallBuilder

  • NutsArtifactCall value : copy from value

☕ NutsConfirmationMode

public final net.vpc.app.nuts.NutsConfirmationMode

user interaction mode. Some operations may require user confirmation before +performing critical operations such as overriding existing values, deleting +sensitive information ; in such cases several modes are available : either +to require user interaction (ASK mode, the default value) or force the +processing (YES mode), or ignoring the processing and continuing the next +(NO) or cancel the processing and exit with an error message (ERROR)

\@author vpc +\@since 0.5.5 +\@category Base

📢❄ Constant Fields

📢❄ ASK

public static final NutsConfirmationMode ASK

📢❄ ERROR

public static final NutsConfirmationMode ERROR

📢❄ NO

public static final NutsConfirmationMode NO

📢❄ YES

public static final NutsConfirmationMode YES

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsConfirmationMode valueOf(String name)

return:NutsConfirmationMode

  • String name :

📢⚙ values()

NutsConfirmationMode[] values()

return:NutsConfirmationMode[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsContentEvent

public interface net.vpc.app.nuts.NutsContentEvent

Event for {\@link NutsRepositoryListener} methods. +\@author vpc +\@since 0.5.3 +\@category Base

🎛 Instance Properties

📄🎛 path

artifact path

[read-only] Path public path
public Path getPath()

📄🎛 repository

current repository

[read-only] NutsRepository public repository
public NutsRepository getRepository()

📄🎛 session

current session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 workspace

current workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsDefinition

public interface net.vpc.app.nuts.NutsDefinition

Definition is an \<strong>immutable\</strong> object that contains all information about a artifact identified by it\'s Id.

\@since 0.5.4 +\@category Base

🎛 Instance Properties

📄🎛 apiId

return target api id (included in dependency) for the current id. +This is relevant for runtime, extension and companion ids. +For other regular ids, this returns null.

[read-only] NutsId public apiId
public NutsId getApiId()

📄🎛 content

return artifact content file info (including path). +this is an \<strong>optional\</strong> property. It must be requested (see {\@link NutsSearchCommand#setContent(boolean)}) to be available.

[read-only] NutsContent public content
public NutsContent getContent()

📄🎛 dependencies

return all or some of the transitive dependencies of the current Nuts as List +result of the search command +this is an \<strong>optional\</strong> property. +It must be requested (see {\@link NutsSearchCommand#setDependencies(boolean)} to be available.

[read-only] NutsDependency[] public dependencies
public NutsDependency[] getDependencies()

📄🎛 dependencyNodes

return all of some of the transitive dependencies of the current Nuts as Tree result of the search command +this is an \<strong>optional\</strong> property. +It must be requested (see {\@link NutsSearchCommand#setDependenciesTree(boolean)} to be available.

[read-only] NutsDependencyTreeNode[] public dependencyNodes
public NutsDependencyTreeNode[] getDependencyNodes()

📄🎛 descriptor

return artifact descriptor

[read-only] NutsDescriptor public descriptor
public NutsDescriptor getDescriptor()

📄🎛 effectiveDescriptor

return artifact effective descriptor. +this is an \<strong>optional\</strong> property. +It must be requested (see {\@link NutsSearchCommand#setEffective(boolean)} to be available).

[read-only] NutsDescriptor public effectiveDescriptor
public NutsDescriptor getEffectiveDescriptor()

📄🎛 id

artifact id

[read-only] NutsId public id
public NutsId getId()

📄🎛 installInformation

return artifact install information.

[read-only] NutsInstallInformation public installInformation
public NutsInstallInformation getInstallInformation()

📄🎛 path

return artifact content file path. +this is an \<strong>optional\</strong> property. It must be requested (see {\@link NutsSearchCommand#setContent(boolean)}) to be available.

[read-only] Path public path
public Path getPath()

📄🎛 repositoryName

name of the repository providing this id.

[read-only] String public repositoryName
public String getRepositoryName()

📄🎛 repositoryUuid

id of the repository providing this id.

[read-only] String public repositoryUuid
public String getRepositoryUuid()

📄🎛 setDependencies

true if requested content

[read-only] boolean public setDependencies
public boolean isSetDependencies()

📄🎛 setDependencyNodes

true if requested content

[read-only] boolean public setDependencyNodes
public boolean isSetDependencyNodes()

📄🎛 setEffectiveDescriptor

true if requested effective descriptor

[read-only] boolean public setEffectiveDescriptor
public boolean isSetEffectiveDescriptor()

📄🎛 type

return artifact type

[read-only] NutsIdType public type
public NutsIdType getType()

⚙ Instance Methods

⚙ compareTo(other)

Compares this object with the specified definition for order. +This is equivalent to comparing subsequent ids.

int compareTo(NutsDefinition other)

return:int

  • NutsDefinition other : other definition to compare with

☕ NutsExecutionContext

public interface net.vpc.app.nuts.NutsExecutionContext

execution context used in {\@link NutsExecutorComponent} and +{\@link NutsInstallerComponent}.

\@author vpc +\@since 0.5.4 +\@category Base

🎛 Instance Properties

📄🎛 arguments

command arguments

[read-only] String[] public arguments
public String[] getArguments()

📄🎛 commandName

command name

[read-only] String public commandName
public String getCommandName()

📄🎛 cwd

current working directory

[read-only] String public cwd
public String getCwd()

📄🎛 definition

command definition if any

[read-only] NutsDefinition public definition
public NutsDefinition getDefinition()

📄🎛 env

execution environment

[read-only] Map public env
public Map getEnv()

📄🎛 execSession

current session

[read-only] NutsSession public execSession
public NutsSession getExecSession()

📄🎛 executionType

execution type

[read-only] NutsExecutionType public executionType
public NutsExecutionType getExecutionType()

📄🎛 executorDescriptor

executor descriptor

[read-only] NutsArtifactCall public executorDescriptor
public NutsArtifactCall getExecutorDescriptor()

📄🎛 executorOptions

executor options

[read-only] String[] public executorOptions
public String[] getExecutorOptions()

📄🎛 executorProperties

executor properties

[read-only] Map public executorProperties
public Map getExecutorProperties()

📄🎛 failFast

when true, any non 0 exited command will throw an Exception

[read-only] boolean public failFast
public boolean isFailFast()

📄🎛 temporary

when true, the component is temporary and is not registered withing the +workspace

[read-only] boolean public temporary
public boolean isTemporary()

📄🎛 traceSession

[read-only] NutsSession public traceSession
public NutsSession getTraceSession()

📄🎛 workspace

workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

⚙ Instance Methods

⚙ workspace()

workspace

NutsWorkspace workspace()

return:NutsWorkspace

☕ NutsIOCompressAction

public interface net.vpc.app.nuts.NutsIOCompressAction

I/O Action that help monitored compress +of one or multiple resource types. +Default implementation should handle

\@author vpc +\@since 0.5.4 +\@category Base

🎛 Instance Properties

📝🎛 format

update format

[read-write] NutsIOCompressAction public format
public String getFormat()
public NutsIOCompressAction setFormat(format)

📝🎛 logProgress

switch log progress flag to {\@code value}.

[read-write] NutsIOCompressAction public logProgress
public boolean isLogProgress()
public NutsIOCompressAction setLogProgress(value)

✏🎛 progressMonitor

set progress monitor. Will create a singleton progress monitor factory

[write-only] NutsIOCompressAction public progressMonitor
public NutsIOCompressAction setProgressMonitor(value)

📝🎛 progressMonitorFactory

set progress factory responsible of creating progress monitor

[read-write] NutsIOCompressAction public progressMonitorFactory
public NutsProgressFactory getProgressMonitorFactory()
public NutsIOCompressAction setProgressMonitorFactory(value)

📝🎛 safe

switch safe copy flag to {\@code value}

[read-write] NutsIOCompressAction public safe
public boolean isSafe()
public NutsIOCompressAction setSafe(value)

📝🎛 session

update current session

[read-write] NutsIOCompressAction public session
public NutsSession getSession()
public NutsIOCompressAction setSession(session)

📝🎛 skipRoot

set skip root flag to {\@code value}

[read-write] NutsIOCompressAction public skipRoot
public boolean isSkipRoot()
public NutsIOCompressAction setSkipRoot(value)

📄🎛 sources

sources to compress

[read-only] List public sources
public List getSources()

📝🎛 target

update target

[read-write] NutsIOCompressAction public target
public Object getTarget()
public NutsIOCompressAction setTarget(target)

⚙ Instance Methods

⚙ addSource(source)

add source to compress

NutsIOCompressAction addSource(String source)

return:NutsIOCompressAction

  • String source : source

⚙ addSource(source)

add source to compress

NutsIOCompressAction addSource(InputStream source)

return:NutsIOCompressAction

  • InputStream source : source

⚙ addSource(source)

add source to compress

NutsIOCompressAction addSource(File source)

return:NutsIOCompressAction

  • File source : source

⚙ addSource(source)

add source to compress

NutsIOCompressAction addSource(Path source)

return:NutsIOCompressAction

  • Path source : source

⚙ addSource(source)

add source to compress

NutsIOCompressAction addSource(URL source)

return:NutsIOCompressAction

  • URL source : source

⚙ getFormatOption(option)

return format option

Object getFormatOption(String option)

return:Object

  • String option : option name

⚙ logProgress()

switch log progress flag to to true.

NutsIOCompressAction logProgress()

return:NutsIOCompressAction

⚙ logProgress(value)

switch log progress flag to {\@code value}.

NutsIOCompressAction logProgress(boolean value)

return:NutsIOCompressAction

  • boolean value : value

⚙ progressMonitor(value)

set progress monitor. Will create a singleton progress monitor factory

NutsIOCompressAction progressMonitor(NutsProgressMonitor value)

return:NutsIOCompressAction

  • NutsProgressMonitor value : new value

⚙ progressMonitorFactory(value)

set progress factory responsible of creating progress monitor

NutsIOCompressAction progressMonitorFactory(NutsProgressFactory value)

return:NutsIOCompressAction

  • NutsProgressFactory value : new value

⚙ run()

run this Compress action

NutsIOCompressAction run()

return:NutsIOCompressAction

⚙ safe()

arm safe copy flag

NutsIOCompressAction safe()

return:NutsIOCompressAction

⚙ safe(value)

switch safe copy flag to {\@code value}

NutsIOCompressAction safe(boolean value)

return:NutsIOCompressAction

  • boolean value : value

⚙ setFormatOption(option, value)

update format option

NutsIOCompressAction setFormatOption(String option, Object value)

return:NutsIOCompressAction

  • String option : option name
  • Object value : value

⚙ skipRoot()

set skip root flag to {\@code true}

NutsIOCompressAction skipRoot()

return:NutsIOCompressAction

⚙ skipRoot(value)

set skip root flag to {\@code value}

NutsIOCompressAction skipRoot(boolean value)

return:NutsIOCompressAction

  • boolean value : new value

⚙ to(target)

update target

NutsIOCompressAction to(OutputStream target)

return:NutsIOCompressAction

  • OutputStream target : target

⚙ to(target)

update target

NutsIOCompressAction to(String target)

return:NutsIOCompressAction

  • String target : target

⚙ to(target)

update target

NutsIOCompressAction to(Path target)

return:NutsIOCompressAction

  • Path target : target

⚙ to(target)

update target

NutsIOCompressAction to(File target)

return:NutsIOCompressAction

  • File target : target

⚙ to(target)

update target

NutsIOCompressAction to(Object target)

return:NutsIOCompressAction

  • Object target : target

☕ NutsIdLocationBuilder

public interface net.vpc.app.nuts.NutsIdLocationBuilder

Mutable IdLocation class that helps creating instance of immutable {\@link NutsIdLocation}. +Instances of {\@link NutsIdLocation} are used in {\@link NutsDescriptor} (see {\@link NutsDescriptor#getLocations()})

\@category Base

🎛 Instance Properties

📝🎛 classifier

update location classifier

[read-write] NutsIdLocationBuilder public classifier
public String getClassifier()
public NutsIdLocationBuilder setClassifier(value)

📝🎛 region

update location region

[read-write] NutsIdLocationBuilder public region
public String getRegion()
public NutsIdLocationBuilder setRegion(value)

📝🎛 url

update location url

[read-write] NutsIdLocationBuilder public url
public String getUrl()
public NutsIdLocationBuilder setUrl(value)

⚙ Instance Methods

⚙ build()

create new instance of {\@link NutsIdLocation} initialized with this builder values.

NutsIdLocation build()

return:NutsIdLocation

⚙ classifier(value)

update location classifier

NutsIdLocationBuilder classifier(String value)

return:NutsIdLocationBuilder

  • String value : location classifier

⚙ clear()

clear this instance (set null/default all properties)

NutsIdLocationBuilder clear()

return:NutsIdLocationBuilder

⚙ region(value)

update location region

NutsIdLocationBuilder region(String value)

return:NutsIdLocationBuilder

  • String value : location region

⚙ set(value)

update all attributes, copy from {\@code value} instance

NutsIdLocationBuilder set(NutsIdLocationBuilder value)

return:NutsIdLocationBuilder

  • NutsIdLocationBuilder value : instance to copy from

⚙ set(value)

update all attributes, copy from {\@code value} instance

NutsIdLocationBuilder set(NutsIdLocation value)

return:NutsIdLocationBuilder

  • NutsIdLocation value : instance to copy from

⚙ url(value)

update location url

NutsIdLocationBuilder url(String value)

return:NutsIdLocationBuilder

  • String value : location url

☕ NutsIdType

public final net.vpc.app.nuts.NutsIdType

Artifacts are organized according to {\@code NutsIdType} to reflect how the artifact +should be managed by the workspace. +This information is available in {\@link NutsDefinition} +\@category Base

📢❄ Constant Fields

📢❄ API

public static final NutsIdType API

📢❄ COMPANION

public static final NutsIdType COMPANION

📢❄ EXTENSION

public static final NutsIdType EXTENSION

📢❄ REGULAR

public static final NutsIdType REGULAR

📢❄ RUNTIME

public static final NutsIdType RUNTIME

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsIdType valueOf(String name)

return:NutsIdType

  • String name :

📢⚙ values()

NutsIdType[] values()

return:NutsIdType[]

☕ NutsIndexStore

public interface net.vpc.app.nuts.NutsIndexStore

Classes implementations of {\@code NutsIndexStore} handle +indexing of repositories to enable faster search. +\@author vpc +\@since 0.5.4 +\@category Base

🎛 Instance Properties

📝🎛 enabled

enable of disable ot index

[read-write] NutsIndexStore public enabled
public boolean isEnabled()
public NutsIndexStore setEnabled(enabled)

📄🎛 subscribed

return true if the current repository is registered

[read-only] boolean public subscribed
public boolean isSubscribed()

⚙ Instance Methods

⚙ enabled()

enable index

NutsIndexStore enabled()

return:NutsIndexStore

⚙ enabled(enabled)

enable of disable ot index

NutsIndexStore enabled(boolean enabled)

return:NutsIndexStore

  • boolean enabled : new value

⚙ invalidate(id)

invalidate the artifact from the index

NutsIndexStore invalidate(NutsId id)

return:NutsIndexStore

  • NutsId id : id to invalidate

⚙ revalidate(id)

invalidate the artifact from the index and re-index it

NutsIndexStore revalidate(NutsId id)

return:NutsIndexStore

  • NutsId id : id to re-index

⚙ search(filter, session)

search all artifacts matching the given filter

Iterator search(NutsIdFilter filter, NutsSession session)

return:Iterator

  • NutsIdFilter filter : filter or null for all
  • NutsSession session : current session

⚙ searchVersions(id, session)

search all versions of the given artifact

Iterator searchVersions(NutsId id, NutsSession session)

return:Iterator

  • NutsId id : artifact to search for
  • NutsSession session : current session

⚙ subscribe()

subscribe the current repository so the indexing +is processed.

NutsIndexStore subscribe()

return:NutsIndexStore

⚙ unsubscribe()

unsubscribe the current repository so that the indexing +is disabled and the index is removed.

NutsIndexStore unsubscribe()

return:NutsIndexStore

☕ NutsIndexStoreFactory

public interface net.vpc.app.nuts.NutsIndexStoreFactory

Index Store Factory responsible of creating stores for a given repository +\@author vpc +\@since 0.5.4 +\@category Base

⚙ Instance Methods

⚙ createIndexStore(repository)

create a new index store implementation or null if not supported

NutsIndexStore createIndexStore(NutsRepository repository)

return:NutsIndexStore

  • NutsRepository repository : repository to greate the index store to

☕ NutsInputStreamTransparentAdapter

public interface net.vpc.app.nuts.NutsInputStreamTransparentAdapter

Interface to enable marking system streams. When creating new processes nuts +will dereference NutsInputStreamTransparentAdapter to check if the +InputStream i a system io. In that case nuts will "inherit" input stream

\@since 0.5.4 +\@category Base

⚙ Instance Methods

⚙ baseInputStream()

de-referenced stream

InputStream baseInputStream()

return:InputStream

☕ NutsInstallCommand

public interface net.vpc.app.nuts.NutsInstallCommand

Command for installing artifacts +\@author vpc +\@since 0.5.4 +\@category Base +\@category Commands

🎛 Instance Properties

📄🎛 args

return all arguments to pass to the install command

[read-only] String[] public args
public String[] getArgs()

📝🎛 companions

if true update companions

[read-write] NutsInstallCommand public companions
public boolean isCompanions()
public NutsInstallCommand setCompanions(value)

📝🎛 defaultVersion

set default version flag. when true, the installed version will be defined as default

[read-write] NutsInstallCommand public defaultVersion
public boolean isDefaultVersion()
public NutsInstallCommand setDefaultVersion(defaultVersion)

📄🎛 ids

return all ids to install

[read-only] NutsId[] public ids
public NutsId[] getIds()

📝🎛 installed

if true reinstall installed artifacts

[read-write] NutsInstallCommand public installed
public boolean isInstalled()
public NutsInstallCommand setInstalled(value)

📄🎛 result

execute installation and return result.

[read-only] NutsResultList public result
public NutsResultList getResult()

✏🎛 session

update session

[write-only] NutsInstallCommand public session
public NutsInstallCommand setSession(session)

⚙ Instance Methods

⚙ addArg(arg)

add argument to pass to the install command

NutsInstallCommand addArg(String arg)

return:NutsInstallCommand

  • String arg : argument

⚙ addArgs(args)

add arguments to pass to the install command

NutsInstallCommand addArgs(Collection args)

return:NutsInstallCommand

  • Collection args : argument

⚙ addArgs(args)

add arguments to pass to the install command

NutsInstallCommand addArgs(String[] args)

return:NutsInstallCommand

  • String[] args : argument

⚙ addId(id)

add artifact id to install

NutsInstallCommand addId(NutsId id)

return:NutsInstallCommand

  • NutsId id : id to install

⚙ addId(id)

add artifact id to install

NutsInstallCommand addId(String id)

return:NutsInstallCommand

  • String id : id to install

⚙ addIds(ids)

add artifact ids to install

NutsInstallCommand addIds(NutsId[] ids)

return:NutsInstallCommand

  • NutsId[] ids : ids to install

⚙ addIds(ids)

add artifact ids to install

NutsInstallCommand addIds(String[] ids)

return:NutsInstallCommand

  • String[] ids : ids to install

⚙ arg(arg)

add argument to pass to the install command

NutsInstallCommand arg(String arg)

return:NutsInstallCommand

  • String arg : argument

⚙ args(args)

add arguments to pass to the install command

NutsInstallCommand args(Collection args)

return:NutsInstallCommand

  • Collection args : argument

⚙ args(args)

add arguments to pass to the install command

NutsInstallCommand args(String[] args)

return:NutsInstallCommand

  • String[] args : argument

⚙ clearArgs()

clear all arguments to pass to the install command

NutsInstallCommand clearArgs()

return:NutsInstallCommand

⚙ clearIds()

clear ids to install

NutsInstallCommand clearIds()

return:NutsInstallCommand

⚙ companions()

update companions

NutsInstallCommand companions()

return:NutsInstallCommand

⚙ companions(value)

if true update companions

NutsInstallCommand companions(boolean value)

return:NutsInstallCommand

  • boolean value : flag

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsInstallCommand configure(boolean skipUnsupported, String[] args)

return:NutsInstallCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsInstallCommand copySession()

return:NutsInstallCommand

⚙ defaultVersion()

set default version flag. the installed version will be defined as default.

NutsInstallCommand defaultVersion()

return:NutsInstallCommand

⚙ defaultVersion(defaultVersion)

set default version flag. when true, the installed version will be defined as default

NutsInstallCommand defaultVersion(boolean defaultVersion)

return:NutsInstallCommand

  • boolean defaultVersion : when true, the installed version will be defined as +default

⚙ id(id)

add artifact id to install

NutsInstallCommand id(NutsId id)

return:NutsInstallCommand

  • NutsId id : id to install

⚙ id(id)

add artifact id to install

NutsInstallCommand id(String id)

return:NutsInstallCommand

  • String id : id to install

⚙ ids(ids)

add artifact ids to install

NutsInstallCommand ids(NutsId[] ids)

return:NutsInstallCommand

  • NutsId[] ids : id to install

⚙ ids(ids)

add artifact ids to install

NutsInstallCommand ids(String[] ids)

return:NutsInstallCommand

  • String[] ids : id to install

⚙ installed()

reinstall installed artifacts

NutsInstallCommand installed()

return:NutsInstallCommand

⚙ installed(value)

if true reinstall installed artifacts

NutsInstallCommand installed(boolean value)

return:NutsInstallCommand

  • boolean value : flag

⚙ removeId(id)

remove artifact id to install

NutsInstallCommand removeId(NutsId id)

return:NutsInstallCommand

  • NutsId id : id to install

⚙ removeId(id)

remove artifact id to install

NutsInstallCommand removeId(String id)

return:NutsInstallCommand

  • String id : id to install

⚙ run()

execute the command and return this instance

NutsInstallCommand run()

return:NutsInstallCommand

☕ NutsInstallEvent

public interface net.vpc.app.nuts.NutsInstallEvent

Event describing installation of an artifact +\@author vpc +\@since 0.5.6 +\@category Base

🎛 Instance Properties

📄🎛 definition

return artifact definition

[read-only] NutsDefinition public definition
public NutsDefinition getDefinition()

📄🎛 force

return true if installation was forced

[read-only] boolean public force
public boolean isForce()

📄🎛 session

return current session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 workspace

vcurrent workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsInstallInformation

public interface net.vpc.app.nuts.NutsInstallInformation

Information about installed artifact +\@author vpc +\@since 0.5.5 +\@category Base

🎛 Instance Properties

📄🎛 defaultVersion

true when the installed artifact is default version

[read-only] boolean public defaultVersion
public boolean isDefaultVersion()

📄🎛 id

installation date

[read-only] NutsId public id
public NutsId getId()

📄🎛 installDate

installation date

[read-only] Instant public installDate
public Instant getInstallDate()

📄🎛 installFolder

installation formation path.

[read-only] Path public installFolder
public Path getInstallFolder()

📄🎛 installStatus

return install status

[read-only] NutsInstallStatus public installStatus
public NutsInstallStatus getInstallStatus()

📄🎛 installUser

return the user responsible of the installation

[read-only] String public installUser
public String getInstallUser()

📄🎛 installedOrIncluded

return true if installed primary or dependency

[read-only] boolean public installedOrIncluded
public boolean isInstalledOrIncluded()

📄🎛 justInstalled

true if the installation just occurred in the very last operation

[read-only] boolean public justInstalled
public boolean isJustInstalled()

📄🎛 justReInstalled

true if the re-installation just occurred in the very last operation

[read-only] boolean public justReInstalled
public boolean isJustReInstalled()

📄🎛 sourceRepositoryName

[read-only] String public sourceRepositoryName
public String getSourceRepositoryName()

📄🎛 sourceRepositoryUUID

[read-only] String public sourceRepositoryUUID
public String getSourceRepositoryUUID()

☕ NutsInstallStatus

public final net.vpc.app.nuts.NutsInstallStatus

Package installation status +\@category Base

📢❄ Constant Fields

📢❄ INCLUDED

public static final NutsInstallStatus INCLUDED

📢❄ INSTALLED

public static final NutsInstallStatus INSTALLED

📢❄ INSTALLED_OR_INCLUDED

public static final NutsInstallStatus INSTALLED_OR_INCLUDED

📢❄ NOT_INSTALLED

public static final NutsInstallStatus NOT_INSTALLED

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsInstallStatus valueOf(String name)

return:NutsInstallStatus

  • String name :

📢⚙ values()

NutsInstallStatus[] values()

return:NutsInstallStatus[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsListener

public interface net.vpc.app.nuts.NutsListener

Anchor interface for all Nuts Listeners. +\@author vpc +\@since 0.5.5 +\@category Base

☕ NutsMapListener

public interface net.vpc.app.nuts.NutsMapListener

Map Listener to catch updates

\@param \<K> key type +\@param \<V> value type +\@since 0.2.0 +\@category Base

⚙ Instance Methods

⚙ entryAdded(key, value)

Invoked when item added

void entryAdded(Object key, Object value)
  • Object key : key
  • Object value : value

⚙ entryRemoved(key, value)

Invoked when item removed

void entryRemoved(Object key, Object value)
  • Object key : key
  • Object value : value

⚙ entryUpdated(key, newValue, oldValue)

Invoked when item updated

void entryUpdated(Object key, Object newValue, Object oldValue)
  • Object key : key
  • Object newValue : new value
  • Object oldValue : old value

☕ NutsOsFamily

public final net.vpc.app.nuts.NutsOsFamily

Supported Operating System Families +\@author vpc +\@since 0.5.4 +\@category Base

📢❄ Constant Fields

📢❄ LINUX

public static final NutsOsFamily LINUX

📢❄ MACOS

public static final NutsOsFamily MACOS

📢❄ UNIX

public static final NutsOsFamily UNIX

📢❄ UNKNOWN

public static final NutsOsFamily UNKNOWN

📢❄ WINDOWS

public static final NutsOsFamily WINDOWS

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsOsFamily valueOf(String name)

return:NutsOsFamily

  • String name :

📢⚙ values()

NutsOsFamily[] values()

return:NutsOsFamily[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsProcessInfo

public interface net.vpc.app.nuts.NutsProcessInfo

System Process Information +\@category Base

🎛 Instance Properties

📄🎛 commandLine

Process command line

[read-only] String public commandLine
public String getCommandLine()

📄🎛 name

Process Name. +This should represent Fully Qualified Java Main Class Name for java processes.

[read-only] String public name
public String getName()

📄🎛 pid

Process Id in string representation

[read-only] String public pid
public String getPid()

📄🎛 title

Process Title / Window Title if available

[read-only] String public title
public String getTitle()

☕ NutsProgressEvent

public interface net.vpc.app.nuts.NutsProgressEvent

Progress event +\@author vpc +\@since 0.5.8 +\@category Base

🎛 Instance Properties

📄🎛 currentValue

progress current value

[read-only] long public currentValue
public long getCurrentValue()

📄🎛 error

error or null

[read-only] Throwable public error
public Throwable getError()

📄🎛 indeterminate

when true, max value is unknown, and the progress is indeterminate

[read-only] boolean public indeterminate
public boolean isIndeterminate()

📄🎛 maxValue

progress max value or -1 if intermediate

[read-only] long public maxValue
public long getMaxValue()

📄🎛 message

event message

[read-only] String public message
public String getMessage()

📄🎛 partialMillis

progress time from the starting of the last mark point.

[read-only] long public partialMillis
public long getPartialMillis()

📄🎛 partialValue

progress value from the last mark point. +Mark point occurs when {\@link NutsProgressMonitor#onProgress(NutsProgressEvent)} return false.

[read-only] long public partialValue
public long getPartialValue()

📄🎛 percent

progress percentage ([0..100])

[read-only] float public percent
public float getPercent()

📄🎛 session

Nuts Session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 source

progress source object

[read-only] Object public source
public Object getSource()

📄🎛 timeMillis

progress time from the starting of the progress.

[read-only] long public timeMillis
public long getTimeMillis()

☕ NutsProgressFactory

public interface net.vpc.app.nuts.NutsProgressFactory

NutsProgressFactory is responsible of creating instances of {\@link NutsProgressMonitor} +\@author vpc +\@since 0.5.8 +\@category Base

⚙ Instance Methods

⚙ create(source, sourceOrigin, session)

create a new instance of {\@link NutsProgressMonitor}

NutsProgressMonitor create(Object source, Object sourceOrigin, NutsSession session)

return:NutsProgressMonitor

  • Object source : source object of the progress. This may be the File for instance
  • Object sourceOrigin : source origin object of the progress. This may be the NutsId for instance
  • NutsSession session : workspace session

☕ NutsProgressMonitor

public interface net.vpc.app.nuts.NutsProgressMonitor

Monitor handles events from copy, compress and delete actions +\@author vpc +\@since 0.5.8 +\@category Base

⚙ Instance Methods

⚙ onComplete(event)

called when the action terminates

void onComplete(NutsProgressEvent event)
  • NutsProgressEvent event : event

⚙ onProgress(event)

called when the action does a step forward and return +true if the progress was handled of false otherwise.

boolean onProgress(NutsProgressEvent event)

return:boolean

  • NutsProgressEvent event : event

⚙ onStart(event)

called when the action starts

void onStart(NutsProgressEvent event)
  • NutsProgressEvent event : event

☕ NutsQuestion

public interface net.vpc.app.nuts.NutsQuestion

Question is helpful object that permits user interaction by reading a typed object from +standard input or an equivalent input system. +\@param \<T> value type returned by this question object +\@author vpc +\@since 0.5.4 +\@category Base

🎛 Instance Properties

📄🎛 acceptedValues

[read-only] Object[] public acceptedValues
public Object[] getAcceptedValues()

📄🎛 booleanValue

equivalent to (Boolean) getValue() as type dereferencing may cause some +troubles

[read-only] Boolean public booleanValue
public Boolean getBooleanValue()

📄🎛 defaultValue

[read-only] Object public defaultValue
public Object getDefaultValue()

📄🎛 format

[read-only] NutsQuestionFormat public format
public NutsQuestionFormat getFormat()

📄🎛 hintMessage

[read-only] String public hintMessage
public String getHintMessage()

📄🎛 hintMessageParameters

[read-only] Object[] public hintMessageParameters
public Object[] getHintMessageParameters()

📄🎛 message

[read-only] String public message
public String getMessage()

📄🎛 messageParameters

[read-only] Object[] public messageParameters
public Object[] getMessageParameters()

📄🎛 parser

[read-only] NutsQuestionParser public parser
public NutsQuestionParser getParser()

📄🎛 session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 validator

[read-only] NutsQuestionValidator public validator
public NutsQuestionValidator getValidator()

📄🎛 value

[read-only] Object public value
public Object getValue()

📄🎛 valueType

[read-only] Class public valueType
public Class getValueType()

⚙ Instance Methods

⚙ acceptedValues(acceptedValues)

NutsQuestion acceptedValues(Object[] acceptedValues)

return:NutsQuestion

  • Object[] acceptedValues :

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsQuestion configure(boolean skipUnsupported, String[] args)

return:NutsQuestion

  • boolean skipUnsupported :
  • String[] args : argument to configure with

⚙ defaultValue(defautValue)

NutsQuestion defaultValue(Object defautValue)

return:NutsQuestion

  • Object defautValue :

⚙ forBoolean(msg, params)

NutsQuestion forBoolean(String msg, Object[] params)

return:NutsQuestion

  • String msg :
  • Object[] params :

⚙ forDouble(msg, params)

NutsQuestion forDouble(String msg, Object[] params)

return:NutsQuestion

  • String msg :
  • Object[] params :

⚙ forEnum(enumType, msg, params)

NutsQuestion forEnum(Class enumType, String msg, Object[] params)

return:NutsQuestion

  • Class enumType :
  • String msg :
  • Object[] params :

⚙ forFloat(msg, params)

NutsQuestion forFloat(String msg, Object[] params)

return:NutsQuestion

  • String msg :
  • Object[] params :

⚙ forInteger(msg, params)

NutsQuestion forInteger(String msg, Object[] params)

return:NutsQuestion

  • String msg :
  • Object[] params :

⚙ forLong(msg, params)

NutsQuestion forLong(String msg, Object[] params)

return:NutsQuestion

  • String msg :
  • Object[] params :

⚙ forPassword(msg, params)

NutsQuestion forPassword(String msg, Object[] params)

return:NutsQuestion

  • String msg :
  • Object[] params :

⚙ forString(msg, params)

NutsQuestion forString(String msg, Object[] params)

return:NutsQuestion

  • String msg :
  • Object[] params :

⚙ format(format)

NutsQuestion format(NutsQuestionFormat format)

return:NutsQuestion

  • NutsQuestionFormat format :

⚙ hintMessage(message, messageParameters)

NutsQuestion hintMessage(String message, Object[] messageParameters)

return:NutsQuestion

  • String message :
  • Object[] messageParameters :

⚙ message(message, messageParameters)

NutsQuestion message(String message, Object[] messageParameters)

return:NutsQuestion

  • String message :
  • Object[] messageParameters :

⚙ parser(parser)

NutsQuestion parser(NutsQuestionParser parser)

return:NutsQuestion

  • NutsQuestionParser parser :

⚙ run()

NutsQuestion run()

return:NutsQuestion

⚙ setAcceptedValues(acceptedValues)

NutsQuestion setAcceptedValues(Object[] acceptedValues)

return:NutsQuestion

  • Object[] acceptedValues :

⚙ setDefaultValue(defaultValue)

NutsQuestion setDefaultValue(Object defaultValue)

return:NutsQuestion

  • Object defaultValue :

⚙ setFormat(format)

NutsQuestion setFormat(NutsQuestionFormat format)

return:NutsQuestion

  • NutsQuestionFormat format :

⚙ setHintMessage(message, messageParameters)

NutsQuestion setHintMessage(String message, Object[] messageParameters)

return:NutsQuestion

  • String message :
  • Object[] messageParameters :

⚙ setMessage(message, messageParameters)

NutsQuestion setMessage(String message, Object[] messageParameters)

return:NutsQuestion

  • String message :
  • Object[] messageParameters :

⚙ setParser(parser)

NutsQuestion setParser(NutsQuestionParser parser)

return:NutsQuestion

  • NutsQuestionParser parser :

⚙ setSession(session)

NutsQuestion setSession(NutsSession session)

return:NutsQuestion

  • NutsSession session :

⚙ setValidator(validator)

NutsQuestion setValidator(NutsQuestionValidator validator)

return:NutsQuestion

  • NutsQuestionValidator validator :

⚙ setValueType(valueType)

NutsQuestion setValueType(Class valueType)

return:NutsQuestion

  • Class valueType :

⚙ validator(validator)

NutsQuestion validator(NutsQuestionValidator validator)

return:NutsQuestion

  • NutsQuestionValidator validator :

⚙ valueType(valueType)

NutsQuestion valueType(Class valueType)

return:NutsQuestion

  • Class valueType :

☕ NutsQuestionParser

public interface net.vpc.app.nuts.NutsQuestionParser

\@author vpc +\@since 0.5.4 +\@category Base

⚙ Instance Methods

⚙ parse(response, defaultValue, question)

Object parse(Object response, Object defaultValue, NutsQuestion question)

return:Object

  • Object response :
  • Object defaultValue :
  • NutsQuestion question :

☕ NutsQuestionValidator

public interface net.vpc.app.nuts.NutsQuestionValidator

\@author vpc +\@since 0.5.4 +\@category Base

⚙ Instance Methods

⚙ validate(value, question)

Object validate(Object value, NutsQuestion question)

return:Object

  • Object value :
  • NutsQuestion question :

☕ NutsRepository

public interface net.vpc.app.nuts.NutsRepository

Nuts repository manages a set of packages

\@since 0.5.4 +\@category Base

📢❄ Constant Fields

📢❄ SPEED_FAST

public static final int SPEED_FAST = 10000

📢❄ SPEED_FASTER

public static final int SPEED_FASTER = 100000

📢❄ SPEED_FASTEST

public static final int SPEED_FASTEST = 1000000

📢❄ SPEED_SLOW

public static final int SPEED_SLOW = 1000

📢❄ SPEED_SLOWER

public static final int SPEED_SLOWER = 100

📢❄ SPEED_SLOWEST

public static final int SPEED_SLOWEST = 10

🎛 Instance Properties

📄🎛 name

return repository name. +equivalent to config().name()

[read-only] String public name
public String getName()

📄🎛 parentRepository

return parent repository or null

[read-only] NutsRepository public parentRepository
public NutsRepository getParentRepository()

📄🎛 repositoryListeners

Repository Listeners

[read-only] NutsRepositoryListener[] public repositoryListeners
public NutsRepositoryListener[] getRepositoryListeners()

📄🎛 repositoryType

return repository type

[read-only] String public repositoryType
public String getRepositoryType()

📄🎛 userPropertyListeners

return array of registered user properties listeners

[read-only] NutsMapListener[] public userPropertyListeners
public NutsMapListener[] getUserPropertyListeners()

📄🎛 uuid

return repository unique identifier

[read-only] String public uuid
public String getUuid()

📄🎛 workspace

return parent workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

⚙ Instance Methods

⚙ addRepositoryListener(listener)

add repository listener

void addRepositoryListener(NutsRepositoryListener listener)
  • NutsRepositoryListener listener : listener

⚙ addUserPropertyListener(listener)

add listener to user properties

void addUserPropertyListener(NutsMapListener listener)
  • NutsMapListener listener : listener

⚙ config()

return repository configuration manager

NutsRepositoryConfigManager config()

return:NutsRepositoryConfigManager

⚙ deploy()

create deploy command

NutsDeployRepositoryCommand deploy()

return:NutsDeployRepositoryCommand

⚙ fetchContent()

create fetchContent command

NutsFetchContentRepositoryCommand fetchContent()

return:NutsFetchContentRepositoryCommand

⚙ fetchDescriptor()

create fetchDescriptor command

NutsFetchDescriptorRepositoryCommand fetchDescriptor()

return:NutsFetchDescriptorRepositoryCommand

⚙ name()

return repository name. +equivalent to config().name()

String name()

return:String

⚙ parentRepository()

return parent repository or null

NutsRepository parentRepository()

return:NutsRepository

⚙ push()

create push command

NutsPushRepositoryCommand push()

return:NutsPushRepositoryCommand

⚙ removeRepositoryListener(listener)

remove repository listener

void removeRepositoryListener(NutsRepositoryListener listener)
  • NutsRepositoryListener listener : listener

⚙ removeUserPropertyListener(listener)

remove listener from user properties

void removeUserPropertyListener(NutsMapListener listener)
  • NutsMapListener listener : listener

⚙ repositoryType()

return repository type

String repositoryType()

return:String

⚙ search()

create search command

NutsSearchRepositoryCommand search()

return:NutsSearchRepositoryCommand

⚙ searchVersions()

create searchVersions command

NutsSearchVersionsRepositoryCommand searchVersions()

return:NutsSearchVersionsRepositoryCommand

⚙ security()

return repository security manager

NutsRepositorySecurityManager security()

return:NutsRepositorySecurityManager

⚙ undeploy()

create undeploy command

NutsRepositoryUndeployCommand undeploy()

return:NutsRepositoryUndeployCommand

⚙ updateStatistics()

create update statistics command

NutsUpdateRepositoryStatisticsCommand updateStatistics()

return:NutsUpdateRepositoryStatisticsCommand

⚙ userProperties()

return mutable instance of user properties

Map userProperties()

return:Map

⚙ uuid()

return repository unique identifier

String uuid()

return:String

⚙ workspace()

return parent workspace

NutsWorkspace workspace()

return:NutsWorkspace

☕ NutsRepositoryFilter

public interface net.vpc.app.nuts.NutsRepositoryFilter

Created by vpc on 1/5/17.

\@since 0.5.4 +\@category Base

⚙ Instance Methods

⚙ accept(repository)

boolean accept(NutsRepository repository)

return:boolean

  • NutsRepository repository :

☕ NutsResultList

public interface net.vpc.app.nuts.NutsResultList

Find Result items from find command

\@see NutsSearchCommand#getResultIds() +\@author vpc +\@param \<T> Result Type +\@since 0.5.4 +\@category Base

⚙ Instance Methods

⚙ count()

return elements count of this result.

consumes the result and returns the number of elements consumed. Calling +this method twice will result in unexpected behavior (may return 0 as the +result is already consumed or throw an Exception)

long count()

return:long

⚙ first()

return the first value or null if none found.

Calling this method twice will result in unexpected behavior (may return +an incorrect value such as null as the result is already consumed or +throw an Exception)

Object first()

return:Object

⚙ list()

return result as a java.util.List .

consumes the result and returns a list Calling this method twice will +result in unexpected behavior (may return an empty list as the result is +already consumed or throw an Exception)

List list()

return:List

⚙ required()

return the first value or NutsNotFoundException if not found.

Calling this method twice will result in unexpected behavior (may return +an incorrect value such as null as the result is already consumed or +throw an Exception)

Object required()

return:Object

⚙ singleton()

return the first value while checking that there are no more elements.

Calling this method twice will result in unexpected behavior (may return +an incorrect value such as null as the result is already consumed or +throw an Exception)

Object singleton()

return:Object

⚙ stream()

return result as a java.util.stream.Stream .

Calling this method twice will result in unexpected behavior (may return +0 as the result is already consumed or throw an Exception)

Stream stream()

return:Stream

☕ NutsSearchId

public interface net.vpc.app.nuts.NutsSearchId

Search id defines a uniform interface to ids, versions and descriptors +\@author vpc +\@since 0.5.4 +\@category Base

⚙ Instance Methods

⚙ getDescriptor(session)

return descriptor

NutsDescriptor getDescriptor(NutsSession session)

return:NutsDescriptor

  • NutsSession session : session

⚙ getId(session)

return id

NutsId getId(NutsSession session)

return:NutsId

  • NutsSession session : session

⚙ getVersion(session)

return version

NutsVersion getVersion(NutsSession session)

return:NutsVersion

  • NutsSession session : session

☕ NutsSearchIdFilter

public interface net.vpc.app.nuts.NutsSearchIdFilter

SearchId Filter. +\@author vpc +\@since 0.5.4 +\@category Base

⚙ Instance Methods

⚙ acceptSearchId(sid, session)

true if search id is accepted

boolean acceptSearchId(NutsSearchId sid, NutsSession session)

return:boolean

  • NutsSearchId sid : search id
  • NutsSession session : session

☕ NutsSession

public interface net.vpc.app.nuts.NutsSession

session is context defining common command options and parameters.

\@author vpc +\@since 0.5.4 +\@category Base

🎛 Instance Properties

📝🎛 ask

equivalent to {\@code setConfirm(enable?ASK:null)}

[read-write] NutsSession public ask
public boolean isAsk()
public NutsSession setAsk(enable)

📝🎛 cached

use cache

[read-write] NutsSession public cached
public boolean isCached()
public NutsSession setCached(value)

📝🎛 confirm

set confirm mode.

[read-write] NutsSession public confirm
public NutsConfirmationMode getConfirm()
public NutsSession setConfirm(confirm)

📝🎛 fetchStrategy

change fetch strategy

[read-write] NutsSession public fetchStrategy
public NutsFetchStrategy getFetchStrategy()
public NutsSession setFetchStrategy(mode)

📝🎛 force

change force flag value. some operations may require user confirmation +before performing critical operations such as overriding existing values, +deleting sensitive information ; in such cases, arming force flag will +provide an implicit confirmation.

[read-write] NutsSession public force
public boolean isForce()
public NutsSession setForce(enable)

📝🎛 indexed

use index

[read-write] NutsSession public indexed
public boolean isIndexed()
public NutsSession setIndexed(value)

📝🎛 iterableFormat

set iterable output format

[read-write] NutsSession public iterableFormat
public NutsIterableFormat getIterableFormat()
public NutsSession setIterableFormat(value)

📄🎛 iterableOut

true if iterable format is armed. equivalent to +{\@code getIterableFormat()!=null}

[read-only] boolean public iterableOut
public boolean isIterableOut()

📄🎛 iterableOutput

return iterable output

[read-only] NutsIterableOutput public iterableOutput
public NutsIterableOutput getIterableOutput()

📄🎛 iterableTrace

true if iterable format and trace flag are armed. equivalent to {\@code isTrace() +&& isIterableOut()}

[read-only] boolean public iterableTrace
public boolean isIterableTrace()

📄🎛 listeners

return all registered listeners.

[read-only] NutsListener[] public listeners
public NutsListener[] getListeners()

📝🎛 no

change no flag value. some operations may require user confirmation +before performing critical operations such as overriding existing values, +deleting sensitive information ; in such cases, arming no flag will +provide an implicit negative confirmation.

[read-write] NutsSession public no
public boolean isNo()
public NutsSession setNo(enable)

📝🎛 outputFormat

set output format

[read-write] NutsSession public outputFormat
public NutsOutputFormat getOutputFormat()
public NutsSession setOutputFormat(outputFormat)

📝🎛 outputFormatOptions

set output format options (clear and add)

[read-write] NutsSession public outputFormatOptions
public String[] getOutputFormatOptions()
public NutsSession setOutputFormatOptions(options)

📄🎛 plainOut

true if NON iterable and plain format are armed.

[read-only] boolean public plainOut
public boolean isPlainOut()

📄🎛 plainTrace

true if non iterable and plain formats along with trace flag are armed. +equivalent to {\@code isTrace() +&& !isIterableOut() +&& getOutputFormat() == NutsOutputFormat.PLAIN}

[read-only] boolean public plainTrace
public boolean isPlainTrace()

📝🎛 progressOptions

change progress options

[read-write] NutsSession public progressOptions
public String getProgressOptions()
public NutsSession setProgressOptions(progressOptions)

📝🎛 properties

add session properties

[read-write] NutsSession public properties
public Map getProperties()
public NutsSession setProperties(properties)

📄🎛 structuredOut

true if NON iterable and NON plain formats are armed. equivalent to {\@code !isIterableOut() +&& getOutputFormat() != NutsOutputFormat.PLAIN}

[read-only] boolean public structuredOut
public boolean isStructuredOut()

📄🎛 structuredTrace

true if NON iterable and NON plain formats along with trace flag are +armed. equivalent to {\@code isTrace() +&& !isIterableOut() +&& getOutputFormat() == NutsOutputFormat.PLAIN}

[read-only] boolean public structuredTrace
public boolean isStructuredTrace()

📝🎛 terminal

set session terminal

[read-write] NutsSession public terminal
public NutsSessionTerminal getTerminal()
public NutsSession setTerminal(terminal)

📝🎛 trace

change trace flag value. When true, operations are invited to print to +output stream information about processing. Output may be in different +formats according to {\@link #getOutputFormat()} and +{\@link #getIterableFormat()}

[read-write] NutsSession public trace
public boolean isTrace()
public NutsSession setTrace(trace)

📝🎛 transitive

consider transitive repositories

[read-write] NutsSession public transitive
public boolean isTransitive()
public NutsSession setTransitive(value)

📄🎛 workspace

current workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

📝🎛 yes

change YES flag value. some operations may require user confirmation +before performing critical operations such as overriding existing values, +deleting sensitive information ; in such cases, arming yes flag will +provide an implicit confirmation.

[read-write] NutsSession public yes
public boolean isYes()
public NutsSession setYes(enable)

⚙ Instance Methods

⚙ addListener(listener)

add session listener. supported listeners are instances of: +\<ul> +\<li>{\@link NutsWorkspaceListener}\</li> +\<li>{\@link NutsInstallListener}\</li> +\<li>{\@link NutsMapListener}\</li> +\<li>{\@link NutsRepositoryListener}\</li> +\</ul>

NutsSession addListener(NutsListener listener)

return:NutsSession

  • NutsListener listener : listener

⚙ addOutputFormatOptions(options)

add output format options

NutsSession addOutputFormatOptions(String[] options)

return:NutsSession

  • String[] options : output format options.

⚙ ask()

equivalent to {\@code setAsk(true)}

NutsSession ask()

return:NutsSession

⚙ confirm(confirm)

set confirm mode.

NutsSession confirm(NutsConfirmationMode confirm)

return:NutsSession

  • NutsConfirmationMode confirm : confirm type.

⚙ copy()

return new instance copy of {\@code this} session

NutsSession copy()

return:NutsSession

⚙ copyFrom(other)

copy into this instance from the given value

NutsSession copyFrom(NutsSession other)

return:NutsSession

  • NutsSession other : other session to copy from

⚙ err()

current error stream

PrintStream err()

return:PrintStream

⚙ fetchAnyWhere()

change fetch strategy to ANYWHERE

NutsSession fetchAnyWhere()

return:NutsSession

⚙ fetchOffline()

change fetch strategy to OFFLINE

NutsSession fetchOffline()

return:NutsSession

⚙ fetchOnline()

change fetch strategy to ONLINE

NutsSession fetchOnline()

return:NutsSession

⚙ fetchRemote()

change fetch strategy to REMOTE

NutsSession fetchRemote()

return:NutsSession

⚙ fetchStrategy(mode)

change fetch strategy

NutsSession fetchStrategy(NutsFetchStrategy mode)

return:NutsSession

  • NutsFetchStrategy mode : new strategy or null

⚙ formatObject(any)

This is a helper method to create and Object format initialized with this +session instance and the given object to print. +{\@code thisSession.getWorkspace().object().setSession(thisSession).value(any)} +\<p> +Using this method is recommended to print objects to default format (json, xml,...)

NutsObjectFormat formatObject(Object any)

return:NutsObjectFormat

  • Object any : any object to print in the configured/default format

⚙ getListeners(type)

return registered listeners for the given type. Supported types are : +\<ul> +\<li>{\@link NutsWorkspaceListener}\</li> +\<li>{\@link NutsInstallListener}\</li> +\<li>{\@link NutsMapListener}\</li> +\<li>{\@link NutsRepositoryListener}\</li> +\</ul>

NutsListener[] getListeners(Class type)

return:NutsListener[]

  • Class type : listener type class

⚙ getOutputFormat(defaultValue)

return current Output Format or {\@code defaultValue} if null

NutsOutputFormat getOutputFormat(NutsOutputFormat defaultValue)

return:NutsOutputFormat

  • NutsOutputFormat defaultValue : value when Output Format is not set

⚙ getProperty(key)

return property value or null

Object getProperty(String key)

return:Object

  • String key : property key

⚙ json()

set json output format

NutsSession json()

return:NutsSession

⚙ no()

equivalent to {\@code setNo(true)}

NutsSession no()

return:NutsSession

⚙ no(enable)

equivalent to {\@code setNo(enable)}

NutsSession no(boolean enable)

return:NutsSession

  • boolean enable : new value

⚙ out()

current output stream

PrintStream out()

return:PrintStream

⚙ plain()

set plain text (default) output format

NutsSession plain()

return:NutsSession

⚙ props()

set properties output format

NutsSession props()

return:NutsSession

⚙ removeListener(listener)

remove session listener. supported listeners are instances of: +\<ul> +\<li>{\@link NutsWorkspaceListener}\</li> +\<li>{\@link NutsInstallListener}\</li> +\<li>{\@link NutsMapListener}\</li> +\<li>{\@link NutsRepositoryListener}\</li> +\</ul>

NutsSession removeListener(NutsListener listener)

return:NutsSession

  • NutsListener listener : listener

⚙ setProperty(key, value)

set session property

NutsSession setProperty(String key, Object value)

return:NutsSession

  • String key : property key
  • Object value : property value

⚙ setSilent()

equivalent to {\@code setTrace(false)}

NutsSession setSilent()

return:NutsSession

⚙ table()

set table output format

NutsSession table()

return:NutsSession

⚙ terminal()

current terminal

NutsSessionTerminal terminal()

return:NutsSessionTerminal

⚙ tree()

set tree output format

NutsSession tree()

return:NutsSession

⚙ workspace()

current workspace

NutsWorkspace workspace()

return:NutsWorkspace

⚙ xml()

set xml output format

NutsSession xml()

return:NutsSession

⚙ yes()

equivalent to {\@code setYes(true)}

NutsSession yes()

return:NutsSession

⚙ yes(enable)

equivalent to {\@code setYes(enable)}

NutsSession yes(boolean enable)

return:NutsSession

  • boolean enable : new value

☕ NutsSessionTerminal

public interface net.vpc.app.nuts.NutsSessionTerminal

Created by vpc on 2/20/17.

\@since 0.5.4 +\@category Base

🎛 Instance Properties

📄🎛 parent

[read-only] NutsTerminalBase public parent
public NutsTerminalBase getParent()

⚙ Instance Methods

⚙ copy()

NutsSessionTerminal copy()

return:NutsSessionTerminal

⚙ setErr(out)

void setErr(PrintStream out)
  • PrintStream out :

⚙ setIn(in)

void setIn(InputStream in)
  • InputStream in :

⚙ setOut(out)

void setOut(PrintStream out)
  • PrintStream out :

⚙ setParent(parent)

void setParent(NutsTerminalBase parent)
  • NutsTerminalBase parent :

☕ NutsStoreLocation

public final net.vpc.app.nuts.NutsStoreLocation

\@author vpc +\@since 0.5.4 +\@category Base

📢❄ Constant Fields

📢❄ APPS

public static final NutsStoreLocation APPS

📢❄ CACHE

public static final NutsStoreLocation CACHE

📢❄ CONFIG

public static final NutsStoreLocation CONFIG

📢❄ LIB

public static final NutsStoreLocation LIB

📢❄ LOG

public static final NutsStoreLocation LOG

📢❄ RUN

public static final NutsStoreLocation RUN

📢❄ TEMP

public static final NutsStoreLocation TEMP

📢❄ VAR

public static final NutsStoreLocation VAR

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsStoreLocation valueOf(String name)

return:NutsStoreLocation

  • String name :

📢⚙ values()

NutsStoreLocation[] values()

return:NutsStoreLocation[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsStoreLocationStrategy

public final net.vpc.app.nuts.NutsStoreLocationStrategy

\@since 0.5.4 +\@category Base

📢❄ Constant Fields

📢❄ EXPLODED

public static final NutsStoreLocationStrategy EXPLODED

📢❄ STANDALONE

public static final NutsStoreLocationStrategy STANDALONE

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsStoreLocationStrategy valueOf(String name)

return:NutsStoreLocationStrategy

  • String name :

📢⚙ values()

NutsStoreLocationStrategy[] values()

return:NutsStoreLocationStrategy[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsTerminalMode

public final net.vpc.app.nuts.NutsTerminalMode

\@author vpc +\@since 0.5.4 +\@category Base

📢❄ Constant Fields

📢❄ FILTERED

public static final NutsTerminalMode FILTERED

📢❄ FORMATTED

public static final NutsTerminalMode FORMATTED

📢❄ INHERITED

public static final NutsTerminalMode INHERITED

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsTerminalMode valueOf(String name)

return:NutsTerminalMode

  • String name :

📢⚙ values()

NutsTerminalMode[] values()

return:NutsTerminalMode[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsTokenFilter

public interface net.vpc.app.nuts.NutsTokenFilter

\@author vpc +\@since 0.5.5 +\@category Base

🎛 Instance Properties

📄🎛 blank

[read-only] boolean public blank
public boolean isBlank()

📄🎛 null

[read-only] boolean public null
public boolean isNull()

⚙ Instance Methods

⚙ contains(substring)

boolean contains(String substring)

return:boolean

  • String substring :

⚙ like(pattern)

boolean like(String pattern)

return:boolean

  • String pattern :

⚙ matches(pattern)

boolean matches(String pattern)

return:boolean

  • String pattern :

☕ NutsVersionInterval

public interface net.vpc.app.nuts.NutsVersionInterval

Created by vpc on 2/1/17.

\@since 0.5.4 +\@category Base

🎛 Instance Properties

📄🎛 fixedValue

[read-only] boolean public fixedValue
public boolean isFixedValue()

📄🎛 includeLowerBound

[read-only] boolean public includeLowerBound
public boolean isIncludeLowerBound()

📄🎛 includeUpperBound

[read-only] boolean public includeUpperBound
public boolean isIncludeUpperBound()

📄🎛 lowerBound

[read-only] String public lowerBound
public String getLowerBound()

📄🎛 upperBound

[read-only] String public upperBound
public String getUpperBound()

⚙ Instance Methods

⚙ acceptVersion(version)

boolean acceptVersion(NutsVersion version)

return:boolean

  • NutsVersion version :

☕ NutsWorkspace

public interface net.vpc.app.nuts.NutsWorkspace

Created by vpc on 1/5/17.

\@since 0.5.4 +\@category Base

🎛 Instance Properties

📄🎛 installListeners

[read-only] NutsInstallListener[] public installListeners
public NutsInstallListener[] getInstallListeners()

📄🎛 name

Workspace name

[read-only] String public name
public String getName()

📄🎛 repositoryListeners

[read-only] NutsRepositoryListener[] public repositoryListeners
public NutsRepositoryListener[] getRepositoryListeners()

📄🎛 userPropertyListeners

[read-only] NutsMapListener[] public userPropertyListeners
public NutsMapListener[] getUserPropertyListeners()

📄🎛 uuid

Workspace identifier, guaranteed to be unique cross machines

[read-only] String public uuid
public String getUuid()

📄🎛 workspaceListeners

[read-only] NutsWorkspaceListener[] public workspaceListeners
public NutsWorkspaceListener[] getWorkspaceListeners()

⚙ Instance Methods

⚙ addInstallListener(listener)

void addInstallListener(NutsInstallListener listener)
  • NutsInstallListener listener :

⚙ addRepositoryListener(listener)

void addRepositoryListener(NutsRepositoryListener listener)
  • NutsRepositoryListener listener :

⚙ addUserPropertyListener(listener)

void addUserPropertyListener(NutsMapListener listener)
  • NutsMapListener listener :

⚙ addWorkspaceListener(listener)

void addWorkspaceListener(NutsWorkspaceListener listener)
  • NutsWorkspaceListener listener :

⚙ commandLine()

NutsCommandLineFormat commandLine()

return:NutsCommandLineFormat

⚙ config()

NutsWorkspaceConfigManager config()

return:NutsWorkspaceConfigManager

⚙ createSession()

NutsSession createSession()

return:NutsSession

⚙ dependency()

create dependency format instance

NutsDependencyFormat dependency()

return:NutsDependencyFormat

⚙ deploy()

NutsDeployCommand deploy()

return:NutsDeployCommand

⚙ descriptor()

create descriptor format instance

NutsDescriptorFormat descriptor()

return:NutsDescriptorFormat

⚙ element()

create element format instance

NutsElementFormat element()

return:NutsElementFormat

⚙ exec()

NutsExecCommand exec()

return:NutsExecCommand

⚙ extensions()

NutsWorkspaceExtensionManager extensions()

return:NutsWorkspaceExtensionManager

⚙ fetch()

NutsFetchCommand fetch()

return:NutsFetchCommand

⚙ id()

create id format instance

NutsIdFormat id()

return:NutsIdFormat

⚙ info()

create info format instance

NutsInfoFormat info()

return:NutsInfoFormat

⚙ install()

NutsInstallCommand install()

return:NutsInstallCommand

⚙ io()

NutsIOManager io()

return:NutsIOManager

⚙ iter()

create iterable format instance

NutsIterableOutput iter()

return:NutsIterableOutput

⚙ json()

create json format instance

NutsJsonFormat json()

return:NutsJsonFormat

⚙ log()

NutsLogManager log()

return:NutsLogManager

⚙ name()

equivalent to {\@link #getName()}

String name()

return:String

⚙ object()

create object format instance

NutsObjectFormat object()

return:NutsObjectFormat

⚙ props()

create properties format instance

NutsPropertiesFormat props()

return:NutsPropertiesFormat

⚙ push()

NutsPushCommand push()

return:NutsPushCommand

⚙ removeInstallListener(listener)

void removeInstallListener(NutsInstallListener listener)
  • NutsInstallListener listener :

⚙ removeRepositoryListener(listener)

void removeRepositoryListener(NutsRepositoryListener listener)
  • NutsRepositoryListener listener :

⚙ removeUserPropertyListener(listener)

void removeUserPropertyListener(NutsMapListener listener)
  • NutsMapListener listener :

⚙ removeWorkspaceListener(listener)

void removeWorkspaceListener(NutsWorkspaceListener listener)
  • NutsWorkspaceListener listener :

⚙ search()

NutsSearchCommand search()

return:NutsSearchCommand

⚙ security()

NutsWorkspaceSecurityManager security()

return:NutsWorkspaceSecurityManager

⚙ str()

create string format instance

NutsStringFormat str()

return:NutsStringFormat

⚙ table()

create table format instance

NutsTableFormat table()

return:NutsTableFormat

⚙ tree()

create tree format instance

NutsTreeFormat tree()

return:NutsTreeFormat

⚙ undeploy()

NutsUndeployCommand undeploy()

return:NutsUndeployCommand

⚙ uninstall()

NutsUninstallCommand uninstall()

return:NutsUninstallCommand

⚙ update()

NutsUpdateCommand update()

return:NutsUpdateCommand

⚙ updateStatistics()

NutsUpdateStatisticsCommand updateStatistics()

return:NutsUpdateStatisticsCommand

⚙ userProperties()

Map userProperties()

return:Map

⚙ uuid()

equivalent to {\@link #getUuid()}

String uuid()

return:String

⚙ version()

create version format instance

NutsVersionFormat version()

return:NutsVersionFormat

⚙ xml()

create xml format instance

NutsXmlFormat xml()

return:NutsXmlFormat

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Command_Line/index.html b/docs/docs/javadocs/javadoc_Command_Line/index.html new file mode 100644 index 000000000..dbdedd29e --- /dev/null +++ b/docs/docs/javadocs/javadoc_Command_Line/index.html @@ -0,0 +1,196 @@ + + + + + + +Command Line | Nuts + + + + + + + + + + + + +
+

Command Line

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsArgument

public interface net.vpc.app.nuts.NutsArgument

Command Line Argument

\@author vpc +\@since 0.5.5 +\@category Command Line

🎛 Instance Properties

📄🎛 argumentKey

return new instance (never null) of the key part of the argument. The key +does not include neither ! nor // or = argument parts as they are parsed +separately. Here example of getArgumentKey result of some arguments +\<ul> +\<li>Argument("key").getArgumentKey() ==> Argument("key") \</li> +\<li>Argument("key=value").getArgumentKey() ==> Argument("key") \</li> +\<li>Argument("--key=value").getArgumentKey() ==> Argument("--key") +\</li> +\<li>Argument("--!key=value").getArgumentKey() ==> Argument("--key") +\</li> +\<li>Argument("--!//key=value").getArgumentKey() ==> Argument("--key") +\</li> +\</ul>

[read-only] NutsArgument public argumentKey
public NutsArgument getArgumentKey()

📄🎛 argumentOptionName

return option key part excluding prefix (\'-\' and \'--\')

[read-only] NutsArgument public argumentOptionName
public NutsArgument getArgumentOptionName()

📄🎛 argumentValue

return new instance (never null) of the value part of the argument (after +=). However Argument\'s value may be null ( +{\@code getArgumentValue().getString() == null}). Here are some examples of +getArgumentValue() result for some common arguments +\<ul> +\<li>Argument("key").getArgumentValue() ==> Argument(null) \</li> +\<li>Argument("key=value").getArgumentValue() ==> Argument("value") +\</li> +\<li>Argument("key=").getArgumentValue() ==> Argument("") \</li> +\<li>Argument("--key=value").getArgumentValue() ==> Argument("value") +\</li> +\<li>Argument("--!key=value").getArgumentValue() ==> Argument("value") +\</li> +\<li>Argument("--!//key=value").getArgumentValue() ==> +Argument("value") \</li> +\</ul>

[read-only] NutsArgument public argumentValue
public NutsArgument getArgumentValue()

📄🎛 boolean

test if the argument is valid boolean. a valid boolean mush match one of +the following regular expressions : +"true|enable|enabled|yes|always|y|on|ok|t" : will be evaluated as true +boolean. "false|disable|disabled|no|none|never|n|off|ko" : will be +evaluated as false boolean. In both cases, this method returns true. +Otherwise, it will return false.

[read-only] boolean public boolean
public boolean isBoolean()

📄🎛 booleanValue

parse argument\'s value as boolean equivalent to +{\@code getArgumentValue().getBoolean()}

[read-only] boolean public booleanValue
public boolean getBooleanValue()

📄🎛 double

parse number and return double.

[read-only] double public double
public double getDouble()

📄🎛 enabled

false if option is in one of the following forms : +\<ul> +\<li>-//name\</li> +\<li>--//name\</li> +\</ul> +where name is any valid identifier

[read-only] boolean public enabled
public boolean isEnabled()

📄🎛 int

parse number and return integer.

[read-only] int public int
public int getInt()

📄🎛 keyValue

true if the argument is in the form key=value

[read-only] boolean public keyValue
public boolean isKeyValue()

📄🎛 keyValueSeparator

return query value separator

[read-only] String public keyValueSeparator
public String getKeyValueSeparator()

📄🎛 long

parse number and return long.

[read-only] long public long
public long getLong()

📄🎛 negated

true if option is in one of the following forms : +\<ul> +\<li>-!name[=...]\</li> +\<li>--!name[=...]\</li> +\<li>!name[=...]\</li> +\</ul> +where name is any valid identifier

[read-only] boolean public negated
public boolean isNegated()

📄🎛 nonOption

true if the argument do not start with \'-\' or \'+\' or is blank. this is +equivalent to {\@code !isOption()}.

[read-only] boolean public nonOption
public boolean isNonOption()

📄🎛 option

true if the argument starts with \'-\' or \'+\'

[read-only] boolean public option
public boolean isOption()

📄🎛 string

string representation of the argument or null

[read-only] String public string
public String getString()

📄🎛 stringKey

return key part (never null) of the argument. The key does not include +neither ! nor // or = argument parts as they are parsed separately. Here +are some examples of getStringKey() result for some common arguments +\<ul> +\<li>Argument("key").getArgumentKey() ==> "key" \</li> +\<li>Argument("key=value").getArgumentKey() ==> "key" \</li> +\<li>Argument("--key=value").getArgumentKey() ==> "--key" +\</li> +\<li>Argument("--!key=value").getArgumentKey() ==> "--key" +\</li> +\<li>Argument("--!//key=value").getArgumentKey() ==> "--key" +\</li> +\<li>Argument("--//!key=value").getArgumentKey() ==> "--key" +\</li> +\</ul> +equivalent to {\@code getArgumentKey().getString()}

[read-only] String public stringKey
public String getStringKey()

📄🎛 stringOptionName

return option key part excluding prefix (\'-\' and \'--\')

[read-only] String public stringOptionName
public String getStringOptionName()

📄🎛 stringOptionPrefix

return option prefix part (\'-\' and \'--\')

[read-only] String public stringOptionPrefix
public String getStringOptionPrefix()

📄🎛 stringValue

equivalent to {\@code getArgumentValue().getString()}

[read-only] String public stringValue
public String getStringValue()

⚙ Instance Methods

⚙ getBoolean(defaultValue)

return boolean value if the current argument can be parsed as valid +boolean of defaultValue if not

"true|enable|enabled|yes|always|y|on|ok|t" are considered \'true\'. +"false|disable|disabled|no|none|never|n|off|ko" are considered \'false\'.

Boolean getBoolean(Boolean defaultValue)

return:Boolean

  • Boolean defaultValue : default value

⚙ getDouble(defaultValue)

parse number and return double or {\@code defaultValue} if not parsable.

double getDouble(double defaultValue)

return:double

  • double defaultValue : defaultValue

⚙ getInt(defaultValue)

parse number and return integer or {\@code defaultValue} if not parsable.

int getInt(int defaultValue)

return:int

  • int defaultValue : defaultValue

⚙ getLong(defaultValue)

parse number and return long or {\@code defaultValue} if not parsable.

long getLong(long defaultValue)

return:long

  • long defaultValue : defaultValue

⚙ getString(defaultValue)

string representation of the argument or the given defaultValue

String getString(String defaultValue)

return:String

  • String defaultValue : returned when this argument references null value

⚙ getStringValue(defaultValue)

equivalent to {\@code getArgumentValue().getString(value)}

String getStringValue(String defaultValue)

return:String

  • String defaultValue : default value

⚙ required()

Throw an exception if the argument is null

NutsArgument required()

return:NutsArgument

☕ NutsArgumentCandidate

public interface net.vpc.app.nuts.NutsArgumentCandidate

Argument Candidate used in Auto Complete.

Created by vpc on 3/7/17.

\@since 0.5.5 +\@category Command Line

🎛 Instance Properties

📄🎛 display

human display

[read-only] String public display
public String getDisplay()

📄🎛 value

argument value

[read-only] String public value
public String getValue()

☕ NutsArgumentName

public interface net.vpc.app.nuts.NutsArgumentName

Non Option Argument specification

\@author vpc +\@since 0.5.5 +\@category Command Line

🎛 Instance Properties

📄🎛 name

argument name

[read-only] String public name
public String getName()

⚙ Instance Methods

⚙ getCandidates(context)

argument candidate values

List getCandidates(NutsCommandAutoComplete context)

return:List

  • NutsCommandAutoComplete context : autocomplete

☕ NutsArgumentType

public final net.vpc.app.nuts.NutsArgumentType

Argument parse Type

\@author vpc +\@since 0.5.5 +\@category Command Line

📢❄ Constant Fields

📢❄ ANY

public static final NutsArgumentType ANY

📢❄ BOOLEAN

public static final NutsArgumentType BOOLEAN

📢❄ STRING

public static final NutsArgumentType STRING

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsArgumentType valueOf(String name)

return:NutsArgumentType

  • String name :

📢⚙ values()

NutsArgumentType\[] values()

return:NutsArgumentType[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsCommandAutoComplete

public interface net.vpc.app.nuts.NutsCommandAutoComplete

Auto Complete Helper class used to collect argument candidates +\@author vpc +\@since 0.5.5 +\@category Command Line

🎛 Instance Properties

📄🎛 candidates

current candidates

[read-only] List public candidates
public List getCandidates()

📄🎛 currentWordIndex

candidates index

[read-only] int public currentWordIndex
public int getCurrentWordIndex()

📄🎛 line

command line string

[read-only] String public line
public String getLine()

📄🎛 session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 words

command line arguments

[read-only] List public words
public List getWords()

📄🎛 workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

⚙ Instance Methods

⚙ addCandidate(value)

add candidate

void addCandidate(NutsArgumentCandidate value)
  • NutsArgumentCandidate value : candidate

⚙ get(t)

Object get(Class t)

return:Object

  • Class t :

☕ NutsCommandAutoCompleteBase

public abstract net.vpc.app.nuts.NutsCommandAutoCompleteBase

Base (Abstract) implementation of NutsCommandAutoComplete +\@author vpc +\@since 0.5.5 +\@category Command Line

🪄 Constructors

🪄 NutsCommandAutoCompleteBase()

NutsCommandAutoCompleteBase()

🎛 Instance Properties

📄🎛 candidates

possible candidates

[read-only] List public candidates
public List getCandidates()

📄🎛 workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

⚙ Instance Methods

⚙ addCandidate(value)

add candidate

void addCandidate(NutsArgumentCandidate value)
  • NutsArgumentCandidate value : candidate

⚙ addCandidatesImpl(value)

simple add candidates implementation

NutsArgumentCandidate addCandidatesImpl(NutsArgumentCandidate value)

return:NutsArgumentCandidate

  • NutsArgumentCandidate value : candidate

⚙ get(t)

Object get(Class t)

return:Object

  • Class t :

☕ NutsCommandExecOptions

public net.vpc.app.nuts.NutsCommandExecOptions

Command execution options +\@author vpc +\@since 0.5.4 +\@category Command Line

🪄 Constructors

🪄 NutsCommandExecOptions()

NutsCommandExecOptions()

🎛 Instance Properties

📝🎛 directory

execution directory

[read-write] NutsCommandExecOptions public directory
public String getDirectory()
public NutsCommandExecOptions setDirectory(directory)

📝🎛 env

execution environment variables

[read-write] NutsCommandExecOptions public env
public Map getEnv()
public NutsCommandExecOptions setEnv(env)

📝🎛 executionType

execution type

[read-write] NutsCommandExecOptions public executionType
public NutsExecutionType getExecutionType()
public NutsCommandExecOptions setExecutionType(executionType)

📝🎛 executorOptions

execution options

[read-write] NutsCommandExecOptions public executorOptions
public String\[] getExecutorOptions()
public NutsCommandExecOptions setExecutorOptions(executorOptions)

📝🎛 failFast

when fail fast,non zero exit value will raise NutsExecutionException

[read-write] NutsCommandExecOptions public failFast
public boolean isFailFast()
public NutsCommandExecOptions setFailFast(failFast)

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsCommandLine

public interface net.vpc.app.nuts.NutsCommandLine

Simple Command line parser implementation. The command line supports +arguments in the following forms : +\<ul> +\<li> non option arguments : any argument that does not start with \'-\'\</li>

\<li> +long option arguments : any argument that starts with a single \'--\' in the +form of +\<pre>--[//][!]?[^=][=.]\</pre> +\<ul> +\<li>// means disabling the option\</li> +\<li>! means switching (to \'false\') the option\'s value\</li> +\<li>the string before the \'=\' is the option\'s key\</li> +\<li>the string after the \'=\' is the option\'s value\</li> +\</ul> +Examples : +\<ul> +\<li>--!enable : option \'enable\' with \'false\' value\</li> +\<li>--enable=yes : option \'enable\' with \'yes\' value\</li> +\<li>--!enable=yes : invalid option (no error will be thrown but the result +is undefined)\</li> +\</ul> +\</li> +\<li> +simple option arguments : any argument that starts with a single \'-\' in the +form of +\<pre>-[//][!]?[a-z][=.*]\</pre> This is actually very similar to long options +\<ul> +\<li>-!enable (with expandSimpleOptions=false) : option \'enable\' with \'false\' +value\</li> +\<li>--enable=yes : option \'enable\' with \'yes\' value\</li> +\<li>--!enable=yes : invalid option (no error will be thrown but the result +is undefined)\</li> +\</ul>

\</li> +\<li> +condensed simple option arguments : any argument that starts with a single \'-\' in the +form of +\<pre>-[//]([!]?[a-z])+[=.*]\</pre> This is actually very similar to long options +and is parsable when expandSimpleOptions=true. When activating expandSimpleOptions, multi +characters key will be expanded as multiple separate simple options Examples +: +\<ul> +\<li>-!enable (with expandSimpleOptions=false) : option \'enable\' with \'false\' +value\</li> +\<li>--enable=yes : option \'enable\' with \'yes\' value\</li> +\<li>--!enable=yes : invalid option (no error will be thrown but the result +is undefined)\</li> +\</ul>

\</li>

\<li>long option arguments : any argument that starts with a \'--\' \</li> +\</ul> +option may start with \'!\' to switch armed flags expandSimpleOptions : when +activated

\@author vpc +\@since 0.5.5 +\@category Command Line

🎛 Instance Properties

✏🎛 arguments

reset this instance with the given arguments

[write-only] NutsCommandLine public arguments
public NutsCommandLine setArguments(arguments)

📝🎛 autoComplete

set autocomplete instance

[read-write] NutsCommandLine public autoComplete
public NutsCommandAutoComplete getAutoComplete()
public NutsCommandLine setAutoComplete(autoComplete)

📄🎛 autoCompleteMode

true if auto complete instance is registered (is not null)

[read-only] boolean public autoCompleteMode
public boolean isAutoCompleteMode()

📝🎛 commandName

set command name that will be used as an extra info in thrown exceptions

[read-write] NutsCommandLine public commandName
public String getCommandName()
public NutsCommandLine setCommandName(commandName)

📄🎛 empty

true if no more arguments are available

[read-only] boolean public empty
public boolean isEmpty()

📄🎛 execMode

true if auto complete instance is not registered (is null)

[read-only] boolean public execMode
public boolean isExecMode()

📝🎛 expandSimpleOptions

enable or disable simple option expansion

[read-write] NutsCommandLine public expandSimpleOptions
public boolean isExpandSimpleOptions()
public NutsCommandLine setExpandSimpleOptions(expand)

📄🎛 specialSimpleOptions

list of registered simple options

[read-only] String\[] public specialSimpleOptions
public String\[] getSpecialSimpleOptions()

📄🎛 wordIndex

current word index

[read-only] int public wordIndex
public int getWordIndex()

⚙ Instance Methods

⚙ accept(values)

true if arguments start with the given suite.

boolean accept(String\[] values)

return:boolean

  • String[] values : arguments suite

⚙ accept(index, values)

true if arguments start at index {\@code index} with the given suite.

boolean accept(int index, String\[] values)

return:boolean

  • int index : starting index
  • String[] values : arguments suite

⚙ contains(name)

return true if any argument is equal to the given name

boolean contains(String name)

return:boolean

  • String name : argument name

⚙ find(name)

find first argument with argument key name

NutsArgument find(String name)

return:NutsArgument

  • String name : argument key name

⚙ get(index)

return argument at given index

NutsArgument get(int index)

return:NutsArgument

  • int index : argument index

⚙ hasNext()

true if there still at least one argument to consume

boolean hasNext()

return:boolean

⚙ indexOf(name)

first argument index (or -1 if not found) with value {\@code name}

int indexOf(String name)

return:int

  • String name : argument key name

⚙ isNonOption(index)

true if the argument and index exists and is non option

boolean isNonOption(int index)

return:boolean

  • int index : index

⚙ isOption(index)

true if the argument and index exists and is option

boolean isOption(int index)

return:boolean

  • int index : index

⚙ isSpecialSimpleOption(option)

test if the option is a registered simple option +This method helps considering \'-version\' as a single simple options when +{\@code isExpandSimpleOptions()==true}

boolean isSpecialSimpleOption(String option)

return:boolean

  • String option : option

⚙ length()

number of arguments available to retrieve

int length()

return:int

⚙ next()

consume (remove) the first argument and return it return null if not +argument is left

NutsArgument next()

return:NutsArgument

⚙ next(name)

consume (remove) the first argument and return it while adding a hint to +Auto Complete about expected argument candidates return null if not +argument is left

NutsArgument next(NutsArgumentName name)

return:NutsArgument

  • NutsArgumentName name : expected argument name

⚙ next(names)

next argument with any value type (may having not a value). equivalent to +{\@code next(NutsArgumentType.ANY,names)}

NutsArgument next(String\[] names)

return:NutsArgument

  • String[] names : names

⚙ next(expectValue, names)

next argument with any value type (may having not a value).

NutsArgument next(NutsArgumentType expectValue, String\[] names)

return:NutsArgument

  • NutsArgumentType expectValue : expected value type
  • String[] names : names

⚙ nextBoolean(names)

next argument with boolean value equivalent to +next(NutsArgumentType.STRING,names)

NutsArgument nextBoolean(String\[] names)

return:NutsArgument

  • String[] names : names

⚙ nextNonOption()

next argument if it exists and it is a non option. Return null in all +other cases.

NutsArgument nextNonOption()

return:NutsArgument

⚙ nextNonOption(name)

next argument if it exists and it is a non option. Return null in all +other cases.

NutsArgument nextNonOption(NutsArgumentName name)

return:NutsArgument

  • NutsArgumentName name : argument specification (may be null)

⚙ nextRequiredNonOption(name)

next argument if it exists and it is a non option. Throw an error in all +other cases.

NutsArgument nextRequiredNonOption(NutsArgumentName name)

return:NutsArgument

  • NutsArgumentName name : argument specification (may be null)

⚙ nextString(names)

next argument with string value. equivalent to +next(NutsArgumentType.STRING,names)

NutsArgument nextString(String\[] names)

return:NutsArgument

  • String[] names : names

⚙ parseLine(commandLine)

reset this instance with the given parsed arguments

NutsCommandLine parseLine(String commandLine)

return:NutsCommandLine

  • String commandLine : to parse

⚙ peek()

the first argument to consume without removing/consuming it or null if +not argument is left

NutsArgument peek()

return:NutsArgument

⚙ pushBack(arg)

push back argument so that it will be first to be retrieved (using next methods)

NutsCommandLine pushBack(NutsArgument arg)

return:NutsCommandLine

  • NutsArgument arg : argument

⚙ registerSpecialSimpleOption(option)

register {\@code options} as simple (with simple \'-\') option. +This method helps considering \'-version\' as a single simple options when +{\@code isExpandSimpleOptions()==true}

NutsCommandLine registerSpecialSimpleOption(String option)

return:NutsCommandLine

  • String option : option

⚙ requireNonOption()

throw exception if command line is empty or the first word is an option

NutsCommandLine requireNonOption()

return:NutsCommandLine

⚙ required()

throw exception if command line is empty

NutsCommandLine required()

return:NutsCommandLine

⚙ required(errorMessage)

throw exception if command line is empty

NutsCommandLine required(String errorMessage)

return:NutsCommandLine

  • String errorMessage : message to throw

⚙ skip()

skip next argument

int skip()

return:int

⚙ skip(count)

consume {\@code count} words and return how much it was able to consume

int skip(int count)

return:int

  • int count : count

⚙ skipAll()

consume all words and return consumed count

int skipAll()

return:int

⚙ toArray()

returns un-parsed (or partially parsed) available arguments

String\[] toArray()

return:String[]

⚙ unexpectedArgument()

throw exception if command line is not empty

NutsCommandLine unexpectedArgument()

return:NutsCommandLine

⚙ unexpectedArgument(errorMessage)

throw exception if command line is not empty

NutsCommandLine unexpectedArgument(String errorMessage)

return:NutsCommandLine

  • String errorMessage : message to throw

⚙ unregisterSpecialSimpleOption(option)

unregister {\@code options} as simple (with simple \'-\') option. +This method helps considering \'-version\' as a single simple options when +{\@code isExpandSimpleOptions()==true}

NutsCommandLine unregisterSpecialSimpleOption(String option)

return:NutsCommandLine

  • String option : option

☕ NutsCommandLineFormat

public interface net.vpc.app.nuts.NutsCommandLineFormat

Simple Command line Format

\@author vpc +\@since 0.5.7 +\@category Command Line

🎛 Instance Properties

✏🎛 session

update session

[write-only] NutsCommandLineFormat public session
public NutsCommandLineFormat setSession(session)

📝🎛 value

set command line from parsed string

[read-write] NutsCommandLineFormat public value
public NutsCommandLine getValue()
public NutsCommandLineFormat setValue(args)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsCommandLineFormat configure(boolean skipUnsupported, String\[] args)

return:NutsCommandLineFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ create(args)

return new Command line instance

NutsCommandLine create(String\[] args)

return:NutsCommandLine

  • String[] args : command line args

⚙ create(args)

return new Command line instance

NutsCommandLine create(List args)

return:NutsCommandLine

  • List args : command line args

⚙ createArgument(argument)

create new argument

NutsArgument createArgument(String argument)

return:NutsArgument

  • String argument : new argument

⚙ createCandidate(value)

create argument candidate

NutsArgumentCandidate createCandidate(String value)

return:NutsArgumentCandidate

  • String value : candidate value

⚙ createCandidate(value, label)

create argument candidate

NutsArgumentCandidate createCandidate(String value, String label)

return:NutsArgumentCandidate

  • String value : candidate value
  • String label : candidate label

⚙ createName(type)

create argument name

NutsArgumentName createName(String type)

return:NutsArgumentName

  • String type : create argument type

⚙ createName(type, label)

create argument name

NutsArgumentName createName(String type, String label)

return:NutsArgumentName

  • String type : argument type
  • String label : argument label

⚙ parse(line)

return new Command line instance

NutsCommandLine parse(String line)

return:NutsCommandLine

  • String line : command line to parse

☕ NutsCommandLineProcessor

public interface net.vpc.app.nuts.NutsCommandLineProcessor

\@category Command Line

⚙ Instance Methods

⚙ exec()

execute options, called after all options was processed and +cmdLine.isExecMode() return true.

void exec()

⚙ processNonOption(argument, cmdLine)

process the given non option argument that was peeked from the command line. +Implementations \<strong>MUST\</strong> call one of +the "next" methods to

boolean processNonOption(NutsArgument argument, NutsCommandLine cmdLine)

return:boolean

  • NutsArgument argument : peeked argument
  • NutsCommandLine cmdLine : associated commandline

⚙ processOption(argument, cmdLine)

process the given option argument that was peeked from the command line. +Implementations \<strong>MUST\</strong> call one of +the "next" methods to

boolean processOption(NutsArgument argument, NutsCommandLine cmdLine)

return:boolean

  • NutsArgument argument : peeked argument
  • NutsCommandLine cmdLine : associated commandline

☕ NutsConfigurable

public interface net.vpc.app.nuts.NutsConfigurable

Configurable interface define a extensible way to configure nuts commands +and objects using simple argument line options. +\@author vpc +\@since 0.5.5 +\@category Command Line

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments.

Object configure(boolean skipUnsupported, String\[] args)

return:Object

  • boolean skipUnsupported : when true, all unsupported options are skipped +silently
  • String[] args : arguments to configure with

⚙ configure(skipUnsupported, commandLine)

configure the current command with the given arguments.

boolean configure(boolean skipUnsupported, NutsCommandLine commandLine)

return:boolean

  • boolean skipUnsupported : when true, all unsupported options are skipped +silently
  • NutsCommandLine commandLine : arguments to configure with

⚙ configureFirst(commandLine)

ask {\@code this} instance to configure with the very first argument of +{\@code commandLine}. If the first argument is not supported, return +{\@code false} and consume (skip/read) the argument. If the argument +required one or more parameters, these arguments are also consumed and +finally return {\@code true}

boolean configureFirst(NutsCommandLine commandLine)

return:boolean

  • NutsCommandLine commandLine : arguments to configure with
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Commands/index.html b/docs/docs/javadocs/javadoc_Commands/index.html new file mode 100644 index 000000000..9c4be682b --- /dev/null +++ b/docs/docs/javadocs/javadoc_Commands/index.html @@ -0,0 +1,167 @@ + + + + + + +Commands | Nuts + + + + + + + + + + + + +
+

Commands

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsDeployCommand

public interface net.vpc.app.nuts.NutsDeployCommand

Nuts deploy command +\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

✏🎛 content

set content

[write-only] NutsDeployCommand public content
public NutsDeployCommand setContent(url)

✏🎛 descSha1

set descriptor sha1 hash

[write-only] NutsDeployCommand public descSha1
public NutsDeployCommand setDescSha1(descSHA1)

✏🎛 descriptor

set descriptor

[write-only] NutsDeployCommand public descriptor
public NutsDeployCommand setDescriptor(descriptor)

📄🎛 ids

return ids to deploy from source repository

[read-only] NutsId[] public ids
public NutsId[] getIds()

✏🎛 repository

set target repository to deploy to

[write-only] NutsDeployCommand public repository
public NutsDeployCommand setRepository(repository)

📄🎛 result

run command (if not yet run) and return result

[read-only] NutsId[] public result
public NutsId[] getResult()

✏🎛 session

update session

[write-only] NutsDeployCommand public session
public NutsDeployCommand setSession(session)

📝🎛 sha1

set content sha1 hash

[read-write] NutsDeployCommand public sha1
public String getSha1()
public NutsDeployCommand setSha1(sha1)

✏🎛 sourceRepository

set source repository to deploy from the given ids

[write-only] NutsDeployCommand public sourceRepository
public NutsDeployCommand setSourceRepository(repository)

📝🎛 targetRepository

set target repository to deploy to

[read-write] NutsDeployCommand public targetRepository
public String getTargetRepository()
public NutsDeployCommand setTargetRepository(repository)

⚙ Instance Methods

⚙ addId(id)

add id to deploy from source repository

NutsDeployCommand addId(String id)

return:NutsDeployCommand

  • String id : id to deploy from source repository

⚙ addId(id)

add id to deploy from source repository

NutsDeployCommand addId(NutsId id)

return:NutsDeployCommand

  • NutsId id : id to deploy from source repository

⚙ addIds(values)

add ids to deploy from source repository

NutsDeployCommand addIds(NutsId[] values)

return:NutsDeployCommand

  • NutsId[] values : ids to deploy from source repository

⚙ addIds(values)

add ids to deploy from source repository

NutsDeployCommand addIds(String[] values)

return:NutsDeployCommand

  • String[] values : ids to deploy from source repository

⚙ clearIds()

reset ids list to deploy

NutsDeployCommand clearIds()

return:NutsDeployCommand

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsDeployCommand configure(boolean skipUnsupported, String[] args)

return:NutsDeployCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsDeployCommand copySession()

return:NutsDeployCommand

⚙ from(repository)

set source repository to deploy from the given ids

NutsDeployCommand from(String repository)

return:NutsDeployCommand

  • String repository : source repository to deploy from

⚙ removeId(id)

remove id to deploy from source repository

NutsDeployCommand removeId(String id)

return:NutsDeployCommand

  • String id : id to undo deploy from source repository

⚙ removeId(id)

remove id to deploy from source repository

NutsDeployCommand removeId(NutsId id)

return:NutsDeployCommand

  • NutsId id : id to undo deploy from source repository

⚙ run()

execute the command and return this instance

NutsDeployCommand run()

return:NutsDeployCommand

⚙ to(repository)

set target repository to deploy to

NutsDeployCommand to(String repository)

return:NutsDeployCommand

  • String repository : target repository to deploy to

☕ NutsExecCommand

public interface net.vpc.app.nuts.NutsExecCommand

Execute command. +This class helps executing all types of executables : internal, external, alias and system

\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

📝🎛 command

set command artifact definition. +The definition is expected to include content, dependencies, effective descriptor and install information.

[read-write] NutsExecCommand public command
public String[] getCommand()
public NutsExecCommand setCommand(definition)

📝🎛 directory

set execution directory

[read-write] NutsExecCommand public directory
public String getDirectory()
public NutsExecCommand setDirectory(directory)

📝🎛 dry

if true set dry execution

[read-write] NutsExecCommand public dry
public boolean isDry()
public NutsExecCommand setDry(value)

📝🎛 env

clear existing env and set new env

[read-write] NutsExecCommand public env
public Map getEnv()
public NutsExecCommand setEnv(env)

📝🎛 err

set new command error stream (standard error destination)

[read-write] NutsExecCommand public err
public PrintStream getErr()
public NutsExecCommand setErr(err)

📄🎛 errorString

return grabbed error after command execution

[read-only] String public errorString
public String getErrorString()

📝🎛 executionType

set execution type

[read-write] NutsExecCommand public executionType
public NutsExecutionType getExecutionType()
public NutsExecCommand setExecutionType(executionType)

📄🎛 executorOptions

return executor options

[read-only] String[] public executorOptions
public String[] getExecutorOptions()

📝🎛 failFast

when the execution returns a non zero result, an exception is +thrown.Particularly, if grabOutputString is used, error exception will +state the output message

[read-write] NutsExecCommand public failFast
public boolean isFailFast()
public NutsExecCommand setFailFast(failFast)

📝🎛 in

set new command input stream (standard input source)

[read-write] NutsExecCommand public in
public InputStream getIn()
public NutsExecCommand setIn(in)

📝🎛 out

set new command output stream (standard output destination)

[read-write] NutsExecCommand public out
public PrintStream getOut()
public NutsExecCommand setOut(out)

📄🎛 outputString

return grabbed output after command execution

[read-only] String public outputString
public String getOutputString()

📝🎛 redirectErrorStream

if true redirect standard error is redirected to standard output

[read-write] NutsExecCommand public redirectErrorStream
public boolean isRedirectErrorStream()
public NutsExecCommand setRedirectErrorStream(redirectErrorStream)

📄🎛 result

return result value. if not yet executed, will execute first.

[read-only] int public result
public int getResult()

📄🎛 resultException

return result exception or null

[read-only] NutsExecutionException public resultException
public NutsExecutionException getResultException()

✏🎛 session

update session

[write-only] NutsExecCommand public session
public NutsExecCommand setSession(session)

⚙ Instance Methods

⚙ addCommand(command)

append command arguments

NutsExecCommand addCommand(String[] command)

return:NutsExecCommand

  • String[] command : command

⚙ addCommand(command)

append command arguments

NutsExecCommand addCommand(Collection command)

return:NutsExecCommand

  • Collection command : command

⚙ addEnv(env)

merge env properties

NutsExecCommand addEnv(Map env)

return:NutsExecCommand

  • Map env : env properties

⚙ addExecutorOption(executorOption)

append executor options

NutsExecCommand addExecutorOption(String executorOption)

return:NutsExecCommand

  • String executorOption : executor options

⚙ addExecutorOptions(executorOptions)

append executor options

NutsExecCommand addExecutorOptions(String[] executorOptions)

return:NutsExecCommand

  • String[] executorOptions : executor options

⚙ addExecutorOptions(executorOptions)

append executor options

NutsExecCommand addExecutorOptions(Collection executorOptions)

return:NutsExecCommand

  • Collection executorOptions : executor options

⚙ clearCommand()

clear command

NutsExecCommand clearCommand()

return:NutsExecCommand

⚙ clearEnv()

clear env

NutsExecCommand clearEnv()

return:NutsExecCommand

⚙ clearExecutorOptions()

clear executor options

NutsExecCommand clearExecutorOptions()

return:NutsExecCommand

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsExecCommand configure(boolean skipUnsupported, String[] args)

return:NutsExecCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copy()

create a copy of {\@code this} instance

NutsExecCommand copy()

return:NutsExecCommand

⚙ copyFrom(other)

copy all field from the given command into {\@code this} instance

NutsExecCommand copyFrom(NutsExecCommand other)

return:NutsExecCommand

  • NutsExecCommand other : command to copy from

⚙ copySession()

copy session

NutsExecCommand copySession()

return:NutsExecCommand

⚙ embedded()

set embedded execution type

NutsExecCommand embedded()

return:NutsExecCommand

⚙ format()

NutsExecCommandFormat format()

return:NutsExecCommandFormat

⚙ grabErrorString()

grab to memory standard error

NutsExecCommand grabErrorString()

return:NutsExecCommand

⚙ grabOutputString()

grab to memory standard output

NutsExecCommand grabOutputString()

return:NutsExecCommand

⚙ rootCmd()

set root command execution type

NutsExecCommand rootCmd()

return:NutsExecCommand

⚙ run()

execute the command and return this instance

NutsExecCommand run()

return:NutsExecCommand

⚙ setEnv(key, value)

set or unset env property. +the property is unset if the value is null.

NutsExecCommand setEnv(String key, String value)

return:NutsExecCommand

  • String key : env key
  • String value : env value

⚙ spawn()

set spawn execution type

NutsExecCommand spawn()

return:NutsExecCommand

⚙ userCmd()

set user command execution type

NutsExecCommand userCmd()

return:NutsExecCommand

⚙ which()

return executable information

NutsExecutableInformation which()

return:NutsExecutableInformation

☕ NutsExecutionType

public final net.vpc.app.nuts.NutsExecutionType

Command execution type. +\@author vpc +\@since 0.5.4 +\@category Commands

📢❄ Constant Fields

📢❄ EMBEDDED

public static final NutsExecutionType EMBEDDED

📢❄ ROOT_CMD

public static final NutsExecutionType ROOT_CMD

📢❄ SPAWN

public static final NutsExecutionType SPAWN

📢❄ USER_CMD

public static final NutsExecutionType USER_CMD

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsExecutionType valueOf(String name)

return:NutsExecutionType

  • String name :

📢⚙ values()

NutsExecutionType[] values()

return:NutsExecutionType[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsFetchCommand

public interface net.vpc.app.nuts.NutsFetchCommand

Fetch command class helps fetching/retrieving a artifact with all of its +files.

\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

📝🎛 cached

enable/disable retrieval from cache

[read-write] NutsFetchCommand public cached
public boolean isCached()
public NutsFetchCommand setCached(enable)

📝🎛 content

enable/disable retrieval of content info

[read-write] NutsFetchCommand public content
public boolean isContent()
public NutsFetchCommand setContent(enable)

📝🎛 dependencies

enable/disable dependencies list retrieval

[read-write] NutsFetchCommand public dependencies
public boolean isDependencies()
public NutsFetchCommand setDependencies(enable)

📝🎛 dependenciesTree

enable/disable dependencies tree retrieval

[read-write] NutsFetchCommand public dependenciesTree
public boolean isDependenciesTree()
public NutsFetchCommand setDependenciesTree(enable)

📝🎛 effective

enable/disable effective descriptor evaluation

[read-write] NutsFetchCommand public effective
public boolean isEffective()
public NutsFetchCommand setEffective(enable)

📝🎛 failFast

set armed (or disarmed) fail safe mode. if true, null replaces +NutsNotFoundException.

[read-write] NutsFetchCommand public failFast
public boolean isFailFast()
public NutsFetchCommand setFailFast(enable)

📝🎛 fetchStrategy

set fetch strategy.

[read-write] NutsFetchCommand public fetchStrategy
public NutsFetchStrategy getFetchStrategy()
public NutsFetchCommand setFetchStrategy(fetchStrategy)

📝🎛 id

set id to fetch.

[read-write] NutsFetchCommand public id
public NutsId getId()
public NutsFetchCommand setId(id)

📝🎛 indexed

set index filter.if null index is removed. if false do not consider index. +if true, consider index.

[read-write] NutsFetchCommand public indexed
public boolean isIndexed()
public NutsFetchCommand setIndexed(enable)

📝🎛 installed

search for installed/non installed packages

[read-write] NutsFetchCommand public installed
public Boolean getInstalled()
public NutsFetchCommand setInstalled(value)

📝🎛 location

set locating where to fetch the artifact. If the location is a folder, a +new name will be generated.

[read-write] NutsFetchCommand public location
public Path getLocation()
public NutsFetchCommand setLocation(fileOrFolder)

📝🎛 optional

set option filter. if null filter is removed. if false only non optional +will be retrieved. if true, only optional will be retrieved.

[read-write] NutsFetchCommand public optional
public Boolean getOptional()
public NutsFetchCommand setOptional(enable)

📄🎛 resultContent

return result as content

[read-only] NutsContent public resultContent
public NutsContent getResultContent()

📄🎛 resultContentHash

return result as content hash string

[read-only] String public resultContentHash
public String getResultContentHash()

📄🎛 resultDefinition

return result as artifact definition

[read-only] NutsDefinition public resultDefinition
public NutsDefinition getResultDefinition()

📄🎛 resultDescriptor

return result as descriptor

[read-only] NutsDescriptor public resultDescriptor
public NutsDescriptor getResultDescriptor()

📄🎛 resultDescriptorHash

return result as descriptor hash string

[read-only] String public resultDescriptorHash
public String getResultDescriptorHash()

📄🎛 resultId

return result as id

[read-only] NutsId public resultId
public NutsId getResultId()

📄🎛 resultPath

return result as content path

[read-only] Path public resultPath
public Path getResultPath()

📄🎛 scope

dependencies scope filters

[read-only] Set public scope
public Set getScope()

✏🎛 session

update session

[write-only] NutsFetchCommand public session
public NutsFetchCommand setSession(session)

📝🎛 transitive

set or unset transitive mode

[read-write] NutsFetchCommand public transitive
public boolean isTransitive()
public NutsFetchCommand setTransitive(enable)

⚙ Instance Methods

⚙ addRepositories(value)

add repository filter

NutsFetchCommand addRepositories(Collection value)

return:NutsFetchCommand

  • Collection value : repository filter

⚙ addRepositories(values)

add repository filter

NutsFetchCommand addRepositories(String[] values)

return:NutsFetchCommand

  • String[] values : repository filter

⚙ addRepository(value)

add repository filter

NutsFetchCommand addRepository(String value)

return:NutsFetchCommand

  • String value : repository filter

⚙ addScope(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean) +} and {\@link #setDependenciesTree(boolean)}

NutsFetchCommand addScope(NutsDependencyScopePattern scope)

return:NutsFetchCommand

  • NutsDependencyScopePattern scope : scope filter

⚙ addScope(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean) +} and {\@link #setDependenciesTree(boolean)}

NutsFetchCommand addScope(NutsDependencyScope scope)

return:NutsFetchCommand

  • NutsDependencyScope scope : scope filter

⚙ addScopes(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean) +} and {\@link #setDependenciesTree(boolean)}

NutsFetchCommand addScopes(NutsDependencyScope[] scope)

return:NutsFetchCommand

  • NutsDependencyScope[] scope : scope filter

⚙ addScopes(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean)} +and {\@link #setDependenciesTree(boolean)}

NutsFetchCommand addScopes(NutsDependencyScopePattern[] scope)

return:NutsFetchCommand

  • NutsDependencyScopePattern[] scope : scope filter

⚙ clearRepositories()

remove all repository filters

NutsFetchCommand clearRepositories()

return:NutsFetchCommand

⚙ clearScopes()

remove all dependency scope filters.

NutsFetchCommand clearScopes()

return:NutsFetchCommand

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) +} +to help return a more specific return type;

NutsFetchCommand configure(boolean skipUnsupported, String[] args)

return:NutsFetchCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copy()

create copy (new instance) of {\@code this} command

NutsFetchCommand copy()

return:NutsFetchCommand

⚙ copyFrom(other)

copy into {\@code this} from {\@code other} fetch command

NutsFetchCommand copyFrom(NutsFetchCommand other)

return:NutsFetchCommand

  • NutsFetchCommand other : copy into {@code this} from {@code other} fetch command

⚙ copySession()

copy session

NutsFetchCommand copySession()

return:NutsFetchCommand

⚙ installed()

search for non installed packages

NutsFetchCommand installed()

return:NutsFetchCommand

⚙ installed(value)

search for installed/non installed packages

NutsFetchCommand installed(Boolean value)

return:NutsFetchCommand

  • Boolean value : new value

⚙ notInstalled()

search for non installed packages

NutsFetchCommand notInstalled()

return:NutsFetchCommand

⚙ removeRepository(value)

remove repository filter

NutsFetchCommand removeRepository(String value)

return:NutsFetchCommand

  • String value : repository filter

⚙ removeScope(scope)

remove dependency scope filter.

NutsFetchCommand removeScope(NutsDependencyScope scope)

return:NutsFetchCommand

  • NutsDependencyScope scope : scope filter

⚙ removeScope(scope)

remove dependency scope filter.

NutsFetchCommand removeScope(NutsDependencyScopePattern scope)

return:NutsFetchCommand

  • NutsDependencyScopePattern scope : scope filter

⚙ run()

execute the command and return this instance

NutsFetchCommand run()

return:NutsFetchCommand

⚙ setAnyWhere()

all artifacts (local and remote). If local result found will any way +fetch remote.

NutsFetchCommand setAnyWhere()

return:NutsFetchCommand

⚙ setDefaultLocation()

unset location to store to fetched id and fall back to default location.

NutsFetchCommand setDefaultLocation()

return:NutsFetchCommand

⚙ setNutsApi()

set id to fetch to nuts-api (api artifact)

NutsFetchCommand setNutsApi()

return:NutsFetchCommand

⚙ setNutsRuntime()

set id to fetch to nuts-core (runtime artifact)

NutsFetchCommand setNutsRuntime()

return:NutsFetchCommand

⚙ setOffline()

local only (installed or not)

NutsFetchCommand setOffline()

return:NutsFetchCommand

⚙ setOnline()

local or remote. If local result found will not fetch remote.

NutsFetchCommand setOnline()

return:NutsFetchCommand

⚙ setRemote()

remote only

NutsFetchCommand setRemote()

return:NutsFetchCommand

☕ NutsFetchMode

public final net.vpc.app.nuts.NutsFetchMode

fetch mode defines if the artifact should be looked for withing the "installed" meta repository, "local" (offline) +machine repositories or over the wire (remote repositories).

\<p> +"installed" artifacts are stored in a pseudo-repository called "installed" which include all installed +(using command install) artifacts. Effective storage may (should?) remain in a local repository though. +Actually pseudo-repository "installed" manages references to these storages. +\</p> +\<p> +local repositories include all local folder based repositories. Semantically they should define machine/node based +storage that is independent from LAN/WAN/Cloud networks. A local database based repository may be considered as local +though not recommended as the server may be down. +Il all ways, local repositories are considered fast according to fetch/deploy commands. +\</p> +\<p> +remote repositories include all non local repositories which may present slow access and connectivity issues. +Typically this include server based repositories (http, ...). +\</p> +\<p> +It is important to say that a repository may serve both local and remote artifacts as usually remote repositories +enable cache support; in which case, if the artifact si cached, it will be accessed locally. +\</p> +\@since 0.5.4 +\@category Commands

📢❄ Constant Fields

📢❄ LOCAL

public static final NutsFetchMode LOCAL

📢❄ REMOTE

public static final NutsFetchMode REMOTE

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsFetchMode valueOf(String name)

return:NutsFetchMode

  • String name :

📢⚙ values()

NutsFetchMode[] values()

return:NutsFetchMode[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsFetchStrategy

public final net.vpc.app.nuts.NutsFetchStrategy

Fetch strategy defines modes (see {\@link NutsFetchMode}) to use when searching for an artifact. +\@author vpc +\@since 0.5.4 +\@category Commands

📢❄ Constant Fields

📢❄ ANYWHERE

public static final NutsFetchStrategy ANYWHERE

📢❄ OFFLINE

public static final NutsFetchStrategy OFFLINE

📢❄ ONLINE

public static final NutsFetchStrategy ONLINE

📢❄ REMOTE

public static final NutsFetchStrategy REMOTE

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsFetchStrategy valueOf(String name)

return:NutsFetchStrategy

  • String name :

📢⚙ values()

NutsFetchStrategy[] values()

return:NutsFetchStrategy[]

🎛 Instance Properties

📄🎛 stopFast

if true, do not consider next Fetch mode if the latter gives at least one result.

[read-only] boolean public stopFast
public boolean isStopFast()

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

⚙ iterator()

ordered fetch modes iterator

Iterator iterator()

return:Iterator

⚙ modes()

ordered fetch modes

NutsFetchMode[] modes()

return:NutsFetchMode[]

☕ NutsPushCommand

public interface net.vpc.app.nuts.NutsPushCommand

Push command +\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

📄🎛 args

return all arguments to pass to the push command

[read-only] String[] public args
public String[] getArgs()

📄🎛 ids

return ids to push for

[read-only] NutsId[] public ids
public NutsId[] getIds()

📄🎛 lockedIds

return locked ids to prevent them to be updated or the force other ids to use them (the installed version).

[read-only] NutsId[] public lockedIds
public NutsId[] getLockedIds()

📝🎛 offline

local only (installed or not)

[read-write] NutsPushCommand public offline
public boolean isOffline()
public NutsPushCommand setOffline(offline)

📝🎛 repository

repository to push from

[read-write] NutsPushCommand public repository
public String getRepository()
public NutsPushCommand setRepository(repository)

✏🎛 session

update session

[write-only] NutsPushCommand public session
public NutsPushCommand setSession(session)

⚙ Instance Methods

⚙ addArg(arg)

add argument to pass to the push command

NutsPushCommand addArg(String arg)

return:NutsPushCommand

  • String arg : argument

⚙ addArgs(args)

add arguments to pass to the push command

NutsPushCommand addArgs(String[] args)

return:NutsPushCommand

  • String[] args : argument

⚙ addArgs(args)

add arguments to pass to the push command

NutsPushCommand addArgs(Collection args)

return:NutsPushCommand

  • Collection args : argument

⚙ addId(id)

add id to push.

NutsPushCommand addId(NutsId id)

return:NutsPushCommand

  • NutsId id : id to push

⚙ addId(id)

add id to push.

NutsPushCommand addId(String id)

return:NutsPushCommand

  • String id : id to push

⚙ addIds(ids)

add ids to push.

NutsPushCommand addIds(NutsId[] ids)

return:NutsPushCommand

  • NutsId[] ids : id to push

⚙ addIds(ids)

add ids to push.

NutsPushCommand addIds(String[] ids)

return:NutsPushCommand

  • String[] ids : id to push

⚙ addLockedId(id)

add locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand addLockedId(NutsId id)

return:NutsPushCommand

  • NutsId id : id to lock

⚙ addLockedId(id)

add locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand addLockedId(String id)

return:NutsPushCommand

  • String id : id to lock

⚙ addLockedIds(values)

add locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand addLockedIds(NutsId[] values)

return:NutsPushCommand

  • NutsId[] values : id to lock

⚙ addLockedIds(values)

define locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand addLockedIds(String[] values)

return:NutsPushCommand

  • String[] values : ids

⚙ arg(arg)

add argument to pass to the push command

NutsPushCommand arg(String arg)

return:NutsPushCommand

  • String arg : argument

⚙ args(args)

add arguments to pass to the push command

NutsPushCommand args(String[] args)

return:NutsPushCommand

  • String[] args : argument

⚙ args(args)

add arguments to pass to the push command

NutsPushCommand args(Collection args)

return:NutsPushCommand

  • Collection args : argument

⚙ clearArgs()

clear all arguments to pass to the push command

NutsPushCommand clearArgs()

return:NutsPushCommand

⚙ clearIds()

reset ids to push for

NutsPushCommand clearIds()

return:NutsPushCommand

⚙ clearLockedIds()

reset locked ids

NutsPushCommand clearLockedIds()

return:NutsPushCommand

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsPushCommand configure(boolean skipUnsupported, String[] args)

return:NutsPushCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsPushCommand copySession()

return:NutsPushCommand

⚙ id(id)

add id to push.

NutsPushCommand id(NutsId id)

return:NutsPushCommand

  • NutsId id : id to push

⚙ id(id)

add id to push.

NutsPushCommand id(String id)

return:NutsPushCommand

  • String id : id to push

⚙ ids(ids)

add ids to push.

NutsPushCommand ids(NutsId[] ids)

return:NutsPushCommand

  • NutsId[] ids : id to push

⚙ ids(ids)

add ids to push.

NutsPushCommand ids(String[] ids)

return:NutsPushCommand

  • String[] ids : id to push

⚙ lockedId(id)

add locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand lockedId(NutsId id)

return:NutsPushCommand

  • NutsId id : id to lock

⚙ lockedId(id)

add locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand lockedId(String id)

return:NutsPushCommand

  • String id : id to lock

⚙ lockedIds(values)

define locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand lockedIds(NutsId[] values)

return:NutsPushCommand

  • NutsId[] values : ids

⚙ lockedIds(values)

define locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand lockedIds(String[] values)

return:NutsPushCommand

  • String[] values : ids

⚙ offline()

local only (installed or not)

NutsPushCommand offline()

return:NutsPushCommand

⚙ offline(offline)

local only (installed or not)

NutsPushCommand offline(boolean offline)

return:NutsPushCommand

  • boolean offline : enable offline mode

⚙ removeId(id)

remove id to push.

NutsPushCommand removeId(NutsId id)

return:NutsPushCommand

  • NutsId id : id to push

⚙ removeId(id)

remove id to push.

NutsPushCommand removeId(String id)

return:NutsPushCommand

  • String id : id to push

⚙ removeLockedId(id)

remove locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand removeLockedId(NutsId id)

return:NutsPushCommand

  • NutsId id : id to unlock

⚙ removeLockedId(id)

remove locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsPushCommand removeLockedId(String id)

return:NutsPushCommand

  • String id : id to unlock

⚙ repository(repository)

repository to push from

NutsPushCommand repository(String repository)

return:NutsPushCommand

  • String repository : repository to push from

⚙ run()

execute the command and return this instance

NutsPushCommand run()

return:NutsPushCommand

☕ NutsRemoveOptions

public net.vpc.app.nuts.NutsRemoveOptions

\@author vpc +\@since 0.5.4 +\@category Commands

🪄 Constructors

🪄 NutsRemoveOptions()

NutsRemoveOptions()

🎛 Instance Properties

📄🎛 erase

[read-only] boolean public erase
public boolean isErase()

📄🎛 session

[read-only] NutsSession public session
public NutsSession getSession()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ erase()

NutsRemoveOptions erase()

return:NutsRemoveOptions

⚙ erase(erase)

NutsRemoveOptions erase(boolean erase)

return:NutsRemoveOptions

  • boolean erase :

⚙ hashCode()

int hashCode()

return:int

⚙ setErase(erase)

NutsRemoveOptions setErase(boolean erase)

return:NutsRemoveOptions

  • boolean erase :

⚙ setSession(session)

NutsRemoveOptions setSession(NutsSession session)

return:NutsRemoveOptions

  • NutsSession session :

⚙ toString()

String toString()

return:String

☕ NutsSearchCommand

public interface net.vpc.app.nuts.NutsSearchCommand

Search command class helps searching multiple artifacts with all of their +files.

\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

📝🎛 application

set nuts app filter. if true nuts app (implementing NutsApplication) only +are retrieved.

[read-write] NutsSearchCommand public application
public boolean isApplication()
public NutsSearchCommand setApplication(enable)

📄🎛 arch

[read-only] String[] public arch
public String[] getArch()

📝🎛 basePackage

include base package when searching for inlined dependencies

[read-write] NutsSearchCommand public basePackage
public boolean isBasePackage()
public NutsSearchCommand setBasePackage(includeBasePackage)

📝🎛 cached

enable/disable retrieval from cache

[read-write] NutsSearchCommand public cached
public boolean isCached()
public NutsSearchCommand setCached(enable)

📝🎛 companion

set companions filter. if true companions only are retrieved.

[read-write] NutsSearchCommand public companion
public boolean isCompanion()
public NutsSearchCommand setCompanion(enable)

📄🎛 comparator

result comparator

[read-only] Comparator public comparator
public Comparator getComparator()

📝🎛 content

enable/disable retrieval of content info

[read-write] NutsSearchCommand public content
public boolean isContent()
public NutsSearchCommand setContent(enable)

📝🎛 defaultVersions

default version only filter

[read-write] NutsSearchCommand public defaultVersions
public Boolean getDefaultVersions()
public NutsSearchCommand setDefaultVersions(enable)

📝🎛 dependencies

enable/disable dependencies list retrieval

[read-write] NutsSearchCommand public dependencies
public boolean isDependencies()
public NutsSearchCommand setDependencies(enable)

📝🎛 dependenciesTree

enable/disable dependencies tree retrieval

[read-write] NutsSearchCommand public dependenciesTree
public boolean isDependenciesTree()
public NutsSearchCommand setDependenciesTree(enable)

📝🎛 dependencyFilter

define dependency filter. applicable when using {\@link #setInlineDependencies(boolean)}

[read-write] NutsSearchCommand public dependencyFilter
public NutsDependencyFilter getDependencyFilter()
public NutsSearchCommand setDependencyFilter(filter)

📝🎛 descriptorFilter

define descriptor filter.

[read-write] NutsSearchCommand public descriptorFilter
public NutsDescriptorFilter getDescriptorFilter()
public NutsSearchCommand setDescriptorFilter(filter)

📝🎛 distinct

skip duplicates

[read-write] NutsSearchCommand public distinct
public boolean isDistinct()
public NutsSearchCommand setDistinct(distinct)

📝🎛 effective

enable/disable effective descriptor evaluation

[read-write] NutsSearchCommand public effective
public boolean isEffective()
public NutsSearchCommand setEffective(enable)

📝🎛 exec

set app filter. if true non lib (app) only are retrieved.

[read-write] NutsSearchCommand public exec
public boolean isExec()
public NutsSearchCommand setExec(enable)

📝🎛 extension

set extensions filter. if true extensions only are retrieved.

[read-write] NutsSearchCommand public extension
public boolean isExtension()
public NutsSearchCommand setExtension(enable)

📝🎛 failFast

set armed (or disarmed) fail safe mode. if true, null replaces +NutsNotFoundException.

[read-write] NutsSearchCommand public failFast
public boolean isFailFast()
public NutsSearchCommand setFailFast(enable)

📝🎛 fetchStrategy

set fetch strategy.

[read-write] NutsSearchCommand public fetchStrategy
public NutsFetchStrategy getFetchStrategy()
public NutsSearchCommand setFetchStrategy(fetchStrategy)

📝🎛 idFilter

define id filter.

[read-write] NutsSearchCommand public idFilter
public NutsIdFilter getIdFilter()
public NutsSearchCommand setIdFilter(filter)

📄🎛 ids

return ids to search for

[read-only] NutsId[] public ids
public NutsId[] getIds()

📝🎛 indexed

set index filter.if null index is removed. if false do not consider +index. if true, consider index.

[read-write] NutsSearchCommand public indexed
public boolean isIndexed()
public NutsSearchCommand setIndexed(enable)

📝🎛 inlineDependencies

enable/disable inlined dependencies list retrieval

[read-write] NutsSearchCommand public inlineDependencies
public boolean isInlineDependencies()
public NutsSearchCommand setInlineDependencies(enable)

📝🎛 installStatus

search for non packages with the given {\@code installStatus}

[read-write] NutsSearchCommand public installStatus
public NutsInstallStatus getInstallStatus()
public NutsSearchCommand setInstallStatus(installStatus)

📝🎛 latest

if true search must return only latest versions for each artifact id

[read-write] NutsSearchCommand public latest
public boolean isLatest()
public NutsSearchCommand setLatest(enable)

📝🎛 lib

set lib filter. if true lib (non app) only are retrieved.

[read-write] NutsSearchCommand public lib
public boolean isLib()
public NutsSearchCommand setLib(enable)

📝🎛 location

set locating where to fetch the artifact. If the location is a folder, a +new name will be generated.

[read-write] NutsSearchCommand public location
public Path getLocation()
public NutsSearchCommand setLocation(fileOrFolder)

📄🎛 lockedIds

return locked ids to prevent them to be updated or the force other ids to use them (the installed version).

[read-only] NutsId[] public lockedIds
public NutsId[] getLockedIds()

📝🎛 optional

set option filter. if null filter is removed. if false only non optional +will be retrieved. if true, only optional will be retrieved.

[read-write] NutsSearchCommand public optional
public Boolean getOptional()
public NutsSearchCommand setOptional(enable)

📄🎛 packaging

[read-only] String[] public packaging
public String[] getPackaging()

📝🎛 printResult

enable print search result

[read-write] NutsSearchCommand public printResult
public boolean isPrintResult()
public NutsSearchCommand setPrintResult(enable)

📄🎛 repositories

[read-only] String[] public repositories
public String[] getRepositories()

✏🎛 repository

define repository filter.

[write-only] NutsSearchCommand public repository
public NutsSearchCommand setRepository(filter)

📝🎛 repositoryFilter

define repository filter.

[read-write] NutsSearchCommand public repositoryFilter
public NutsRepositoryFilter getRepositoryFilter()
public NutsSearchCommand setRepositoryFilter(filter)

📄🎛 resultArchs

return result as archs

[read-only] NutsResultList public resultArchs
public NutsResultList getResultArchs()

📄🎛 resultClassLoader

execute query and return result as class loader

[read-only] ClassLoader public resultClassLoader
public ClassLoader getResultClassLoader()

📄🎛 resultClassPath

execute query and return result as class path string

[read-only] String public resultClassPath
public String getResultClassPath()

📄🎛 resultDefinitions

execute query and return result as definitions

[read-only] NutsResultList public resultDefinitions
public NutsResultList getResultDefinitions()

📄🎛 resultExecutionEntries

return result as execution entries

[read-only] NutsResultList public resultExecutionEntries
public NutsResultList getResultExecutionEntries()

📄🎛 resultIds

execute query and return result as ids

[read-only] NutsResultList public resultIds
public NutsResultList getResultIds()

📄🎛 resultInstallDates

execute query and return install dates

[read-only] NutsResultList public resultInstallDates
public NutsResultList getResultInstallDates()

📄🎛 resultInstallFolders

execute query and return install folders

[read-only] NutsResultList public resultInstallFolders
public NutsResultList getResultInstallFolders()

📄🎛 resultInstallUsers

execute query and return install users

[read-only] NutsResultList public resultInstallUsers
public NutsResultList getResultInstallUsers()

📄🎛 resultNames

return result as artifact names

[read-only] NutsResultList public resultNames
public NutsResultList getResultNames()

📄🎛 resultNutsPath

execute query and return result as nuts path string

[read-only] String public resultNutsPath
public String getResultNutsPath()

📄🎛 resultOsdists

return result as osdist names

[read-only] NutsResultList public resultOsdists
public NutsResultList getResultOsdists()

📄🎛 resultOses

return result as operating system names

[read-only] NutsResultList public resultOses
public NutsResultList getResultOses()

📄🎛 resultPackagings

return result as packagings

[read-only] NutsResultList public resultPackagings
public NutsResultList getResultPackagings()

📄🎛 resultPathNames

return result as content path names

[read-only] NutsResultList public resultPathNames
public NutsResultList getResultPathNames()

📄🎛 resultPaths

return result as content paths

[read-only] NutsResultList public resultPaths
public NutsResultList getResultPaths()

📄🎛 resultPlatforms

return result as platforms

[read-only] NutsResultList public resultPlatforms
public NutsResultList getResultPlatforms()

📝🎛 runtime

add runtime id to search

[read-write] NutsSearchCommand public runtime
public boolean isRuntime()
public NutsSearchCommand setRuntime(enable)

📄🎛 scope

scope filter filter. applicable with {\@link #setInlineDependencies(boolean)}

[read-only] Set public scope
public Set getScope()

📄🎛 scripts

return javascript filters

[read-only] String[] public scripts
public String[] getScripts()

✏🎛 session

update session

[write-only] NutsSearchCommand public session
public NutsSearchCommand setSession(session)

📝🎛 sorted

sort result

[read-write] NutsSearchCommand public sorted
public boolean isSorted()
public NutsSearchCommand setSorted(sort)

📝🎛 targetApiVersion

set target api version

[read-write] NutsSearchCommand public targetApiVersion
public String getTargetApiVersion()
public NutsSearchCommand setTargetApiVersion(targetApiVersion)

📝🎛 transitive

set or unset transitive mode

[read-write] NutsSearchCommand public transitive
public boolean isTransitive()
public NutsSearchCommand setTransitive(enable)

⚙ Instance Methods

⚙ addArch(value)

add arch to search

NutsSearchCommand addArch(String value)

return:NutsSearchCommand

  • String value : arch to search for

⚙ addArchs(values)

add archs to search

NutsSearchCommand addArchs(Collection values)

return:NutsSearchCommand

  • Collection values : arch to search for

⚙ addArchs(values)

add archs to search

NutsSearchCommand addArchs(String[] values)

return:NutsSearchCommand

  • String[] values : arch to search for

⚙ addId(id)

add id to search.

NutsSearchCommand addId(String id)

return:NutsSearchCommand

  • String id : id to search

⚙ addId(id)

add id to search.

NutsSearchCommand addId(NutsId id)

return:NutsSearchCommand

  • NutsId id : id to search

⚙ addIds(ids)

add ids to search.

NutsSearchCommand addIds(String[] ids)

return:NutsSearchCommand

  • String[] ids : id to search

⚙ addIds(ids)

add ids to search.

NutsSearchCommand addIds(NutsId[] ids)

return:NutsSearchCommand

  • NutsId[] ids : ids to search

⚙ addLockedId(id)

add locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsSearchCommand addLockedId(NutsId id)

return:NutsSearchCommand

  • NutsId id : id to lock

⚙ addLockedId(id)

add locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsSearchCommand addLockedId(String id)

return:NutsSearchCommand

  • String id : id to lock

⚙ addLockedIds(values)

define locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsSearchCommand addLockedIds(String[] values)

return:NutsSearchCommand

  • String[] values : ids

⚙ addLockedIds(values)

define locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsSearchCommand addLockedIds(NutsId[] values)

return:NutsSearchCommand

  • NutsId[] values : ids

⚙ addPackaging(value)

add packaging to search

NutsSearchCommand addPackaging(String value)

return:NutsSearchCommand

  • String value : packaging to search for

⚙ addPackagings(values)

add packagings to search

NutsSearchCommand addPackagings(Collection values)

return:NutsSearchCommand

  • Collection values : packagings to search for

⚙ addPackagings(values)

add packagings to search

NutsSearchCommand addPackagings(String[] values)

return:NutsSearchCommand

  • String[] values : packagings to search for

⚙ addRepositories(values)

add repositories to search into

NutsSearchCommand addRepositories(Collection values)

return:NutsSearchCommand

  • Collection values : repositories to search into

⚙ addRepositories(values)

add repositories to search into

NutsSearchCommand addRepositories(String[] values)

return:NutsSearchCommand

  • String[] values : repositories to search into

⚙ addRepository(value)

add repository to search into

NutsSearchCommand addRepository(String value)

return:NutsSearchCommand

  • String value : repository to search into

⚙ addScope(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean)} +and {\@link #setDependenciesTree(boolean)}

NutsSearchCommand addScope(NutsDependencyScope scope)

return:NutsSearchCommand

  • NutsDependencyScope scope : scope filter

⚙ addScope(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean)} +and {\@link #setDependenciesTree(boolean)}

NutsSearchCommand addScope(NutsDependencyScopePattern scope)

return:NutsSearchCommand

  • NutsDependencyScopePattern scope : scope filter

⚙ addScopes(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean)} +and {\@link #setDependenciesTree(boolean)}

NutsSearchCommand addScopes(NutsDependencyScope[] scope)

return:NutsSearchCommand

  • NutsDependencyScope[] scope : scope filter

⚙ addScopes(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean)} +and {\@link #setDependenciesTree(boolean)}

NutsSearchCommand addScopes(NutsDependencyScopePattern[] scope)

return:NutsSearchCommand

  • NutsDependencyScopePattern[] scope : scope filter

⚙ addScript(value)

add javascript filter.

NutsSearchCommand addScript(String value)

return:NutsSearchCommand

  • String value : javascript filter

⚙ addScripts(value)

add javascript filter.

NutsSearchCommand addScripts(Collection value)

return:NutsSearchCommand

  • Collection value : javascript filter

⚙ addScripts(value)

add javascript filter.

NutsSearchCommand addScripts(String[] value)

return:NutsSearchCommand

  • String[] value : javascript filter

⚙ clearArchs()

reset searched for archs

NutsSearchCommand clearArchs()

return:NutsSearchCommand

⚙ clearIds()

reset ids to search for

NutsSearchCommand clearIds()

return:NutsSearchCommand

⚙ clearLockedIds()

reset locked ids

NutsSearchCommand clearLockedIds()

return:NutsSearchCommand

⚙ clearPackagings()

reset packagings to search

NutsSearchCommand clearPackagings()

return:NutsSearchCommand

⚙ clearRepositories()

reset repositories to search into

NutsSearchCommand clearRepositories()

return:NutsSearchCommand

⚙ clearScopes()

remove all dependency scope filters.

NutsSearchCommand clearScopes()

return:NutsSearchCommand

⚙ clearScripts()

remove all javascript filters

NutsSearchCommand clearScripts()

return:NutsSearchCommand

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) +} +to help return a more specific return type;

NutsSearchCommand configure(boolean skipUnsupported, String[] args)

return:NutsSearchCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copy()

create new instance copy of this

NutsSearchCommand copy()

return:NutsSearchCommand

⚙ copyFrom(other)

copy content from given {\@code other}

NutsSearchCommand copyFrom(NutsSearchCommand other)

return:NutsSearchCommand

  • NutsSearchCommand other : other instance

⚙ copyFrom(other)

copy content from given {\@code other}

NutsSearchCommand copyFrom(NutsFetchCommand other)

return:NutsSearchCommand

  • NutsFetchCommand other : other instance

⚙ copySession()

copy session

NutsSearchCommand copySession()

return:NutsSearchCommand

⚙ getResultClassLoader(parent)

execute query and return result as class loader

ClassLoader getResultClassLoader(ClassLoader parent)

return:ClassLoader

  • ClassLoader parent : parent class loader

⚙ getResultStoreLocations(location)

execute query and return store location path

NutsResultList getResultStoreLocations(NutsStoreLocation location)

return:NutsResultList

  • NutsStoreLocation location : location type to return

⚙ getResultStrings(columns)

execute query and return the selected columns. +Supported columns are : +\<ul> +\<li>all\</li> +\<li>long\</li> +\<li>status\</li> +\<li>install-date\</li> +\<li>install-user\</li> +\<li>install-folder\</li> +\<li>repository\</li> +\<li>repository-id\</li> +\<li>id\</li> +\<li>name\</li> +\<li>arch\</li> +\<li>packaging\</li> +\<li>platform\</li> +\<li>os\</li> +\<li>osdist\</li> +\<li>exec-entry\</li> +\<li>file-name\</li> +\<li>file\</li> +\<li>var-location\</li> +\<li>temp-folder\</li> +\<li>config-folder\</li> +\<li>lib-folder\</li> +\<li>log-folder\</li> +\<li>cache-folder\</li> +\<li>apps-folder\</li> +\</ul>

NutsResultList getResultStrings(String[] columns)

return:NutsResultList

  • String[] columns : columns to return

⚙ included()

search for included (in other installations as dependency) packages

NutsSearchCommand included()

return:NutsSearchCommand

⚙ installed()

search for non installed packages

NutsSearchCommand installed()

return:NutsSearchCommand

⚙ installedOrIncluded()

search for non installed or included (in other installations as dependency) packages

NutsSearchCommand installedOrIncluded()

return:NutsSearchCommand

⚙ notInstalled()

search for non installed packages

NutsSearchCommand notInstalled()

return:NutsSearchCommand

⚙ removeArch(value)

remove arch to search

NutsSearchCommand removeArch(String value)

return:NutsSearchCommand

  • String value : arch to remove

⚙ removeId(id)

remove id to search.

NutsSearchCommand removeId(String id)

return:NutsSearchCommand

  • String id : id to search

⚙ removeId(id)

remove id to search.

NutsSearchCommand removeId(NutsId id)

return:NutsSearchCommand

  • NutsId id : id to search

⚙ removeLockedId(id)

remove locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsSearchCommand removeLockedId(NutsId id)

return:NutsSearchCommand

  • NutsId id : id to unlock

⚙ removeLockedId(id)

remove locked ids to prevent them to be updated or the force other ids to use them (the installed version).

NutsSearchCommand removeLockedId(String id)

return:NutsSearchCommand

  • String id : id to unlock

⚙ removePackaging(value)

remove packaging from search

NutsSearchCommand removePackaging(String value)

return:NutsSearchCommand

  • String value : packaging to remove

⚙ removeRepository(value)

add repository to search into

NutsSearchCommand removeRepository(String value)

return:NutsSearchCommand

  • String value : repository to search into

⚙ removeScope(scope)

add dependency scope filter. Only relevant with {\@link #setDependencies(boolean)} +and {\@link #setDependenciesTree(boolean)}

NutsSearchCommand removeScope(NutsDependencyScope scope)

return:NutsSearchCommand

  • NutsDependencyScope scope : scope filter

⚙ removeScope(scope)

remove dependency scope filter. Only relevant with {\@link #setDependencies(boolean)} +and {\@link #setDependenciesTree(boolean)}

NutsSearchCommand removeScope(NutsDependencyScopePattern scope)

return:NutsSearchCommand

  • NutsDependencyScopePattern scope : scope filter

⚙ removeScript(value)

remove javascript filter.

NutsSearchCommand removeScript(String value)

return:NutsSearchCommand

  • String value : javascript filter

⚙ run()

execute the command and return this instance

NutsSearchCommand run()

return:NutsSearchCommand

⚙ setAnyWhere()

all artifacts (local and remote). If local result found will any way +fetch remote.

NutsSearchCommand setAnyWhere()

return:NutsSearchCommand

⚙ setDefaultLocation()

unset location to store to fetched id and fall back to default location.

NutsSearchCommand setDefaultLocation()

return:NutsSearchCommand

⚙ setOffline()

local only (installed or not)

NutsSearchCommand setOffline()

return:NutsSearchCommand

⚙ setOnline()

local or remote. If local result found will not fetch remote.

NutsSearchCommand setOnline()

return:NutsSearchCommand

⚙ setRemote()

remote only

NutsSearchCommand setRemote()

return:NutsSearchCommand

⚙ sort(comparator)

sort results. Comparator should handle types of the result.

NutsSearchCommand sort(Comparator comparator)

return:NutsSearchCommand

  • Comparator comparator : result comparator

⚙ toFetch()

create fetch command initialized with this instance options.

NutsFetchCommand toFetch()

return:NutsFetchCommand

☕ NutsUndeployCommand

public interface net.vpc.app.nuts.NutsUndeployCommand

\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

📄🎛 ids

[read-only] NutsId[] public ids
public NutsId[] getIds()

📄🎛 offline

[read-only] boolean public offline
public boolean isOffline()

📄🎛 repository

[read-only] String public repository
public String getRepository()

✏🎛 session

update session

[write-only] NutsUndeployCommand public session
public NutsUndeployCommand setSession(session)

📄🎛 transitive

[read-only] boolean public transitive
public boolean isTransitive()

⚙ Instance Methods

⚙ addId(id)

NutsUndeployCommand addId(NutsId id)

return:NutsUndeployCommand

  • NutsId id :

⚙ addId(id)

NutsUndeployCommand addId(String id)

return:NutsUndeployCommand

  • String id :

⚙ addIds(value)

NutsUndeployCommand addIds(NutsId[] value)

return:NutsUndeployCommand

  • NutsId[] value :

⚙ addIds(values)

NutsUndeployCommand addIds(String[] values)

return:NutsUndeployCommand

  • String[] values :

⚙ clearIds()

NutsUndeployCommand clearIds()

return:NutsUndeployCommand

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsUndeployCommand configure(boolean skipUnsupported, String[] args)

return:NutsUndeployCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsUndeployCommand copySession()

return:NutsUndeployCommand

⚙ run()

execute the command and return this instance

NutsUndeployCommand run()

return:NutsUndeployCommand

⚙ setOffline(offline)

NutsUndeployCommand setOffline(boolean offline)

return:NutsUndeployCommand

  • boolean offline :

⚙ setRepository(repository)

NutsUndeployCommand setRepository(String repository)

return:NutsUndeployCommand

  • String repository :

⚙ setTransitive(transitive)

NutsUndeployCommand setTransitive(boolean transitive)

return:NutsUndeployCommand

  • boolean transitive :

☕ NutsUninstallCommand

public interface net.vpc.app.nuts.NutsUninstallCommand

\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

📄🎛 args

[read-only] String[] public args
public String[] getArgs()

📄🎛 erase

[read-only] boolean public erase
public boolean isErase()

📄🎛 ids

[read-only] NutsId[] public ids
public NutsId[] getIds()

✏🎛 session

update session

[write-only] NutsUninstallCommand public session
public NutsUninstallCommand setSession(session)

⚙ Instance Methods

⚙ addArg(arg)

NutsUninstallCommand addArg(String arg)

return:NutsUninstallCommand

  • String arg :

⚙ addArgs(args)

NutsUninstallCommand addArgs(Collection args)

return:NutsUninstallCommand

  • Collection args :

⚙ addArgs(args)

NutsUninstallCommand addArgs(String[] args)

return:NutsUninstallCommand

  • String[] args :

⚙ addId(id)

NutsUninstallCommand addId(NutsId id)

return:NutsUninstallCommand

  • NutsId id :

⚙ addId(id)

NutsUninstallCommand addId(String id)

return:NutsUninstallCommand

  • String id :

⚙ addIds(ids)

NutsUninstallCommand addIds(NutsId[] ids)

return:NutsUninstallCommand

  • NutsId[] ids :

⚙ addIds(ids)

NutsUninstallCommand addIds(String[] ids)

return:NutsUninstallCommand

  • String[] ids :

⚙ clearArgs()

NutsUninstallCommand clearArgs()

return:NutsUninstallCommand

⚙ clearIds()

NutsUninstallCommand clearIds()

return:NutsUninstallCommand

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsUninstallCommand configure(boolean skipUnsupported, String[] args)

return:NutsUninstallCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsUninstallCommand copySession()

return:NutsUninstallCommand

⚙ removeId(id)

NutsUninstallCommand removeId(NutsId id)

return:NutsUninstallCommand

  • NutsId id :

⚙ removeId(id)

NutsUninstallCommand removeId(String id)

return:NutsUninstallCommand

  • String id :

⚙ run()

execute the command and return this instance

NutsUninstallCommand run()

return:NutsUninstallCommand

⚙ setErase(erase)

NutsUninstallCommand setErase(boolean erase)

return:NutsUninstallCommand

  • boolean erase :

☕ NutsUpdateCommand

public interface net.vpc.app.nuts.NutsUpdateCommand

\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

📄🎛 api

[read-only] boolean public api
public boolean isApi()

📝🎛 apiVersion

set target api version required for updating other artifacts

[read-write] NutsUpdateCommand public apiVersion
public String getApiVersion()
public NutsUpdateCommand setApiVersion(value)

📄🎛 args

[read-only] String[] public args
public String[] getArgs()

📄🎛 companions

[read-only] boolean public companions
public boolean isCompanions()

📄🎛 enableInstall

if true enable installing new artifacts when an update is request for +non installed packages.

[read-only] boolean public enableInstall
public boolean isEnableInstall()

📄🎛 extensions

[read-only] boolean public extensions
public boolean isExtensions()

📄🎛 ids

[read-only] NutsId[] public ids
public NutsId[] getIds()

📄🎛 installed

[read-only] boolean public installed
public boolean isInstalled()

📄🎛 lockedIds

[read-only] NutsId[] public lockedIds
public NutsId[] getLockedIds()

📝🎛 optional

when true include optional dependencies

[read-write] NutsUpdateCommand public optional
public boolean isOptional()
public NutsUpdateCommand setOptional(includeOptional)

📄🎛 result

execute update check (if not already performed) then return result

[read-only] NutsWorkspaceUpdateResult public result
public NutsWorkspaceUpdateResult getResult()

📄🎛 resultCount

[read-only] int public resultCount
public int getResultCount()

📄🎛 runtime

[read-only] boolean public runtime
public boolean isRuntime()

✏🎛 session

update session

[write-only] NutsUpdateCommand public session
public NutsUpdateCommand setSession(session)

⚙ Instance Methods

⚙ addArg(arg)

NutsUpdateCommand addArg(String arg)

return:NutsUpdateCommand

  • String arg :

⚙ addArgs(args)

NutsUpdateCommand addArgs(Collection args)

return:NutsUpdateCommand

  • Collection args :

⚙ addArgs(args)

NutsUpdateCommand addArgs(String[] args)

return:NutsUpdateCommand

  • String[] args :

⚙ addId(id)

NutsUpdateCommand addId(NutsId id)

return:NutsUpdateCommand

  • NutsId id :

⚙ addId(id)

NutsUpdateCommand addId(String id)

return:NutsUpdateCommand

  • String id :

⚙ addIds(ids)

NutsUpdateCommand addIds(NutsId[] ids)

return:NutsUpdateCommand

  • NutsId[] ids :

⚙ addIds(ids)

NutsUpdateCommand addIds(String[] ids)

return:NutsUpdateCommand

  • String[] ids :

⚙ addLockedId(id)

NutsUpdateCommand addLockedId(NutsId id)

return:NutsUpdateCommand

  • NutsId id :

⚙ addLockedId(id)

NutsUpdateCommand addLockedId(String id)

return:NutsUpdateCommand

  • String id :

⚙ addLockedIds(ids)

NutsUpdateCommand addLockedIds(NutsId[] ids)

return:NutsUpdateCommand

  • NutsId[] ids :

⚙ addLockedIds(ids)

NutsUpdateCommand addLockedIds(String[] ids)

return:NutsUpdateCommand

  • String[] ids :

⚙ addScope(scope)

NutsUpdateCommand addScope(NutsDependencyScope scope)

return:NutsUpdateCommand

  • NutsDependencyScope scope :

⚙ addScopes(scopes)

NutsUpdateCommand addScopes(Collection scopes)

return:NutsUpdateCommand

  • Collection scopes :

⚙ addScopes(scopes)

NutsUpdateCommand addScopes(NutsDependencyScope[] scopes)

return:NutsUpdateCommand

  • NutsDependencyScope[] scopes :

⚙ checkUpdates()

NutsUpdateCommand checkUpdates()

return:NutsUpdateCommand

⚙ checkUpdates(applyUpdates)

check for updates.

NutsUpdateCommand checkUpdates(boolean applyUpdates)

return:NutsUpdateCommand

  • boolean applyUpdates : if true updates will be applied

⚙ clearArgs()

NutsUpdateCommand clearArgs()

return:NutsUpdateCommand

⚙ clearIds()

NutsUpdateCommand clearIds()

return:NutsUpdateCommand

⚙ clearLockedIds()

NutsUpdateCommand clearLockedIds()

return:NutsUpdateCommand

⚙ clearScopes()

NutsUpdateCommand clearScopes()

return:NutsUpdateCommand

⚙ companions()

update workspace companion versions

NutsUpdateCommand companions()

return:NutsUpdateCommand

⚙ companions(enable)

NutsUpdateCommand companions(boolean enable)

return:NutsUpdateCommand

  • boolean enable :

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsUpdateCommand configure(boolean skipUnsupported, String[] args)

return:NutsUpdateCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsUpdateCommand copySession()

return:NutsUpdateCommand

⚙ installed()

update installed artifacts

NutsUpdateCommand installed()

return:NutsUpdateCommand

⚙ installed(enable)

NutsUpdateCommand installed(boolean enable)

return:NutsUpdateCommand

  • boolean enable :

⚙ lockedId(id)

NutsUpdateCommand lockedId(NutsId id)

return:NutsUpdateCommand

  • NutsId id :

⚙ lockedId(id)

NutsUpdateCommand lockedId(String id)

return:NutsUpdateCommand

  • String id :

⚙ lockedIds(id)

NutsUpdateCommand lockedIds(NutsId[] id)

return:NutsUpdateCommand

  • NutsId[] id :

⚙ lockedIds(id)

NutsUpdateCommand lockedIds(String[] id)

return:NutsUpdateCommand

  • String[] id :

⚙ removeId(id)

NutsUpdateCommand removeId(NutsId id)

return:NutsUpdateCommand

  • NutsId id :

⚙ removeId(id)

NutsUpdateCommand removeId(String id)

return:NutsUpdateCommand

  • String id :

⚙ run()

execute the command and return this instance

NutsUpdateCommand run()

return:NutsUpdateCommand

⚙ runtime()

update workspace runtime version

NutsUpdateCommand runtime()

return:NutsUpdateCommand

⚙ runtime(enable)

NutsUpdateCommand runtime(boolean enable)

return:NutsUpdateCommand

  • boolean enable :

⚙ scope(scope)

NutsUpdateCommand scope(NutsDependencyScope scope)

return:NutsUpdateCommand

  • NutsDependencyScope scope :

⚙ scopes(scopes)

NutsUpdateCommand scopes(Collection scopes)

return:NutsUpdateCommand

  • Collection scopes :

⚙ scopes(scopes)

NutsUpdateCommand scopes(NutsDependencyScope[] scopes)

return:NutsUpdateCommand

  • NutsDependencyScope[] scopes :

⚙ setAll()

update api, runtime, extensions, companions and all installed artifacts

NutsUpdateCommand setAll()

return:NutsUpdateCommand

⚙ setApi(enable)

NutsUpdateCommand setApi(boolean enable)

return:NutsUpdateCommand

  • boolean enable :

⚙ setCompanions(updateCompanions)

NutsUpdateCommand setCompanions(boolean updateCompanions)

return:NutsUpdateCommand

  • boolean updateCompanions :

⚙ setEnableInstall(enableInstall)

NutsUpdateCommand setEnableInstall(boolean enableInstall)

return:NutsUpdateCommand

  • boolean enableInstall :

⚙ setExtensions(enable)

NutsUpdateCommand setExtensions(boolean enable)

return:NutsUpdateCommand

  • boolean enable :

⚙ setInstalled(enable)

NutsUpdateCommand setInstalled(boolean enable)

return:NutsUpdateCommand

  • boolean enable :

⚙ setRuntime(enable)

NutsUpdateCommand setRuntime(boolean enable)

return:NutsUpdateCommand

  • boolean enable :

⚙ update()

NutsUpdateCommand update()

return:NutsUpdateCommand

⚙ workspace()

update api, runtime, extensions and companions

NutsUpdateCommand workspace()

return:NutsUpdateCommand

☕ NutsUpdateOptions

public net.vpc.app.nuts.NutsUpdateOptions

Generic Add options

author vpc +\@since 0.5.7 +\@category Commands

🪄 Constructors

🪄 NutsUpdateOptions()

NutsUpdateOptions()

🎛 Instance Properties

📝🎛 session

update current session

[read-write] NutsUpdateOptions public session
public NutsSession getSession()
public NutsUpdateOptions setSession(session)

☕ NutsUpdateResult

public interface net.vpc.app.nuts.NutsUpdateResult

component update result

\@author vpc +\@since 0.5.4 +\@category Commands

🎛 Instance Properties

📄🎛 available

return available definition or null

[read-only] NutsDefinition public available
public NutsDefinition getAvailable()

📄🎛 dependencies

return update dependencies

[read-only] NutsId[] public dependencies
public NutsId[] getDependencies()

📄🎛 id

artifact id

[read-only] NutsId public id
public NutsId getId()

📄🎛 local

return installed/local definition or null

[read-only] NutsDefinition public local
public NutsDefinition getLocal()

📄🎛 updateApplied

return true if the update was applied

[read-only] boolean public updateApplied
public boolean isUpdateApplied()

📄🎛 updateAvailable

return true if any update is available. +equivalent to {\@code isUpdateVersionAvailable() || isUpdateStatusAvailable()}

[read-only] boolean public updateAvailable
public boolean isUpdateAvailable()

📄🎛 updateForced

return true if the update was forced

[read-only] boolean public updateForced
public boolean isUpdateForced()

📄🎛 updateStatusAvailable

return true if artifact has no version update +but still have status (default) to be updated

[read-only] boolean public updateStatusAvailable
public boolean isUpdateStatusAvailable()

📄🎛 updateVersionAvailable

return true if artifact has newer available version

[read-only] boolean public updateVersionAvailable
public boolean isUpdateVersionAvailable()

☕ NutsWorkspaceCommand

public interface net.vpc.app.nuts.NutsWorkspaceCommand

Generic Command for usual workspace operations. All Command classes have a +\'run\' method to perform the operation.

\@author vpc +\@since 0.5.5 +\@category Commands

🎛 Instance Properties

📝🎛 session

update session

[read-write] NutsWorkspaceCommand public session
public NutsSession getSession()
public NutsWorkspaceCommand setSession(session)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsWorkspaceCommand configure(boolean skipUnsupported, String[] args)

return:NutsWorkspaceCommand

  • boolean skipUnsupported :
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsWorkspaceCommand copySession()

return:NutsWorkspaceCommand

⚙ run()

execute the command and return this instance

NutsWorkspaceCommand run()

return:NutsWorkspaceCommand

☕ NutsWorkspaceUpdateResult

public interface net.vpc.app.nuts.NutsWorkspaceUpdateResult

Created by vpc on 6/23/17.

\@since 0.5.5 +\@category Commands

🎛 Instance Properties

📄🎛 allResults

[read-only] NutsUpdateResult[] public allResults
public NutsUpdateResult[] getAllResults()

📄🎛 allUpdates

[read-only] NutsUpdateResult[] public allUpdates
public NutsUpdateResult[] getAllUpdates()

📄🎛 api

[read-only] NutsUpdateResult public api
public NutsUpdateResult getApi()

📄🎛 artifacts

[read-only] NutsUpdateResult[] public artifacts
public NutsUpdateResult[] getArtifacts()

📄🎛 extensions

[read-only] NutsUpdateResult[] public extensions
public NutsUpdateResult[] getExtensions()

📄🎛 runtime

[read-only] NutsUpdateResult public runtime
public NutsUpdateResult getRuntime()

📄🎛 updatableApi

[read-only] boolean public updatableApi
public boolean isUpdatableApi()

📄🎛 updatableExtensions

[read-only] boolean public updatableExtensions
public boolean isUpdatableExtensions()

📄🎛 updatableRuntime

[read-only] boolean public updatableRuntime
public boolean isUpdatableRuntime()

📄🎛 updateAvailable

[read-only] boolean public updateAvailable
public boolean isUpdateAvailable()

📄🎛 updatesCount

[read-only] int public updatesCount
public int getUpdatesCount()
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Config/index.html b/docs/docs/javadocs/javadoc_Config/index.html new file mode 100644 index 000000000..f2360e7d0 --- /dev/null +++ b/docs/docs/javadocs/javadoc_Config/index.html @@ -0,0 +1,267 @@ + + + + + + +Config | Nuts + + + + + + + + + + + + +
+

Config

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsAddOptions

public net.vpc.app.nuts.NutsAddOptions

Generic Add options

\@author vpc +\@see NutsWorkspaceConfigManager#addSdk(net.vpc.app.nuts.NutsSdkLocation, +net.vpc.app.nuts.NutsAddOptions) +\@see NutsWorkspaceConfigManager#addCommandAlias(net.vpc.app.nuts.NutsCommandAliasConfig, +net.vpc.app.nuts.NutsAddOptions) +\@see NutsWorkspaceConfigManager#addCommandAliasFactory(net.vpc.app.nuts.NutsCommandAliasFactoryConfig, +net.vpc.app.nuts.NutsAddOptions) +\@since 0.5.4 +\@category Config

🪄 Constructors

🪄 NutsAddOptions()

NutsAddOptions()

🎛 Instance Properties

📝🎛 session

update current session

[read-write] NutsAddOptions public session
public NutsSession getSession()
public NutsAddOptions setSession(session)

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsAddRepositoryOptions

public net.vpc.app.nuts.NutsAddRepositoryOptions

repository creation options +\@author vpc +\@since 0.5.4 +\@category Config

🪄 Constructors

🪄 NutsAddRepositoryOptions()

default constructor

NutsAddRepositoryOptions()

🪄 NutsAddRepositoryOptions(other)

copy constructor

NutsAddRepositoryOptions(NutsAddRepositoryOptions other)
  • NutsAddRepositoryOptions other : other

🎛 Instance Properties

📝🎛 config

repository config information

[read-write] NutsAddRepositoryOptions public config
public NutsRepositoryConfig getConfig()
public NutsAddRepositoryOptions setConfig(value)

📝🎛 create

always create. Throw exception if found

[read-write] NutsAddRepositoryOptions public create
public boolean isCreate()
public NutsAddRepositoryOptions setCreate(value)

📝🎛 deployOrder

repository deploy order

[read-write] NutsAddRepositoryOptions public deployOrder
public int getDeployOrder()
public NutsAddRepositoryOptions setDeployOrder(value)

📝🎛 enabled

enabled repository

[read-write] NutsAddRepositoryOptions public enabled
public boolean isEnabled()
public NutsAddRepositoryOptions setEnabled(value)

📝🎛 failSafe

fail safe repository. when fail safe, repository will be ignored +if the location is not accessible

[read-write] NutsAddRepositoryOptions public failSafe
public boolean isFailSafe()
public NutsAddRepositoryOptions setFailSafe(value)

📝🎛 location

repository location

[read-write] NutsAddRepositoryOptions public location
public String getLocation()
public NutsAddRepositoryOptions setLocation(value)

📝🎛 name

repository name (should no include special space or characters)

[read-write] NutsAddRepositoryOptions public name
public String getName()
public NutsAddRepositoryOptions setName(value)

📝🎛 proxy

create a proxy for the created repository

[read-write] NutsAddRepositoryOptions public proxy
public boolean isProxy()
public NutsAddRepositoryOptions setProxy(value)

📝🎛 session

current session

[read-write] NutsAddRepositoryOptions public session
public NutsSession getSession()
public NutsAddRepositoryOptions setSession(value)

📝🎛 temporary

temporary repository

[read-write] NutsAddRepositoryOptions public temporary
public boolean isTemporary()
public NutsAddRepositoryOptions setTemporary(value)

⚙ Instance Methods

⚙ copy()

create a copy of this instance

NutsAddRepositoryOptions copy()

return:NutsAddRepositoryOptions

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsCommandAliasConfig

public net.vpc.app.nuts.NutsCommandAliasConfig

Command Alias definition class Config +\@author vpc +\@since 0.5.4 +\@category Config

🪄 Constructors

🪄 NutsCommandAliasConfig()

NutsCommandAliasConfig()

🎛 Instance Properties

📝🎛 command

alias command arguments

[read-write] NutsCommandAliasConfig public command
public String[] getCommand()
public NutsCommandAliasConfig setCommand(value)

📝🎛 executorOptions

alias command execution options

[read-write] NutsCommandAliasConfig public executorOptions
public String[] getExecutorOptions()
public NutsCommandAliasConfig setExecutorOptions(value)

📝🎛 factoryId

alias factory id

[read-write] NutsCommandAliasConfig public factoryId
public String getFactoryId()
public NutsCommandAliasConfig setFactoryId(value)

📝🎛 helpCommand

alias help command (command to display help)

[read-write] NutsCommandAliasConfig public helpCommand
public String[] getHelpCommand()
public NutsCommandAliasConfig setHelpCommand(value)

📝🎛 helpText

alias help text (meaningful if helpCommand is not defined)

[read-write] NutsCommandAliasConfig public helpText
public String getHelpText()
public NutsCommandAliasConfig setHelpText(value)

📝🎛 name

alias name

[read-write] NutsCommandAliasConfig public name
public String getName()
public NutsCommandAliasConfig setName(value)

📝🎛 owner

alias definition

[read-write] NutsCommandAliasConfig public owner
public NutsId getOwner()
public NutsCommandAliasConfig setOwner(value)

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsConfigItem

public net.vpc.app.nuts.NutsConfigItem

\@author vpc +\@category Config

🪄 Constructors

🪄 NutsConfigItem()

NutsConfigItem()

🎛 Instance Properties

📄🎛 configVersion

[read-only] String public configVersion
public String getConfigVersion()

⚙ Instance Methods

⚙ setConfigVersion(configVersion)

void setConfigVersion(String configVersion)
  • String configVersion :

☕ NutsDefaultWorkspaceOptions

public final net.vpc.app.nuts.NutsDefaultWorkspaceOptions

Workspace creation/opening options class.

\@since 0.5.4 +\@category Config

📢⚙ Static Methods

📢⚙ createHomeLocationKey(storeLocationLayout, location)

creates a string key combining layout and location. +le key has the form of a concatenated layout and location ids separated by \':\' +where null layout is replaced by \'system\' keyword. +used in {\@link NutsWorkspaceOptions#getHomeLocations()}.

String createHomeLocationKey(NutsOsFamily storeLocationLayout, NutsStoreLocation location)

return:String

  • NutsOsFamily storeLocationLayout : layout
  • NutsStoreLocation location : location

🪄 Constructors

🪄 NutsDefaultWorkspaceOptions()

NutsDefaultWorkspaceOptions()

🪄 NutsDefaultWorkspaceOptions(args)

NutsDefaultWorkspaceOptions(String[] args)
  • String[] args :

🪄 NutsDefaultWorkspaceOptions(other)

NutsDefaultWorkspaceOptions(NutsWorkspaceOptions other)
  • NutsWorkspaceOptions other :

🎛 Instance Properties

📝🎛 apiVersion

set apiVersion

[read-write] NutsWorkspaceOptionsBuilder public apiVersion
public String getApiVersion()
public NutsWorkspaceOptionsBuilder setApiVersion(apiVersion)

📝🎛 applicationArguments

set applicationArguments

[read-write] NutsWorkspaceOptionsBuilder public applicationArguments
public String[] getApplicationArguments()
public NutsWorkspaceOptionsBuilder setApplicationArguments(applicationArguments)

📝🎛 archetype

set archetype

[read-write] NutsWorkspaceOptionsBuilder public archetype
public String getArchetype()
public NutsWorkspaceOptionsBuilder setArchetype(archetype)

📄🎛 bootRepositories

[read-only] String public bootRepositories
public String getBootRepositories()

📄🎛 cached

[read-only] boolean public cached
public boolean isCached()

📝🎛 classLoaderSupplier

set provider

[read-write] NutsWorkspaceOptionsBuilder public classLoaderSupplier
public Supplier getClassLoaderSupplier()
public NutsWorkspaceOptionsBuilder setClassLoaderSupplier(provider)

📝🎛 confirm

set confirm

[read-write] NutsWorkspaceOptionsBuilder public confirm
public NutsConfirmationMode getConfirm()
public NutsWorkspaceOptionsBuilder setConfirm(confirm)

📝🎛 creationTime

set creationTime

[read-write] NutsWorkspaceOptionsBuilder public creationTime
public long getCreationTime()
public NutsWorkspaceOptionsBuilder setCreationTime(creationTime)

📝🎛 credentials

set password

[read-write] NutsWorkspaceOptionsBuilder public credentials
public char[] getCredentials()
public NutsWorkspaceOptionsBuilder setCredentials(credentials)

📝🎛 debug

set debug

[read-write] NutsWorkspaceOptionsBuilder public debug
public boolean isDebug()
public NutsWorkspaceOptionsBuilder setDebug(debug)

📝🎛 dry

set dry

[read-write] NutsWorkspaceOptionsBuilder public dry
public boolean isDry()
public NutsWorkspaceOptionsBuilder setDry(dry)

📝🎛 excludedExtensions

set excludedExtensions

[read-write] NutsWorkspaceOptionsBuilder public excludedExtensions
public String[] getExcludedExtensions()
public NutsWorkspaceOptionsBuilder setExcludedExtensions(excludedExtensions)

📝🎛 excludedRepositories

set excludedRepositories

[read-write] NutsWorkspaceOptionsBuilder public excludedRepositories
public String[] getExcludedRepositories()
public NutsWorkspaceOptionsBuilder setExcludedRepositories(excludedRepositories)

📝🎛 executionType

set executionType

[read-write] NutsWorkspaceOptionsBuilder public executionType
public NutsExecutionType getExecutionType()
public NutsWorkspaceOptionsBuilder setExecutionType(executionType)

📝🎛 executorOptions

set executorOptions

[read-write] NutsWorkspaceOptionsBuilder public executorOptions
public String[] getExecutorOptions()
public NutsWorkspaceOptionsBuilder setExecutorOptions(executorOptions)

📄🎛 executorService

[read-only] ExecutorService public executorService
public ExecutorService getExecutorService()

📄🎛 fetchStrategy

[read-only] NutsFetchStrategy public fetchStrategy
public NutsFetchStrategy getFetchStrategy()

📝🎛 global

set global

[read-write] NutsWorkspaceOptionsBuilder public global
public boolean isGlobal()
public NutsWorkspaceOptionsBuilder setGlobal(global)

📝🎛 gui

set gui

[read-write] NutsWorkspaceOptionsBuilder public gui
public boolean isGui()
public NutsWorkspaceOptionsBuilder setGui(gui)

📄🎛 homeLocation

[read-only] String public homeLocation
public String getHomeLocation(layout, location)

📄🎛 homeLocations

[read-only] Map public homeLocations
public Map getHomeLocations()

📄🎛 indexed

[read-only] boolean public indexed
public boolean isIndexed()

📝🎛 inherited

set inherited

[read-write] NutsWorkspaceOptionsBuilder public inherited
public boolean isInherited()
public NutsWorkspaceOptionsBuilder setInherited(inherited)

📄🎛 javaCommand

[read-only] String public javaCommand
public String getJavaCommand()

📝🎛 javaOptions

set javaOptions

[read-write] NutsWorkspaceOptionsBuilder public javaOptions
public String getJavaOptions()
public NutsWorkspaceOptionsBuilder setJavaOptions(javaOptions)

📝🎛 logConfig

set logConfig

[read-write] NutsWorkspaceOptionsBuilder public logConfig
public NutsLogConfig getLogConfig()
public NutsWorkspaceOptionsBuilder setLogConfig(logConfig)

📝🎛 name

set workspace name

[read-write] NutsWorkspaceOptionsBuilder public name
public String getName()
public NutsWorkspaceOptionsBuilder setName(workspaceName)

📝🎛 openMode

set openMode

[read-write] NutsWorkspaceOptionsBuilder public openMode
public NutsWorkspaceOpenMode getOpenMode()
public NutsWorkspaceOptionsBuilder setOpenMode(openMode)

📝🎛 outputFormat

set outputFormat

[read-write] NutsWorkspaceOptionsBuilder public outputFormat
public NutsOutputFormat getOutputFormat()
public NutsWorkspaceOptionsBuilder setOutputFormat(outputFormat)

📝🎛 outputFormatOptions

set output format options

[read-write] NutsWorkspaceOptionsBuilder public outputFormatOptions
public String[] getOutputFormatOptions()
public NutsWorkspaceOptionsBuilder setOutputFormatOptions(options)

📄🎛 progressOptions

[read-only] String public progressOptions
public String getProgressOptions()

📝🎛 readOnly

set readOnly

[read-write] NutsWorkspaceOptionsBuilder public readOnly
public boolean isReadOnly()
public NutsWorkspaceOptionsBuilder setReadOnly(readOnly)

📝🎛 recover

set recover

[read-write] NutsWorkspaceOptionsBuilder public recover
public boolean isRecover()
public NutsWorkspaceOptionsBuilder setRecover(recover)

📝🎛 repositoryStoreLocationStrategy

set repositoryStoreLocationStrategy

[read-write] NutsWorkspaceOptionsBuilder public repositoryStoreLocationStrategy
public NutsStoreLocationStrategy getRepositoryStoreLocationStrategy()
public NutsWorkspaceOptionsBuilder setRepositoryStoreLocationStrategy(repositoryStoreLocationStrategy)

📝🎛 reset

set reset

[read-write] NutsWorkspaceOptionsBuilder public reset
public boolean isReset()
public NutsWorkspaceOptionsBuilder setReset(reset)

📝🎛 runtimeId

set runtimeId

[read-write] NutsWorkspaceOptionsBuilder public runtimeId
public String getRuntimeId()
public NutsWorkspaceOptionsBuilder setRuntimeId(runtimeId)

📝🎛 skipBoot

set skipWelcome

[read-write] NutsWorkspaceOptionsBuilder public skipBoot
public boolean isSkipBoot()
public NutsWorkspaceOptionsBuilder setSkipBoot(skipBoot)

📝🎛 skipCompanions

set skipInstallCompanions

[read-write] NutsWorkspaceOptionsBuilder public skipCompanions
public boolean isSkipCompanions()
public NutsWorkspaceOptionsBuilder setSkipCompanions(skipInstallCompanions)

📝🎛 skipWelcome

set skipWelcome

[read-write] NutsWorkspaceOptionsBuilder public skipWelcome
public boolean isSkipWelcome()
public NutsWorkspaceOptionsBuilder setSkipWelcome(skipWelcome)

📄🎛 stderr

[read-only] PrintStream public stderr
public PrintStream getStderr()

📄🎛 stdin

[read-only] InputStream public stdin
public InputStream getStdin()

📄🎛 stdout

[read-only] PrintStream public stdout
public PrintStream getStdout()

📄🎛 storeLocation

[read-only] String public storeLocation
public String getStoreLocation(folder)

📝🎛 storeLocationLayout

set storeLocationLayout

[read-write] NutsWorkspaceOptionsBuilder public storeLocationLayout
public NutsOsFamily getStoreLocationLayout()
public NutsWorkspaceOptionsBuilder setStoreLocationLayout(storeLocationLayout)

📝🎛 storeLocationStrategy

set storeLocationStrategy

[read-write] NutsWorkspaceOptionsBuilder public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()
public NutsWorkspaceOptionsBuilder setStoreLocationStrategy(storeLocationStrategy)

📄🎛 storeLocations

[read-only] Map public storeLocations
public Map getStoreLocations()

📝🎛 terminalMode

set terminalMode

[read-write] NutsWorkspaceOptionsBuilder public terminalMode
public NutsTerminalMode getTerminalMode()
public NutsWorkspaceOptionsBuilder setTerminalMode(terminalMode)

📝🎛 trace

set trace

[read-write] NutsWorkspaceOptionsBuilder public trace
public boolean isTrace()
public NutsWorkspaceOptionsBuilder setTrace(trace)

📝🎛 transientRepositories

set transientRepositories

[read-write] NutsWorkspaceOptionsBuilder public transientRepositories
public String[] getTransientRepositories()
public NutsWorkspaceOptionsBuilder setTransientRepositories(transientRepositories)

📄🎛 transitive

[read-only] boolean public transitive
public boolean isTransitive()

📄🎛 userName

[read-only] String public userName
public String getUserName()

✏🎛 username

set login

[write-only] NutsWorkspaceOptionsBuilder public username
public NutsWorkspaceOptionsBuilder setUsername(username)

📝🎛 workspace

set workspace

[read-write] NutsWorkspaceOptionsBuilder public workspace
public String getWorkspace()
public NutsWorkspaceOptionsBuilder setWorkspace(workspace)

⚙ Instance Methods

⚙ addOutputFormatOptions(options)

add output format options

NutsWorkspaceOptionsBuilder addOutputFormatOptions(String[] options)

return:NutsWorkspaceOptionsBuilder

  • String[] options : new value

⚙ copy()

NutsWorkspaceOptionsBuilder copy()

return:NutsWorkspaceOptionsBuilder

⚙ format()

NutsWorkspaceOptionsFormat format()

return:NutsWorkspaceOptionsFormat

⚙ parse(args)

parse arguments

NutsWorkspaceOptionsBuilder parse(String[] args)

return:NutsWorkspaceOptionsBuilder

  • String[] args : arguments

⚙ setBootRepositories(bootRepositories)

NutsWorkspaceOptionsBuilder setBootRepositories(String bootRepositories)

return:NutsWorkspaceOptionsBuilder

  • String bootRepositories :

⚙ setCached(cached)

NutsWorkspaceOptionsBuilder setCached(boolean cached)

return:NutsWorkspaceOptionsBuilder

  • boolean cached :

⚙ setExecutorService(executorService)

NutsWorkspaceOptionsBuilder setExecutorService(ExecutorService executorService)

return:NutsWorkspaceOptionsBuilder

  • ExecutorService executorService :

⚙ setFetchStrategy(fetchStrategy)

NutsWorkspaceOptionsBuilder setFetchStrategy(NutsFetchStrategy fetchStrategy)

return:NutsWorkspaceOptionsBuilder

  • NutsFetchStrategy fetchStrategy :

⚙ setHomeLocation(layout, location, value)

set home location

NutsWorkspaceOptionsBuilder setHomeLocation(NutsOsFamily layout, NutsStoreLocation location, String value)

return:NutsWorkspaceOptionsBuilder

  • NutsOsFamily layout : layout
  • NutsStoreLocation location : location
  • String value : new value

⚙ setHomeLocations(homeLocations)

NutsWorkspaceOptionsBuilder setHomeLocations(Map homeLocations)

return:NutsWorkspaceOptionsBuilder

  • Map homeLocations :

⚙ setIndexed(indexed)

NutsWorkspaceOptionsBuilder setIndexed(boolean indexed)

return:NutsWorkspaceOptionsBuilder

  • boolean indexed :

⚙ setJavaCommand(javaCommand)

NutsWorkspaceOptionsBuilder setJavaCommand(String javaCommand)

return:NutsWorkspaceOptionsBuilder

  • String javaCommand :

⚙ setProgressOptions(progressOptions)

NutsWorkspaceOptionsBuilder setProgressOptions(String progressOptions)

return:NutsWorkspaceOptionsBuilder

  • String progressOptions :

⚙ setStderr(stderr)

NutsWorkspaceOptionsBuilder setStderr(PrintStream stderr)

return:NutsWorkspaceOptionsBuilder

  • PrintStream stderr :

⚙ setStdin(stdin)

NutsWorkspaceOptionsBuilder setStdin(InputStream stdin)

return:NutsWorkspaceOptionsBuilder

  • InputStream stdin :

⚙ setStdout(stdout)

NutsWorkspaceOptionsBuilder setStdout(PrintStream stdout)

return:NutsWorkspaceOptionsBuilder

  • PrintStream stdout :

⚙ setStoreLocation(location, value)

set store location

NutsWorkspaceOptionsBuilder setStoreLocation(NutsStoreLocation location, String value)

return:NutsWorkspaceOptionsBuilder

  • NutsStoreLocation location : location
  • String value : new value

⚙ setStoreLocations(storeLocations)

NutsWorkspaceOptionsBuilder setStoreLocations(Map storeLocations)

return:NutsWorkspaceOptionsBuilder

  • Map storeLocations :

⚙ setTransitive(transitive)

NutsWorkspaceOptionsBuilder setTransitive(boolean transitive)

return:NutsWorkspaceOptionsBuilder

  • boolean transitive :

⚙ toString()

String toString()

return:String

☕ NutsExtensionInformation

public interface net.vpc.app.nuts.NutsExtensionInformation

Extension information +\@author vpc +\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 author

extension main author(s)

[read-only] String public author
public String getAuthor()

📄🎛 category

extension category

[read-only] String public category
public String getCategory()

📄🎛 description

extension long description

[read-only] String public description
public String getDescription()

📄🎛 id

extension id

[read-only] NutsId public id
public NutsId getId()

📄🎛 name

extension user name

[read-only] String public name
public String getName()

📄🎛 source

extension source

[read-only] String public source
public String getSource()

☕ NutsRepositoryConfig

public net.vpc.app.nuts.NutsRepositoryConfig

\@author vpc +\@since 0.5.4 +\@category Config

🪄 Constructors

🪄 NutsRepositoryConfig()

NutsRepositoryConfig()

🎛 Instance Properties

📄🎛 authenticationAgent

[read-only] String public authenticationAgent
public String getAuthenticationAgent()

📄🎛 env

[read-only] Map public env
public Map getEnv()

📄🎛 groups

[read-only] String public groups
public String getGroups()

📄🎛 indexEnabled

[read-only] boolean public indexEnabled
public boolean isIndexEnabled()

📄🎛 location

[read-only] String public location
public String getLocation()

📄🎛 mirrors

[read-only] List public mirrors
public List getMirrors()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 storeLocationStrategy

[read-only] NutsStoreLocationStrategy public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()

📄🎛 storeLocations

[read-only] Map public storeLocations
public Map getStoreLocations()

📄🎛 type

[read-only] String public type
public String getType()

📄🎛 users

[read-only] List public users
public List getUsers()

📄🎛 uuid

[read-only] String public uuid
public String getUuid()

⚙ Instance Methods

⚙ equals(obj)

boolean equals(Object obj)

return:boolean

  • Object obj :

⚙ hashCode()

int hashCode()

return:int

⚙ setAuthenticationAgent(authenticationAgent)

NutsRepositoryConfig setAuthenticationAgent(String authenticationAgent)

return:NutsRepositoryConfig

  • String authenticationAgent :

⚙ setEnv(env)

NutsRepositoryConfig setEnv(Map env)

return:NutsRepositoryConfig

  • Map env :

⚙ setGroups(groups)

NutsRepositoryConfig setGroups(String groups)

return:NutsRepositoryConfig

  • String groups :

⚙ setIndexEnabled(indexEnabled)

NutsRepositoryConfig setIndexEnabled(boolean indexEnabled)

return:NutsRepositoryConfig

  • boolean indexEnabled :

⚙ setLocation(location)

NutsRepositoryConfig setLocation(String location)

return:NutsRepositoryConfig

  • String location :

⚙ setMirrors(mirrors)

NutsRepositoryConfig setMirrors(List mirrors)

return:NutsRepositoryConfig

  • List mirrors :

⚙ setName(name)

NutsRepositoryConfig setName(String name)

return:NutsRepositoryConfig

  • String name :

⚙ setStoreLocationStrategy(storeLocationStrategy)

NutsRepositoryConfig setStoreLocationStrategy(NutsStoreLocationStrategy storeLocationStrategy)

return:NutsRepositoryConfig

  • NutsStoreLocationStrategy storeLocationStrategy :

⚙ setStoreLocations(storeLocations)

NutsRepositoryConfig setStoreLocations(Map storeLocations)

return:NutsRepositoryConfig

  • Map storeLocations :

⚙ setType(type)

NutsRepositoryConfig setType(String type)

return:NutsRepositoryConfig

  • String type :

⚙ setUsers(users)

NutsRepositoryConfig setUsers(List users)

return:NutsRepositoryConfig

  • List users :

⚙ setUuid(uuid)

NutsRepositoryConfig setUuid(String uuid)

return:NutsRepositoryConfig

  • String uuid :

⚙ toString()

String toString()

return:String

☕ NutsRepositoryConfigManager

public interface net.vpc.app.nuts.NutsRepositoryConfigManager

\@author vpc +\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 deployOrder

[read-only] int public deployOrder
public int getDeployOrder()

📄🎛 enabled

[read-only] boolean public enabled
public boolean isEnabled()

📄🎛 env

[read-only] String public env
public String getEnv(key, defaultValue, inherit)

📄🎛 globalName

global name is independent from workspace

[read-only] String public globalName
public String getGlobalName()

📄🎛 groups

[read-only] String public groups
public String getGroups()

📄🎛 indexEnabled

[read-only] boolean public indexEnabled
public boolean isIndexEnabled()

📄🎛 indexSubscribed

[read-only] boolean public indexSubscribed
public boolean isIndexSubscribed()

📄🎛 mirrors

[read-only] NutsRepository[] public mirrors
public NutsRepository[] getMirrors(session)

📄🎛 name

name is the name attributed by the containing workspace. It is defined in +NutsRepositoryRef

[read-only] String public name
public String getName()

📄🎛 speed

[read-only] int public speed
public int getSpeed(session)

📄🎛 storeLocation

[read-only] Path public storeLocation
public Path getStoreLocation(folderType)

📄🎛 storeLocationStrategy

[read-only] NutsStoreLocationStrategy public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()

📄🎛 supportedMirroring

[read-only] boolean public supportedMirroring
public boolean isSupportedMirroring()

📄🎛 temporary

[read-only] boolean public temporary
public boolean isTemporary()

📄🎛 type

[read-only] String public type
public String getType()

📄🎛 uuid

[read-only] String public uuid
public String getUuid()

⚙ Instance Methods

⚙ addMirror(definition)

add new repository

NutsRepository addMirror(NutsRepositoryDefinition definition)

return:NutsRepository

  • NutsRepositoryDefinition definition : repository definition

⚙ addMirror(options)

add new repository

NutsRepository addMirror(NutsAddRepositoryOptions options)

return:NutsRepository

  • NutsAddRepositoryOptions options : repository definition

⚙ findMirror(repositoryIdOrName, session)

search for (or return null) a repository with the given repository name or id.

NutsRepository findMirror(String repositoryIdOrName, NutsSession session)

return:NutsRepository

  • String repositoryIdOrName : repository name or id
  • NutsSession session : session

⚙ findMirrorById(repositoryNameOrId, session)

NutsRepository findMirrorById(String repositoryNameOrId, NutsSession session)

return:NutsRepository

  • String repositoryNameOrId :
  • NutsSession session :

⚙ findMirrorByName(repositoryNameOrId, session)

NutsRepository findMirrorByName(String repositoryNameOrId, NutsSession session)

return:NutsRepository

  • String repositoryNameOrId :
  • NutsSession session :

⚙ getLocation(expand)

return repository configured location as string

String getLocation(boolean expand)

return:String

  • boolean expand : when true, location will be expanded (~ and $ params will +be expanded)

⚙ getMirror(repositoryIdOrName, session)

search for (or throw error) a repository with the given repository name or id.

NutsRepository getMirror(String repositoryIdOrName, NutsSession session)

return:NutsRepository

  • String repositoryIdOrName : repository name or id
  • NutsSession session : session

⚙ name()

String name()

return:String

⚙ removeMirror(repositoryId, options)

NutsRepositoryConfigManager removeMirror(String repositoryId, NutsRemoveOptions options)

return:NutsRepositoryConfigManager

  • String repositoryId : repository id pr id
  • NutsRemoveOptions options : remove options

⚙ save(session)

void save(NutsSession session)
  • NutsSession session :

⚙ save(force, session)

boolean save(boolean force, NutsSession session)

return:boolean

  • boolean force :
  • NutsSession session :

⚙ setEnabled(enabled, options)

NutsRepositoryConfigManager setEnabled(boolean enabled, NutsUpdateOptions options)

return:NutsRepositoryConfigManager

  • boolean enabled :
  • NutsUpdateOptions options :

⚙ setEnv(property, value, options)

void setEnv(String property, String value, NutsUpdateOptions options)
  • String property :
  • String value :
  • NutsUpdateOptions options :

⚙ setIndexEnabled(enabled, options)

NutsRepositoryConfigManager setIndexEnabled(boolean enabled, NutsUpdateOptions options)

return:NutsRepositoryConfigManager

  • boolean enabled :
  • NutsUpdateOptions options :

⚙ setMirrorEnabled(repoName, enabled, options)

NutsRepositoryConfigManager setMirrorEnabled(String repoName, boolean enabled, NutsUpdateOptions options)

return:NutsRepositoryConfigManager

  • String repoName :
  • boolean enabled :
  • NutsUpdateOptions options :

⚙ setTemporary(enabled, options)

NutsRepositoryConfigManager setTemporary(boolean enabled, NutsUpdateOptions options)

return:NutsRepositoryConfigManager

  • boolean enabled :
  • NutsUpdateOptions options :

⚙ subscribeIndex(session)

NutsRepositoryConfigManager subscribeIndex(NutsSession session)

return:NutsRepositoryConfigManager

  • NutsSession session :

⚙ unsubscribeIndex(session)

NutsRepositoryConfigManager unsubscribeIndex(NutsSession session)

return:NutsRepositoryConfigManager

  • NutsSession session :

⚙ uuid()

String uuid()

return:String

☕ NutsRepositoryDefinition

public net.vpc.app.nuts.NutsRepositoryDefinition

\@author vpc +\@since 0.5.4 +\@category Config

📢❄ Constant Fields

📢❄ ORDER_SYSTEM_LOCAL

public static final int ORDER_SYSTEM_LOCAL = 2000

📢❄ ORDER_USER_LOCAL

public static final int ORDER_USER_LOCAL = 1000

📢❄ ORDER_USER_REMOTE

public static final int ORDER_USER_REMOTE = 10000

🪄 Constructors

🪄 NutsRepositoryDefinition()

NutsRepositoryDefinition()

🪄 NutsRepositoryDefinition(o)

NutsRepositoryDefinition(NutsRepositoryDefinition o)
  • NutsRepositoryDefinition o :

🎛 Instance Properties

📄🎛 create

[read-only] boolean public create
public boolean isCreate()

📄🎛 deployOrder

[read-only] int public deployOrder
public int getDeployOrder()

📄🎛 failSafe

[read-only] boolean public failSafe
public boolean isFailSafe()

📄🎛 location

[read-only] String public location
public String getLocation()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 order

[read-only] int public order
public int getOrder()

📄🎛 proxy

[read-only] boolean public proxy
public boolean isProxy()

📄🎛 reference

[read-only] boolean public reference
public boolean isReference()

📄🎛 session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 storeLocationStrategy

[read-only] NutsStoreLocationStrategy public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()

📄🎛 temporary

[read-only] boolean public temporary
public boolean isTemporary()

📄🎛 type

[read-only] String public type
public String getType()

⚙ Instance Methods

⚙ copy()

NutsRepositoryDefinition copy()

return:NutsRepositoryDefinition

⚙ setCreate(create)

NutsRepositoryDefinition setCreate(boolean create)

return:NutsRepositoryDefinition

  • boolean create :

⚙ setDeployOrder(deployPriority)

NutsRepositoryDefinition setDeployOrder(int deployPriority)

return:NutsRepositoryDefinition

  • int deployPriority :

⚙ setFailSafe(failSafe)

NutsRepositoryDefinition setFailSafe(boolean failSafe)

return:NutsRepositoryDefinition

  • boolean failSafe :

⚙ setLocation(location)

NutsRepositoryDefinition setLocation(String location)

return:NutsRepositoryDefinition

  • String location :

⚙ setName(name)

NutsRepositoryDefinition setName(String name)

return:NutsRepositoryDefinition

  • String name :

⚙ setOrder(order)

NutsRepositoryDefinition setOrder(int order)

return:NutsRepositoryDefinition

  • int order :

⚙ setProxy(proxy)

NutsRepositoryDefinition setProxy(boolean proxy)

return:NutsRepositoryDefinition

  • boolean proxy :

⚙ setReference(reference)

NutsRepositoryDefinition setReference(boolean reference)

return:NutsRepositoryDefinition

  • boolean reference :

⚙ setSession(session)

NutsRepositoryDefinition setSession(NutsSession session)

return:NutsRepositoryDefinition

  • NutsSession session :

⚙ setStoreLocationStrategy(storeLocationStrategy)

NutsRepositoryDefinition setStoreLocationStrategy(NutsStoreLocationStrategy storeLocationStrategy)

return:NutsRepositoryDefinition

  • NutsStoreLocationStrategy storeLocationStrategy :

⚙ setTemporary(temporary)

void setTemporary(boolean temporary)
  • boolean temporary :

⚙ setType(type)

NutsRepositoryDefinition setType(String type)

return:NutsRepositoryDefinition

  • String type :

⚙ toString()

String toString()

return:String

☕ NutsSdkLocation

public net.vpc.app.nuts.NutsSdkLocation

SDK location +\@author vpc +\@since 0.5.4 +\@category Config

📢❄ Constant Fields

📢❄ serialVersionUID

public static final long serialVersionUID = 2L

🪄 Constructors

🪄 NutsSdkLocation(id, product, name, path, version, packaging)

default constructor

NutsSdkLocation(NutsId id, String product, String name, String path, String version, String packaging)
  • NutsId id : id
  • String product : sdk product. In java this is Oracle JDK or OpenJDK.
  • String name : sdk name
  • String path : sdk path
  • String version : sdk version
  • String packaging : sdk packaging. for Java SDK this is room to set JRE or JDK.

🎛 Instance Properties

📄🎛 id

[read-only] NutsId public id
public NutsId getId()

📄🎛 name

sdk name

[read-only] String public name
public String getName()

📄🎛 packaging

sdk packaging. for Java SDK this +is room to set JRE or JDK.

[read-only] String public packaging
public String getPackaging()

📄🎛 path

sdk path

[read-only] String public path
public String getPath()

📄🎛 product

sdk product. In java this is +Oracle JDK or OpenJDK.

[read-only] String public product
public String getProduct()

📄🎛 version

sdk version

[read-only] String public version
public String getVersion()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsUpdateStatisticsCommand

public interface net.vpc.app.nuts.NutsUpdateStatisticsCommand

\@author vpc +\@since 0.5.5 +\@category Config

🎛 Instance Properties

✏🎛 session

update session

[write-only] NutsUpdateStatisticsCommand public session
public NutsUpdateStatisticsCommand setSession(session)

⚙ Instance Methods

⚙ add(repoOrPath)

add path if repoOrPath is a path (contains path separator or is \'.\' or \'..\') +if not add repo name or id

void add(String repoOrPath)
  • String repoOrPath : repo uuid, name or path

⚙ addPath(s)

NutsUpdateStatisticsCommand addPath(Path s)

return:NutsUpdateStatisticsCommand

  • Path s :

⚙ addPaths(all)

NutsUpdateStatisticsCommand addPaths(Path[] all)

return:NutsUpdateStatisticsCommand

  • Path[] all :

⚙ addPaths(all)

NutsUpdateStatisticsCommand addPaths(Collection all)

return:NutsUpdateStatisticsCommand

  • Collection all :

⚙ addRepo(s)

NutsUpdateStatisticsCommand addRepo(String s)

return:NutsUpdateStatisticsCommand

  • String s :

⚙ addRepos(all)

NutsUpdateStatisticsCommand addRepos(String[] all)

return:NutsUpdateStatisticsCommand

  • String[] all :

⚙ addRepos(all)

NutsUpdateStatisticsCommand addRepos(Collection all)

return:NutsUpdateStatisticsCommand

  • Collection all :

⚙ clearPaths()

NutsUpdateStatisticsCommand clearPaths()

return:NutsUpdateStatisticsCommand

⚙ clearRepos()

NutsUpdateStatisticsCommand clearRepos()

return:NutsUpdateStatisticsCommand

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsUpdateStatisticsCommand configure(boolean skipUnsupported, String[] args)

return:NutsUpdateStatisticsCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsUpdateStatisticsCommand copySession()

return:NutsUpdateStatisticsCommand

⚙ path(s)

NutsUpdateStatisticsCommand path(Path s)

return:NutsUpdateStatisticsCommand

  • Path s :

⚙ removePath(s)

NutsUpdateStatisticsCommand removePath(Path s)

return:NutsUpdateStatisticsCommand

  • Path s :

⚙ removeRepo(s)

NutsUpdateStatisticsCommand removeRepo(String s)

return:NutsUpdateStatisticsCommand

  • String s :

⚙ repo(s)

NutsUpdateStatisticsCommand repo(String s)

return:NutsUpdateStatisticsCommand

  • String s :

⚙ run()

execute the command and return this instance

NutsUpdateStatisticsCommand run()

return:NutsUpdateStatisticsCommand

☕ NutsUser

public interface net.vpc.app.nuts.NutsUser

Effective (including inherited) user information +\@author vpc +\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 groups

user groups

[read-only] String[] public groups
public String[] getGroups()

📄🎛 inheritedPermissions

user inherited allowed permissions

[read-only] String[] public inheritedPermissions
public String[] getInheritedPermissions()

📄🎛 permissions

user allowed permissions

[read-only] String[] public permissions
public String[] getPermissions()

📄🎛 remoteIdentity

return remote identity if applicable

[read-only] String public remoteIdentity
public String getRemoteIdentity()

📄🎛 user

return user name

[read-only] String public user
public String getUser()

⚙ Instance Methods

⚙ hasCredentials()

true if the use has some credentials

boolean hasCredentials()

return:boolean

☕ NutsUserConfig

public final net.vpc.app.nuts.NutsUserConfig

\@author vpc +\@since 0.5.4 +\@category Config

🪄 Constructors

🪄 NutsUserConfig()

NutsUserConfig()

🪄 NutsUserConfig(other)

NutsUserConfig(NutsUserConfig other)
  • NutsUserConfig other :

🪄 NutsUserConfig(user, credentials, groups, permissions)

NutsUserConfig(String user, String credentials, String[] groups, String[] permissions)
  • String user :
  • String credentials :
  • String[] groups :
  • String[] permissions :

🎛 Instance Properties

📄🎛 credentials

[read-only] String public credentials
public String getCredentials()

📄🎛 groups

[read-only] String[] public groups
public String[] getGroups()

📄🎛 permissions

[read-only] String[] public permissions
public String[] getPermissions()

📄🎛 remoteCredentials

[read-only] String public remoteCredentials
public String getRemoteCredentials()

📄🎛 remoteIdentity

[read-only] String public remoteIdentity
public String getRemoteIdentity()

📄🎛 user

[read-only] String public user
public String getUser()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ setCredentials(credentials)

void setCredentials(String credentials)
  • String credentials :

⚙ setGroups(groups)

void setGroups(String[] groups)
  • String[] groups :

⚙ setPermissions(permissions)

void setPermissions(String[] permissions)
  • String[] permissions :

⚙ setRemoteCredentials(remoteCredentials)

void setRemoteCredentials(String remoteCredentials)
  • String remoteCredentials :

⚙ setRemoteIdentity(remoteIdentity)

void setRemoteIdentity(String remoteIdentity)
  • String remoteIdentity :

⚙ setUser(user)

void setUser(String user)
  • String user :

⚙ toString()

String toString()

return:String

☕ NutsWorkspaceCommandAlias

public interface net.vpc.app.nuts.NutsWorkspaceCommandAlias

\@author vpc +\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 command

[read-only] String[] public command
public String[] getCommand()

📄🎛 executorOptions

[read-only] String[] public executorOptions
public String[] getExecutorOptions()

📄🎛 factoryId

[read-only] String public factoryId
public String getFactoryId()

📄🎛 helpText

[read-only] String public helpText
public String getHelpText()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 owner

[read-only] NutsId public owner
public NutsId getOwner()

⚙ Instance Methods

⚙ dryExec(args, options, session)

void dryExec(String[] args, NutsCommandExecOptions options, NutsSession session)
  • String[] args :
  • NutsCommandExecOptions options :
  • NutsSession session :

⚙ exec(args, options, session)

void exec(String[] args, NutsCommandExecOptions options, NutsSession session)
  • String[] args :
  • NutsCommandExecOptions options :
  • NutsSession session :

☕ NutsWorkspaceCommandFactory

public interface net.vpc.app.nuts.NutsWorkspaceCommandFactory

\@author vpc +\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 factoryId

[read-only] String public factoryId
public String getFactoryId()

📄🎛 priority

[read-only] int public priority
public int getPriority()

⚙ Instance Methods

⚙ configure(config)

void configure(NutsCommandAliasFactoryConfig config)
  • NutsCommandAliasFactoryConfig config :

⚙ findCommand(name, workspace)

NutsCommandAliasConfig findCommand(String name, NutsWorkspace workspace)

return:NutsCommandAliasConfig

  • String name :
  • NutsWorkspace workspace :

⚙ findCommands(workspace)

List findCommands(NutsWorkspace workspace)

return:List

  • NutsWorkspace workspace :

☕ NutsWorkspaceConfigManager

public interface net.vpc.app.nuts.NutsWorkspaceConfigManager

\@author vpc +\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 apiId

[read-only] NutsId public apiId
public NutsId getApiId()

📄🎛 apiVersion

[read-only] String public apiVersion
public String getApiVersion()

📄🎛 arch

[read-only] NutsId public arch
public NutsId getArch()

📄🎛 availableArchetypes

[read-only] Set public availableArchetypes
public Set getAvailableArchetypes(session)

📄🎛 bootClassLoader

[read-only] ClassLoader public bootClassLoader
public ClassLoader getBootClassLoader()

📄🎛 bootClassWorldURLs

[read-only] URL[] public bootClassWorldURLs
public URL[] getBootClassWorldURLs()

📄🎛 bootRepositories

[read-only] String public bootRepositories
public String getBootRepositories()

📄🎛 commandFactories

[read-only] NutsCommandAliasFactoryConfig[] public commandFactories
public NutsCommandAliasFactoryConfig[] getCommandFactories(session)

📄🎛 creationFinishTimeMillis

[read-only] long public creationFinishTimeMillis
public long getCreationFinishTimeMillis()

📄🎛 creationStartTimeMillis

[read-only] long public creationStartTimeMillis
public long getCreationStartTimeMillis()

📄🎛 creationTimeMillis

[read-only] long public creationTimeMillis
public long getCreationTimeMillis()

📄🎛 defaultIdBasedir

[read-only] String public defaultIdBasedir
public String getDefaultIdBasedir(id)

📄🎛 defaultIdContentExtension

[read-only] String public defaultIdContentExtension
public String getDefaultIdContentExtension(packaging)

📄🎛 defaultIdExtension

[read-only] String public defaultIdExtension
public String getDefaultIdExtension(id)

📄🎛 defaultIdFilename

[read-only] String public defaultIdFilename
public String getDefaultIdFilename(id)

📄🎛 defaultRepositories

[read-only] NutsRepositoryDefinition[] public defaultRepositories
public NutsRepositoryDefinition[] getDefaultRepositories()

📄🎛 env

[read-only] String public env
public String getEnv(property, defaultValue)

📄🎛 global

[read-only] boolean public global
public boolean isGlobal()

📄🎛 homeLocation

[read-only] Path public homeLocation
public Path getHomeLocation(layout, location)

📄🎛 homeLocations

all home locations key/value map where keys are in the form +"osfamily:location" and values are absolute paths.

[read-only] Map public homeLocations
public Map getHomeLocations()

📄🎛 imports

[read-only] Set public imports
public Set getImports()

📄🎛 indexStoreClientFactory

[read-only] NutsIndexStoreFactory public indexStoreClientFactory
public NutsIndexStoreFactory getIndexStoreClientFactory()

📄🎛 javaCommand

[read-only] String public javaCommand
public String getJavaCommand()

📄🎛 javaOptions

[read-only] String public javaOptions
public String getJavaOptions()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 options

[read-only] NutsWorkspaceOptions public options
public NutsWorkspaceOptions getOptions()

📄🎛 os

[read-only] NutsId public os
public NutsId getOs()

📄🎛 osDist

[read-only] NutsId public osDist
public NutsId getOsDist()

📄🎛 osFamily

[read-only] NutsOsFamily public osFamily
public NutsOsFamily getOsFamily()

📄🎛 platform

[read-only] NutsId public platform
public NutsId getPlatform()

📄🎛 readOnly

[read-only] boolean public readOnly
public boolean isReadOnly()

📄🎛 repositories

[read-only] NutsRepository[] public repositories
public NutsRepository[] getRepositories(session)

📄🎛 repository

[read-only] NutsRepository public repository
public NutsRepository getRepository(repositoryIdOrName, session)

📄🎛 repositoryRefs

[read-only] NutsRepositoryRef[] public repositoryRefs
public NutsRepositoryRef[] getRepositoryRefs(session)

📄🎛 repositoryStoreLocationStrategy

[read-only] NutsStoreLocationStrategy public repositoryStoreLocationStrategy
public NutsStoreLocationStrategy getRepositoryStoreLocationStrategy()

📄🎛 runtimeId

[read-only] NutsId public runtimeId
public NutsId getRuntimeId()

📄🎛 sdk

[read-only] NutsSdkLocation public sdk
public NutsSdkLocation getSdk(sdkType, requestedVersion, session)

📄🎛 sdkTypes

[read-only] String[] public sdkTypes
public String[] getSdkTypes()

📄🎛 sdks

[read-only] NutsSdkLocation[] public sdks
public NutsSdkLocation[] getSdks(sdkType, session)

📄🎛 storeLocation

[read-only] Path public storeLocation
public Path getStoreLocation(id, folderType)

📄🎛 storeLocationLayout

[read-only] NutsOsFamily public storeLocationLayout
public NutsOsFamily getStoreLocationLayout()

📄🎛 storeLocationStrategy

[read-only] NutsStoreLocationStrategy public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()

📄🎛 storeLocations

all home locations key/value map where keys are in the form "location" +and values are absolute paths.

[read-only] Map public storeLocations
public Map getStoreLocations()

📄🎛 supportedRepositoryType

[read-only] boolean public supportedRepositoryType
public boolean isSupportedRepositoryType(repositoryType)

📄🎛 uuid

[read-only] String public uuid
public String getUuid()

📄🎛 workspaceLocation

[read-only] Path public workspaceLocation
public Path getWorkspaceLocation()

⚙ Instance Methods

⚙ addCommandAlias(command, options)

boolean addCommandAlias(NutsCommandAliasConfig command, NutsAddOptions options)

return:boolean

  • NutsCommandAliasConfig command :
  • NutsAddOptions options :

⚙ addCommandAliasFactory(commandFactory, options)

void addCommandAliasFactory(NutsCommandAliasFactoryConfig commandFactory, NutsAddOptions options)
  • NutsCommandAliasFactoryConfig commandFactory :
  • NutsAddOptions options :

⚙ addImports(importExpression, options)

void addImports(String[] importExpression, NutsAddOptions options)
  • String[] importExpression :
  • NutsAddOptions options :

⚙ addRepository(definition)

NutsRepository addRepository(NutsRepositoryDefinition definition)

return:NutsRepository

  • NutsRepositoryDefinition definition :

⚙ addRepository(options)

NutsRepository addRepository(NutsAddRepositoryOptions options)

return:NutsRepository

  • NutsAddRepositoryOptions options :

⚙ addRepository(repository, session)

add temporary repository

NutsRepository addRepository(NutsRepositoryModel repository, NutsSession session)

return:NutsRepository

  • NutsRepositoryModel repository : temporary repository
  • NutsSession session : session

⚙ addRepository(repositoryNamedUrl, session)

creates a new repository from the given {\@code repositoryNamedUrl}.

Accepted {\@code repositoryNamedUrl} values are : +\<ul> +\<li>\'local\' : corresponds to a local updatable repository. will be named +\'local\'\</li> +\<li>\'m2\', \'.m2\', \'maven-local\' : corresponds the local maven folder +repository. will be named \'local\'\</li> +\<li>\'maven-central\': corresponds the remote maven central repository. +will be named \'local\'\</li> +\<li>\'maven-git\', \'vpc-public-maven\': corresponds the remote maven +vpc-public-maven git folder repository. will be named \'local\'\</li> +\<li>\'maven-git\', \'vpc-public-nuts\': corresponds the remote nuts +vpc-public-nuts git folder repository. will be named \'local\'\</li> +\<li>name=uri-or-path : corresponds the given uri. will be named name. +Here are some examples: +\<ul> +\<li>myremote=http://192.168.6.3/folder\</li> +\<li>myremote=/folder/subfolder\</li> +\<li>myremote=c:/folder/subfolder\</li> +\</ul> +\</li> +\<li>uri-or-path : corresponds the given uri. will be named uri\'s last +path component name. Here are some examples: +\<ul> +\<li>http://192.168.6.3/folder : will be named \'folder\'\</li> +\<li>myremote=/folder/subfolder : will be named \'folder\'\</li> +\<li>myremote=c:/folder/subfolder : will be named \'folder\'\</li> +\</ul> +\</li> +\</ul>

NutsRepository addRepository(String repositoryNamedUrl, NutsSession session)

return:NutsRepository

  • String repositoryNamedUrl : repositoryNamedUrl
  • NutsSession session :

⚙ addSdk(location, options)

boolean addSdk(NutsSdkLocation location, NutsAddOptions options)

return:boolean

  • NutsSdkLocation location :
  • NutsAddOptions options :

⚙ createContentFaceId(id, desc)

NutsId createContentFaceId(NutsId id, NutsDescriptor desc)

return:NutsId

  • NutsId id :
  • NutsDescriptor desc :

⚙ createRepository(options, rootFolder, parentRepository)

NutsRepository createRepository(NutsAddRepositoryOptions options, Path rootFolder, NutsRepository parentRepository)

return:NutsRepository

  • NutsAddRepositoryOptions options :
  • Path rootFolder :
  • NutsRepository parentRepository :

⚙ createWorkspaceListManager(name, session)

NutsWorkspaceListManager createWorkspaceListManager(String name, NutsSession session)

return:NutsWorkspaceListManager

  • String name :
  • NutsSession session :

⚙ findCommandAlias(name, session)

NutsWorkspaceCommandAlias findCommandAlias(String name, NutsSession session)

return:NutsWorkspaceCommandAlias

  • String name :
  • NutsSession session :

⚙ findCommandAlias(name, forId, forOwner, session)

return alias definition for given name id and owner.

NutsWorkspaceCommandAlias findCommandAlias(String name, NutsId forId, NutsId forOwner, NutsSession session)

return:NutsWorkspaceCommandAlias

  • String name : alias name, not null
  • NutsId forId : if not null, the alias name should resolve to the given id
  • NutsId forOwner : if not null, the alias name should resolve to the owner
  • NutsSession session : session

⚙ findCommandAliases(session)

List findCommandAliases(NutsSession session)

return:List

  • NutsSession session :

⚙ findCommandAliases(id, session)

List findCommandAliases(NutsId id, NutsSession session)

return:List

  • NutsId id :
  • NutsSession session :

⚙ findRepository(repositoryIdOrName, session)

NutsRepository findRepository(String repositoryIdOrName, NutsSession session)

return:NutsRepository

  • String repositoryIdOrName : repository id or name
  • NutsSession session : session

⚙ findRepositoryById(repositoryIdOrName, session)

NutsRepository findRepositoryById(String repositoryIdOrName, NutsSession session)

return:NutsRepository

  • String repositoryIdOrName :
  • NutsSession session :

⚙ findRepositoryByName(repositoryIdOrName, session)

NutsRepository findRepositoryByName(String repositoryIdOrName, NutsSession session)

return:NutsRepository

  • String repositoryIdOrName :
  • NutsSession session :

⚙ findSdk(sdkType, location, session)

NutsSdkLocation findSdk(String sdkType, NutsSdkLocation location, NutsSession session)

return:NutsSdkLocation

  • String sdkType :
  • NutsSdkLocation location :
  • NutsSession session :

⚙ findSdkByName(sdkType, locationName, session)

NutsSdkLocation findSdkByName(String sdkType, String locationName, NutsSession session)

return:NutsSdkLocation

  • String sdkType :
  • String locationName :
  • NutsSession session :

⚙ findSdkByPath(sdkType, path, session)

NutsSdkLocation findSdkByPath(String sdkType, Path path, NutsSession session)

return:NutsSdkLocation

  • String sdkType :
  • Path path :
  • NutsSession session :

⚙ findSdkByVersion(sdkType, version, session)

NutsSdkLocation findSdkByVersion(String sdkType, String version, NutsSession session)

return:NutsSdkLocation

  • String sdkType :
  • String version :
  • NutsSession session :

⚙ name()

String name()

return:String

⚙ options()

NutsWorkspaceOptions options()

return:NutsWorkspaceOptions

⚙ removeAllImports(options)

void removeAllImports(NutsRemoveOptions options)
  • NutsRemoveOptions options :

⚙ removeCommandAlias(name, options)

boolean removeCommandAlias(String name, NutsRemoveOptions options)

return:boolean

  • String name :
  • NutsRemoveOptions options :

⚙ removeCommandAliasFactory(name, options)

boolean removeCommandAliasFactory(String name, NutsRemoveOptions options)

return:boolean

  • String name :
  • NutsRemoveOptions options :

⚙ removeImports(importExpression, options)

void removeImports(String[] importExpression, NutsRemoveOptions options)
  • String[] importExpression :
  • NutsRemoveOptions options :

⚙ removeRepository(locationOrRepositoryId, options)

NutsWorkspaceConfigManager removeRepository(String locationOrRepositoryId, NutsRemoveOptions options)

return:NutsWorkspaceConfigManager

  • String locationOrRepositoryId :
  • NutsRemoveOptions options :

⚙ removeSdk(location, options)

NutsSdkLocation removeSdk(NutsSdkLocation location, NutsRemoveOptions options)

return:NutsSdkLocation

  • NutsSdkLocation location :
  • NutsRemoveOptions options :

⚙ resolveRepositoryPath(repositoryLocation)

Path resolveRepositoryPath(String repositoryLocation)

return:Path

  • String repositoryLocation :

⚙ resolveSdkLocation(sdkType, path, preferredName, session)

verify if the path is a valid sdk path and return null if not

NutsSdkLocation resolveSdkLocation(String sdkType, Path path, String preferredName, NutsSession session)

return:NutsSdkLocation

  • String sdkType : sdk type
  • Path path : sdk path
  • String preferredName : preferredName
  • NutsSession session : session

⚙ save(session)

void save(NutsSession session)
  • NutsSession session :

⚙ save(force, session)

save config file if force is activated or non read only and some changes +was detected in config file

boolean save(boolean force, NutsSession session)

return:boolean

  • boolean force : when true, save will always be performed
  • NutsSession session : session

⚙ searchSdkLocations(sdkType, session)

NutsSdkLocation[] searchSdkLocations(String sdkType, NutsSession session)

return:NutsSdkLocation[]

  • String sdkType :
  • NutsSession session :

⚙ searchSdkLocations(sdkType, path, session)

NutsSdkLocation[] searchSdkLocations(String sdkType, Path path, NutsSession session)

return:NutsSdkLocation[]

  • String sdkType :
  • Path path :
  • NutsSession session :

⚙ setEnv(property, value, options)

void setEnv(String property, String value, NutsUpdateOptions options)
  • String property :
  • String value :
  • NutsUpdateOptions options :

⚙ setHomeLocation(layout, folderType, location, options)

void setHomeLocation(NutsOsFamily layout, NutsStoreLocation folderType, String location, NutsUpdateOptions options)
  • NutsOsFamily layout :
  • NutsStoreLocation folderType :
  • String location :
  • NutsUpdateOptions options :

⚙ setImports(imports, options)

void setImports(String[] imports, NutsUpdateOptions options)
  • String[] imports :
  • NutsUpdateOptions options :

⚙ setStoreLocation(folderType, location, options)

void setStoreLocation(NutsStoreLocation folderType, String location, NutsUpdateOptions options)
  • NutsStoreLocation folderType :
  • String location :
  • NutsUpdateOptions options :

⚙ setStoreLocationLayout(layout, options)

void setStoreLocationLayout(NutsOsFamily layout, NutsUpdateOptions options)
  • NutsOsFamily layout :
  • NutsUpdateOptions options :

⚙ setStoreLocationStrategy(strategy, options)

void setStoreLocationStrategy(NutsStoreLocationStrategy strategy, NutsUpdateOptions options)
  • NutsStoreLocationStrategy strategy :
  • NutsUpdateOptions options :

⚙ stored()

NutsWorkspaceStoredConfig stored()

return:NutsWorkspaceStoredConfig

☕ NutsWorkspaceListConfig

public net.vpc.app.nuts.NutsWorkspaceListConfig

Class for managing a Workspace list

\@author Nasreddine Bac Ali +date 2019-03-02 +\@since 0.5.4 +\@category Config

🪄 Constructors

🪄 NutsWorkspaceListConfig()

NutsWorkspaceListConfig()

🪄 NutsWorkspaceListConfig(other)

NutsWorkspaceListConfig(NutsWorkspaceListConfig other)
  • NutsWorkspaceListConfig other :

🪄 NutsWorkspaceListConfig(uuid, name)

NutsWorkspaceListConfig(String uuid, String name)
  • String uuid :
  • String name :

🎛 Instance Properties

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 uuid

[read-only] String public uuid
public String getUuid()

📄🎛 workspaces

[read-only] List public workspaces
public List getWorkspaces()

⚙ Instance Methods

⚙ setName(name)

NutsWorkspaceListConfig setName(String name)

return:NutsWorkspaceListConfig

  • String name :

⚙ setUuid(uuid)

NutsWorkspaceListConfig setUuid(String uuid)

return:NutsWorkspaceListConfig

  • String uuid :

⚙ setWorkspaces(workspaces)

void setWorkspaces(List workspaces)
  • List workspaces :

⚙ toString()

String toString()

return:String

☕ NutsWorkspaceListManager

public interface net.vpc.app.nuts.NutsWorkspaceListManager

Class for managing a Workspace list

\@author Nasreddine Bac Ali +date 2019-03-02 +\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 config

[read-only] NutsWorkspaceListConfig public config
public NutsWorkspaceListConfig getConfig()

📄🎛 workspaceLocation

[read-only] NutsWorkspaceLocation public workspaceLocation
public NutsWorkspaceLocation getWorkspaceLocation(uuid)

📄🎛 workspaces

[read-only] List public workspaces
public List getWorkspaces()

⚙ Instance Methods

⚙ addWorkspace(path)

NutsWorkspace addWorkspace(String path)

return:NutsWorkspace

  • String path :

⚙ removeWorkspace(name)

boolean removeWorkspace(String name)

return:boolean

  • String name :

⚙ save()

void save()

⚙ setConfig(config)

NutsWorkspaceListManager setConfig(NutsWorkspaceListConfig config)

return:NutsWorkspaceListManager

  • NutsWorkspaceListConfig config :

☕ NutsWorkspaceLocation

public net.vpc.app.nuts.NutsWorkspaceLocation

Class for managing a Workspace list

\@author Nasreddine Bac Ali +date 2019-03-02 +\@since 0.5.4 +\@category Config

🪄 Constructors

🪄 NutsWorkspaceLocation()

NutsWorkspaceLocation()

🪄 NutsWorkspaceLocation(other)

NutsWorkspaceLocation(NutsWorkspaceLocation other)
  • NutsWorkspaceLocation other :

🪄 NutsWorkspaceLocation(uuid, name, location)

NutsWorkspaceLocation(String uuid, String name, String location)
  • String uuid :
  • String name :
  • String location :

🎛 Instance Properties

📄🎛 enabled

[read-only] boolean public enabled
public boolean isEnabled()

📄🎛 location

[read-only] String public location
public String getLocation()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 uuid

[read-only] String public uuid
public String getUuid()

⚙ Instance Methods

⚙ copy()

NutsWorkspaceLocation copy()

return:NutsWorkspaceLocation

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ setEnabled(enabled)

NutsWorkspaceLocation setEnabled(boolean enabled)

return:NutsWorkspaceLocation

  • boolean enabled :

⚙ setLocation(location)

NutsWorkspaceLocation setLocation(String location)

return:NutsWorkspaceLocation

  • String location :

⚙ setName(name)

NutsWorkspaceLocation setName(String name)

return:NutsWorkspaceLocation

  • String name :

⚙ setUuid(uuid)

NutsWorkspaceLocation setUuid(String uuid)

return:NutsWorkspaceLocation

  • String uuid :

⚙ toString()

String toString()

return:String

☕ NutsWorkspaceOpenMode

public final net.vpc.app.nuts.NutsWorkspaceOpenMode

\@author vpc +\@since 0.5.4 +\@category Config

📢❄ Constant Fields

📢❄ CREATE_NEW

public static final NutsWorkspaceOpenMode CREATE_NEW

📢❄ OPEN_EXISTING

public static final NutsWorkspaceOpenMode OPEN_EXISTING

📢❄ OPEN_OR_CREATE

public static final NutsWorkspaceOpenMode OPEN_OR_CREATE

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsWorkspaceOpenMode valueOf(String name)

return:NutsWorkspaceOpenMode

  • String name :

📢⚙ values()

NutsWorkspaceOpenMode[] values()

return:NutsWorkspaceOpenMode[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsWorkspaceOptions

public interface net.vpc.app.nuts.NutsWorkspaceOptions

Workspace options class that holds command argument information.

\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 apiVersion

nuts api version to boot. +\<p> +\<strong>option-type :\</strong> exported (inherited in child +workspaces)

[read-only] String public apiVersion
public String getApiVersion()

📄🎛 applicationArguments

application arguments. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] String[] public applicationArguments
public String[] getApplicationArguments()

📄🎛 archetype

workspace archetype to consider when creating a new workspace. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime)

[read-only] String public archetype
public String getArchetype()

📄🎛 bootRepositories

boot repositories \';\' separated

\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] String public bootRepositories
public String getBootRepositories()

📄🎛 cached

when true, use cache +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public cached
public boolean isCached()

📄🎛 classLoaderSupplier

class loader supplier. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] Supplier public classLoaderSupplier
public Supplier getClassLoaderSupplier()

📄🎛 confirm

confirm mode. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] NutsConfirmationMode public confirm
public NutsConfirmationMode getConfirm()

📄🎛 creationTime

workspace creation evaluated time. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] long public creationTime
public long getCreationTime()

📄🎛 credentials

credential needed to log into workspace. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] char[] public credentials
public char[] getCredentials()

📄🎛 debug

if true, extra debug information is written to standard output. +Particularly, exception stack traces are displayed instead of simpler messages. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] boolean public debug
public boolean isDebug()

📄🎛 dry

if true no real execution, wil dry exec (execute without side effect). +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] boolean public dry
public boolean isDry()

📄🎛 excludedExtensions

extensions to be excluded when opening the workspace. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String[] public excludedExtensions
public String[] getExcludedExtensions()

📄🎛 excludedRepositories

repository list to be excluded when opening the workspace. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String[] public excludedRepositories
public String[] getExcludedRepositories()

📄🎛 executionType

execution type. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] NutsExecutionType public executionType
public NutsExecutionType getExecutionType()

📄🎛 executorOptions

extra executor options. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] String[] public executorOptions
public String[] getExecutorOptions()

📄🎛 executorService

executor service used to create worker threads. when null, use default. +this option cannot be defined via arguments.

\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] ExecutorService public executorService
public ExecutorService getExecutorService()

📄🎛 fetchStrategy

default fetch strategy +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] NutsFetchStrategy public fetchStrategy
public NutsFetchStrategy getFetchStrategy()

📄🎛 global

if true consider global/system repository +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public global
public boolean isGlobal()

📄🎛 gui

if true consider GUI/Swing mode +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public gui
public boolean isGui()

📄🎛 homeLocations

return home locations. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime).

[read-only] Map public homeLocations
public Map getHomeLocations()

📄🎛 indexed

when true, use index +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public indexed
public boolean isIndexed()

📄🎛 inherited

if true, workspace were invoked from parent process and hence inherits its options. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] boolean public inherited
public boolean isInherited()

📄🎛 javaCommand

java command (or java home) used to run workspace. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String public javaCommand
public String getJavaCommand()

📄🎛 javaOptions

java options used to run workspace. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String public javaOptions
public String getJavaOptions()

📄🎛 logConfig

workspace log configuration. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] NutsLogConfig public logConfig
public NutsLogConfig getLogConfig()

📄🎛 name

user friendly workspace name. +\<p> +\<strong>option-type :\</strong> exported (inherited in child +workspaces)

[read-only] String public name
public String getName()

📄🎛 openMode

mode used to open workspace. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] NutsWorkspaceOpenMode public openMode
public NutsWorkspaceOpenMode getOpenMode()

📄🎛 outputFormat

default output format type. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] NutsOutputFormat public outputFormat
public NutsOutputFormat getOutputFormat()

📄🎛 outputFormatOptions

default output formation options. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String[] public outputFormatOptions
public String[] getOutputFormatOptions()

📄🎛 progressOptions

return progress options string. +progress options configures how progress monitors are processed. +\'no\' value means that progress is disabled. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String public progressOptions
public String getProgressOptions()

📄🎛 readOnly

if true, workspace configuration are non modifiable. +However cache stills modifiable so that it is possible to load external libraries. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public readOnly
public boolean isReadOnly()

📄🎛 recover

if true, boot, cache and temp folder are deleted. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] boolean public recover
public boolean isRecover()

📄🎛 repositoryStoreLocationStrategy

repository store location strategy to consider when creating new repositories +for a new workspace. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime)

[read-only] NutsStoreLocationStrategy public repositoryStoreLocationStrategy
public NutsStoreLocationStrategy getRepositoryStoreLocationStrategy()

📄🎛 reset

if true, workspace will be reset (all configuration and runtime files deleted). +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] boolean public reset
public boolean isReset()

📄🎛 runtimeId

nuts runtime id (or version) to boot.

\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String public runtimeId
public String getRuntimeId()

📄🎛 skipBoot

if true, do not bootstrap workspace after reset/recover. +When reset/recover is not active this option is not accepted and an error will be thrown +\<p> +defaults to false. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] boolean public skipBoot
public boolean isSkipBoot()

📄🎛 skipCompanions

if true, do not install nuts companion tools upon workspace creation. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public skipCompanions
public boolean isSkipCompanions()

📄🎛 skipWelcome

if true, do not run welcome when no application arguments were resolved. +\<p> +defaults to false. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public skipWelcome
public boolean isSkipWelcome()

📄🎛 stderr

default standard error. when null, use {\@code System.err} +this option cannot be defined via arguments.

\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] PrintStream public stderr
public PrintStream getStderr()

📄🎛 stdin

default standard input. when null, use {\@code System.in} +this option cannot be defined via arguments.

\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] InputStream public stdin
public InputStream getStdin()

📄🎛 stdout

default standard output. when null, use {\@code System.out} +this option cannot be defined via arguments.

\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[read-only] PrintStream public stdout
public PrintStream getStdout()

📄🎛 storeLocationLayout

store location layout to consider when creating a new workspace. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime)

[read-only] NutsOsFamily public storeLocationLayout
public NutsOsFamily getStoreLocationLayout()

📄🎛 storeLocationStrategy

store location strategy for creating a new workspace. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime)

[read-only] NutsStoreLocationStrategy public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()

📄🎛 storeLocations

store locations map to consider when creating a new workspace. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime)

[read-only] Map public storeLocations
public Map getStoreLocations()

📄🎛 terminalMode

terminal mode (inherited, formatted, filtered) to use. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] NutsTerminalMode public terminalMode
public NutsTerminalMode getTerminalMode()

📄🎛 trace

when true, extra trace user-friendly information is written to standard output. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public trace
public boolean isTrace()

📄🎛 transientRepositories

repositories to register temporarily when running the workspace. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String[] public transientRepositories
public String[] getTransientRepositories()

📄🎛 transitive

when true, use transitive repositories +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] boolean public transitive
public boolean isTransitive()

📄🎛 userName

username to log into when running workspace. +\<p> +\<strong>option-type :\</strong> exported (inherited in child workspaces)

[read-only] String public userName
public String getUserName()

📄🎛 workspace

workspace folder location path. +\<p> +\<strong>option-type :\</strong> exported (inherited in child +workspaces)

[read-only] String public workspace
public String getWorkspace()

⚙ Instance Methods

⚙ copy()

create a \<strong>mutable\</strong> copy of this instance

NutsWorkspaceOptionsBuilder copy()

return:NutsWorkspaceOptionsBuilder

⚙ format()

create a new instance of options formatter that help formatting this instance.

NutsWorkspaceOptionsFormat format()

return:NutsWorkspaceOptionsFormat

⚙ getHomeLocation(layout, location)

return home location. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime).

String getHomeLocation(NutsOsFamily layout, NutsStoreLocation location)

return:String

  • NutsOsFamily layout : layout
  • NutsStoreLocation location : location

⚙ getStoreLocation(folder)

store location for the given folder. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime)

String getStoreLocation(NutsStoreLocation folder)

return:String

  • NutsStoreLocation folder : folder type

☕ NutsWorkspaceOptionsBuilder

public interface net.vpc.app.nuts.NutsWorkspaceOptionsBuilder

Mutable Workspace options +\@category Config

🎛 Instance Properties

✏🎛 homeLocations

set home locations. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime).

[write-only] NutsWorkspaceOptionsBuilder public homeLocations
public NutsWorkspaceOptionsBuilder setHomeLocations(homeLocations)

✏🎛 skipBoot

if true, do not bootstrap workspace after reset/recover. +When reset/recover is not active this option is not accepted and an error will be thrown +\<p> +defaults to false. +\<p> +\<strong>option-type :\</strong> runtime (available only for the current workspace instance)

[write-only] NutsWorkspaceOptionsBuilder public skipBoot
public NutsWorkspaceOptionsBuilder setSkipBoot(skipBoot)

✏🎛 storeLocations

set store location strategy for creating a new workspace. +\<p> +\<strong>option-type :\</strong> create (used when creating new workspace. will not be +exported nor promoted to runtime)

[write-only] NutsWorkspaceOptionsBuilder public storeLocations
public NutsWorkspaceOptionsBuilder setStoreLocations(storeLocations)

⚙ Instance Methods

⚙ addOutputFormatOptions(options)

NutsWorkspaceOptionsBuilder addOutputFormatOptions(String[] options)

return:NutsWorkspaceOptionsBuilder

  • String[] options :

⚙ setApiVersion(apiVersion)

NutsWorkspaceOptionsBuilder setApiVersion(String apiVersion)

return:NutsWorkspaceOptionsBuilder

  • String apiVersion :

⚙ setApplicationArguments(applicationArguments)

NutsWorkspaceOptionsBuilder setApplicationArguments(String[] applicationArguments)

return:NutsWorkspaceOptionsBuilder

  • String[] applicationArguments :

⚙ setArchetype(archetype)

NutsWorkspaceOptionsBuilder setArchetype(String archetype)

return:NutsWorkspaceOptionsBuilder

  • String archetype :

⚙ setBootRepositories(bootRepositories)

NutsWorkspaceOptionsBuilder setBootRepositories(String bootRepositories)

return:NutsWorkspaceOptionsBuilder

  • String bootRepositories :

⚙ setCached(cached)

NutsWorkspaceOptionsBuilder setCached(boolean cached)

return:NutsWorkspaceOptionsBuilder

  • boolean cached :

⚙ setClassLoaderSupplier(provider)

NutsWorkspaceOptionsBuilder setClassLoaderSupplier(Supplier provider)

return:NutsWorkspaceOptionsBuilder

  • Supplier provider :

⚙ setConfirm(confirm)

NutsWorkspaceOptionsBuilder setConfirm(NutsConfirmationMode confirm)

return:NutsWorkspaceOptionsBuilder

  • NutsConfirmationMode confirm :

⚙ setCreationTime(creationTime)

NutsWorkspaceOptionsBuilder setCreationTime(long creationTime)

return:NutsWorkspaceOptionsBuilder

  • long creationTime :

⚙ setCredentials(credentials)

NutsWorkspaceOptionsBuilder setCredentials(char[] credentials)

return:NutsWorkspaceOptionsBuilder

  • char[] credentials :

⚙ setDebug(debug)

NutsWorkspaceOptionsBuilder setDebug(boolean debug)

return:NutsWorkspaceOptionsBuilder

  • boolean debug :

⚙ setDry(dry)

NutsWorkspaceOptionsBuilder setDry(boolean dry)

return:NutsWorkspaceOptionsBuilder

  • boolean dry :

⚙ setExcludedExtensions(excludedExtensions)

NutsWorkspaceOptionsBuilder setExcludedExtensions(String[] excludedExtensions)

return:NutsWorkspaceOptionsBuilder

  • String[] excludedExtensions :

⚙ setExcludedRepositories(excludedRepositories)

NutsWorkspaceOptionsBuilder setExcludedRepositories(String[] excludedRepositories)

return:NutsWorkspaceOptionsBuilder

  • String[] excludedRepositories :

⚙ setExecutionType(executionType)

NutsWorkspaceOptionsBuilder setExecutionType(NutsExecutionType executionType)

return:NutsWorkspaceOptionsBuilder

  • NutsExecutionType executionType :

⚙ setExecutorOptions(executorOptions)

NutsWorkspaceOptionsBuilder setExecutorOptions(String[] executorOptions)

return:NutsWorkspaceOptionsBuilder

  • String[] executorOptions :

⚙ setExecutorService(executorService)

NutsWorkspaceOptionsBuilder setExecutorService(ExecutorService executorService)

return:NutsWorkspaceOptionsBuilder

  • ExecutorService executorService :

⚙ setFetchStrategy(fetchStrategy)

NutsWorkspaceOptionsBuilder setFetchStrategy(NutsFetchStrategy fetchStrategy)

return:NutsWorkspaceOptionsBuilder

  • NutsFetchStrategy fetchStrategy :

⚙ setGlobal(global)

NutsWorkspaceOptionsBuilder setGlobal(boolean global)

return:NutsWorkspaceOptionsBuilder

  • boolean global :

⚙ setGui(gui)

NutsWorkspaceOptionsBuilder setGui(boolean gui)

return:NutsWorkspaceOptionsBuilder

  • boolean gui :

⚙ setHomeLocation(layout, location, value)

NutsWorkspaceOptionsBuilder setHomeLocation(NutsOsFamily layout, NutsStoreLocation location, String value)

return:NutsWorkspaceOptionsBuilder

  • NutsOsFamily layout :
  • NutsStoreLocation location :
  • String value :

⚙ setIndexed(indexed)

NutsWorkspaceOptionsBuilder setIndexed(boolean indexed)

return:NutsWorkspaceOptionsBuilder

  • boolean indexed :

⚙ setInherited(inherited)

NutsWorkspaceOptionsBuilder setInherited(boolean inherited)

return:NutsWorkspaceOptionsBuilder

  • boolean inherited :

⚙ setJavaCommand(javaCommand)

NutsWorkspaceOptionsBuilder setJavaCommand(String javaCommand)

return:NutsWorkspaceOptionsBuilder

  • String javaCommand :

⚙ setJavaOptions(javaOptions)

NutsWorkspaceOptionsBuilder setJavaOptions(String javaOptions)

return:NutsWorkspaceOptionsBuilder

  • String javaOptions :

⚙ setLogConfig(logConfig)

NutsWorkspaceOptionsBuilder setLogConfig(NutsLogConfig logConfig)

return:NutsWorkspaceOptionsBuilder

  • NutsLogConfig logConfig :

⚙ setName(workspaceName)

NutsWorkspaceOptionsBuilder setName(String workspaceName)

return:NutsWorkspaceOptionsBuilder

  • String workspaceName :

⚙ setOpenMode(openMode)

NutsWorkspaceOptionsBuilder setOpenMode(NutsWorkspaceOpenMode openMode)

return:NutsWorkspaceOptionsBuilder

  • NutsWorkspaceOpenMode openMode :

⚙ setOutputFormat(outputFormat)

NutsWorkspaceOptionsBuilder setOutputFormat(NutsOutputFormat outputFormat)

return:NutsWorkspaceOptionsBuilder

  • NutsOutputFormat outputFormat :

⚙ setOutputFormatOptions(options)

NutsWorkspaceOptionsBuilder setOutputFormatOptions(String[] options)

return:NutsWorkspaceOptionsBuilder

  • String[] options :

⚙ setProgressOptions(progressOptions)

NutsWorkspaceOptionsBuilder setProgressOptions(String progressOptions)

return:NutsWorkspaceOptionsBuilder

  • String progressOptions :

⚙ setReadOnly(readOnly)

NutsWorkspaceOptionsBuilder setReadOnly(boolean readOnly)

return:NutsWorkspaceOptionsBuilder

  • boolean readOnly :

⚙ setRecover(recover)

NutsWorkspaceOptionsBuilder setRecover(boolean recover)

return:NutsWorkspaceOptionsBuilder

  • boolean recover :

⚙ setRepositoryStoreLocationStrategy(repositoryStoreLocationStrategy)

NutsWorkspaceOptionsBuilder setRepositoryStoreLocationStrategy(NutsStoreLocationStrategy repositoryStoreLocationStrategy)

return:NutsWorkspaceOptionsBuilder

  • NutsStoreLocationStrategy repositoryStoreLocationStrategy :

⚙ setReset(reset)

NutsWorkspaceOptionsBuilder setReset(boolean reset)

return:NutsWorkspaceOptionsBuilder

  • boolean reset :

⚙ setRuntimeId(runtimeId)

NutsWorkspaceOptionsBuilder setRuntimeId(String runtimeId)

return:NutsWorkspaceOptionsBuilder

  • String runtimeId :

⚙ setSkipCompanions(skipInstallCompanions)

NutsWorkspaceOptionsBuilder setSkipCompanions(boolean skipInstallCompanions)

return:NutsWorkspaceOptionsBuilder

  • boolean skipInstallCompanions :

⚙ setSkipWelcome(skipWelcome)

NutsWorkspaceOptionsBuilder setSkipWelcome(boolean skipWelcome)

return:NutsWorkspaceOptionsBuilder

  • boolean skipWelcome :

⚙ setStderr(stderr)

NutsWorkspaceOptionsBuilder setStderr(PrintStream stderr)

return:NutsWorkspaceOptionsBuilder

  • PrintStream stderr :

⚙ setStdin(stdin)

NutsWorkspaceOptionsBuilder setStdin(InputStream stdin)

return:NutsWorkspaceOptionsBuilder

  • InputStream stdin :

⚙ setStdout(stdout)

NutsWorkspaceOptionsBuilder setStdout(PrintStream stdout)

return:NutsWorkspaceOptionsBuilder

  • PrintStream stdout :

⚙ setStoreLocation(location, value)

NutsWorkspaceOptionsBuilder setStoreLocation(NutsStoreLocation location, String value)

return:NutsWorkspaceOptionsBuilder

  • NutsStoreLocation location :
  • String value :

⚙ setStoreLocationLayout(storeLocationLayout)

NutsWorkspaceOptionsBuilder setStoreLocationLayout(NutsOsFamily storeLocationLayout)

return:NutsWorkspaceOptionsBuilder

  • NutsOsFamily storeLocationLayout :

⚙ setStoreLocationStrategy(storeLocationStrategy)

NutsWorkspaceOptionsBuilder setStoreLocationStrategy(NutsStoreLocationStrategy storeLocationStrategy)

return:NutsWorkspaceOptionsBuilder

  • NutsStoreLocationStrategy storeLocationStrategy :

⚙ setTerminalMode(terminalMode)

NutsWorkspaceOptionsBuilder setTerminalMode(NutsTerminalMode terminalMode)

return:NutsWorkspaceOptionsBuilder

  • NutsTerminalMode terminalMode :

⚙ setTrace(trace)

NutsWorkspaceOptionsBuilder setTrace(boolean trace)

return:NutsWorkspaceOptionsBuilder

  • boolean trace :

⚙ setTransientRepositories(transientRepositories)

NutsWorkspaceOptionsBuilder setTransientRepositories(String[] transientRepositories)

return:NutsWorkspaceOptionsBuilder

  • String[] transientRepositories :

⚙ setTransitive(transitive)

NutsWorkspaceOptionsBuilder setTransitive(boolean transitive)

return:NutsWorkspaceOptionsBuilder

  • boolean transitive :

⚙ setUsername(username)

NutsWorkspaceOptionsBuilder setUsername(String username)

return:NutsWorkspaceOptionsBuilder

  • String username :

⚙ setWorkspace(workspace)

NutsWorkspaceOptionsBuilder setWorkspace(String workspace)

return:NutsWorkspaceOptionsBuilder

  • String workspace :

☕ NutsWorkspaceStoredConfig

public interface net.vpc.app.nuts.NutsWorkspaceStoredConfig

Nuts read-only configuration

\@author vpc +\@since 0.5.4 +\@category Config

🎛 Instance Properties

📄🎛 apiId

[read-only] NutsId public apiId
public NutsId getApiId()

📄🎛 bootRepositories

[read-only] String public bootRepositories
public String getBootRepositories()

📄🎛 global

[read-only] boolean public global
public boolean isGlobal()

📄🎛 homeLocation

[read-only] String public homeLocation
public String getHomeLocation(layout, location)

📄🎛 homeLocations

all home locations key/value map where keys are in the form +"osfamily:location" and values are absolute paths.

[read-only] Map public homeLocations
public Map getHomeLocations()

📄🎛 javaCommand

[read-only] String public javaCommand
public String getJavaCommand()

📄🎛 javaOptions

[read-only] String public javaOptions
public String getJavaOptions()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 repositoryStoreLocationStrategy

[read-only] NutsStoreLocationStrategy public repositoryStoreLocationStrategy
public NutsStoreLocationStrategy getRepositoryStoreLocationStrategy()

📄🎛 runtimeDependencies

[read-only] String public runtimeDependencies
public String getRuntimeDependencies()

📄🎛 runtimeId

[read-only] NutsId public runtimeId
public NutsId getRuntimeId()

📄🎛 storeLocation

[read-only] String public storeLocation
public String getStoreLocation(folderType)

📄🎛 storeLocationLayout

[read-only] NutsOsFamily public storeLocationLayout
public NutsOsFamily getStoreLocationLayout()

📄🎛 storeLocationStrategy

[read-only] NutsStoreLocationStrategy public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()

📄🎛 storeLocations

all home locations key/value map where keys are in the form "location" +and values are absolute paths.

[read-only] Map public storeLocations
public Map getStoreLocations()
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Constants/index.html b/docs/docs/javadocs/javadoc_Constants/index.html new file mode 100644 index 000000000..b2d0b329d --- /dev/null +++ b/docs/docs/javadocs/javadoc_Constants/index.html @@ -0,0 +1,37 @@ + + + + + + +Constants | Nuts + + + + + + + + + + + + +
+

Constants

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsConstants

public final net.vpc.app.nuts.NutsConstants

Common Nuts constants. Represents various constants used in runtime +implementation. +\<p> +Created by vpc on 1/14/17.

\@since 0.1.0 +\@category Constants

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Descriptor/index.html b/docs/docs/javadocs/javadoc_Descriptor/index.html new file mode 100644 index 000000000..b59c6242b --- /dev/null +++ b/docs/docs/javadocs/javadoc_Descriptor/index.html @@ -0,0 +1,184 @@ + + + + + + +Descriptor | Nuts + + + + + + + + + + + + +
+

Descriptor

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsClassifierMapping

public interface net.vpc.app.nuts.NutsClassifierMapping

classifier selector immutable class. +Nuts can select artifact classifier according to filters based on arch, os, os dist and platform. +This class defines the mapping to classifier to consider if all the filters. +When multiple selectors match, the first on prevails. +\@since 0.5.7 +\@category Descriptor

🎛 Instance Properties

📄🎛 arch

arch list filter. +al least one of the list must match.

[read-only] String[] public arch
public String[] getArch()

📄🎛 classifier

classifier to select

[read-only] String public classifier
public String getClassifier()

📄🎛 os

os list filter. +al least one of the list must match.

[read-only] String[] public os
public String[] getOs()

📄🎛 osdist

os distribution list filter. +al least one of the list must match.

[read-only] String[] public osdist
public String[] getOsdist()

📄🎛 packaging

packaging to select

[read-only] String public packaging
public String getPackaging()

📄🎛 platform

platform list filter. +al least one of the list must match.

[read-only] String[] public platform
public String[] getPlatform()

☕ NutsClassifierMappingBuilder

public interface net.vpc.app.nuts.NutsClassifierMappingBuilder

classifier selector builder class. +Nuts can select artifact classifier according to filters based on arch, os, os dist and platform. +This class defines the mapping to classifier to consider if all the filters. +When multiple selectors match, the first on prevails.

\@since 0.5.7 +\@category Descriptor

🎛 Instance Properties

📝🎛 arch

set archs

[read-write] NutsClassifierMappingBuilder public arch
public String[] getArch()
public NutsClassifierMappingBuilder setArch(value)

📝🎛 classifier

set classifier

[read-write] NutsClassifierMappingBuilder public classifier
public String getClassifier()
public NutsClassifierMappingBuilder setClassifier(value)

📝🎛 os

set oses

[read-write] NutsClassifierMappingBuilder public os
public String[] getOs()
public NutsClassifierMappingBuilder setOs(value)

📝🎛 osdist

set os dists

[read-write] NutsClassifierMappingBuilder public osdist
public String[] getOsdist()
public NutsClassifierMappingBuilder setOsdist(value)

📝🎛 packaging

set packaging

[read-write] NutsClassifierMappingBuilder public packaging
public String getPackaging()
public NutsClassifierMappingBuilder setPackaging(value)

📝🎛 platform

set platforms

[read-write] NutsClassifierMappingBuilder public platform
public String[] getPlatform()
public NutsClassifierMappingBuilder setPlatform(value)

⚙ Instance Methods

⚙ build()

create new instance of {\@link NutsClassifierMapping} initialized with this builder\'s values.

NutsClassifierMapping build()

return:NutsClassifierMapping

⚙ clear()

clear all values / reset builder

NutsClassifierMappingBuilder clear()

return:NutsClassifierMappingBuilder

⚙ set(value)

copy all values from the given builder

NutsClassifierMappingBuilder set(NutsClassifierMappingBuilder value)

return:NutsClassifierMappingBuilder

  • NutsClassifierMappingBuilder value : builder to copy from

⚙ set(value)

copy all values from the given instance

NutsClassifierMappingBuilder set(NutsClassifierMapping value)

return:NutsClassifierMappingBuilder

  • NutsClassifierMapping value : instance to copy from

☕ NutsContent

public interface net.vpc.app.nuts.NutsContent

Content describes a artifact file location and its characteristics. +\@author vpc +\@since 0.5.4 +\@category Descriptor

🎛 Instance Properties

📄🎛 cached

when true, the content was retrieved from cache rather then from remote location.

[read-only] boolean public cached
public boolean isCached()

📄🎛 path

artifact local path

[read-only] Path public path
public Path getPath()

📄🎛 temporary

when true, the path location is temporary and should be deleted after usage

[read-only] boolean public temporary
public boolean isTemporary()

☕ NutsDefaultContent

public net.vpc.app.nuts.NutsDefaultContent

Default Content implementation. +\@author vpc +\@since 0.5.4 +\@category Descriptor

🪄 Constructors

🪄 NutsDefaultContent(file, cached, temporary)

Default Content implementation constructor

NutsDefaultContent(Path file, boolean cached, boolean temporary)
  • Path file : content file path
  • boolean cached : true if the file is cached (may be not up to date)
  • boolean temporary : true if file is temporary (should be deleted later)

🎛 Instance Properties

📄🎛 cached

true if the file is cached (may be not up to date)

[read-only] boolean public cached
public boolean isCached()

📄🎛 path

content path location

[read-only] Path public path
public Path getPath()

📄🎛 temporary

true if file is temporary (should be deleted later)

[read-only] boolean public temporary
public boolean isTemporary()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsDependency

public interface net.vpc.app.nuts.NutsDependency

NutsDependency is an \<strong>immutable\</strong> object that contains all information about a component\'s dependency. +\@author vpc +\@since 0.5.3 +\@category Descriptor

🎛 Instance Properties

📄🎛 artifactId

return artifact id (aka artifactId)

[read-only] String public artifactId
public String getArtifactId()

📄🎛 classifier

get classifier string value (may be $ var)

[read-only] String public classifier
public String getClassifier()

📄🎛 exclusions

dependency exclusions

[read-only] NutsId[] public exclusions
public NutsId[] getExclusions()

📄🎛 fullName

return dependency full name in the form +namespace://group:name#version?scope=<scope>{\@code &}optional=<optional>

[read-only] String public fullName
public String getFullName()

📄🎛 groupId

return artifact group id (aka groupId in maven)

[read-only] String public groupId
public String getGroupId()

📄🎛 id

convert to NutsId

[read-only] NutsId public id
public NutsId getId()

📄🎛 longName

return dependency full name in the form +group:name#version

[read-only] String public longName
public String getLongName()

📄🎛 namespace

return namespace

[read-only] String public namespace
public String getNamespace()

📄🎛 optional

Indicates the dependency is optional for use of this library.

[read-only] String public optional
public String getOptional()

📄🎛 properties

properties in the url query form

[read-only] Map public properties
public Map getProperties()

📄🎛 propertiesQuery

properties in the url query form

[read-only] String public propertiesQuery
public String getPropertiesQuery()

📄🎛 scope

get scope string value (may be $ var).

[read-only] String public scope
public String getScope()

📄🎛 simpleName

return dependency full name in the form +group:name

[read-only] String public simpleName
public String getSimpleName()

📄🎛 version

return dependency version

[read-only] NutsVersion public version
public NutsVersion getVersion()

⚙ Instance Methods

⚙ builder()

return mutable id builder instance initialized with {\@code this} instance.

NutsDependencyBuilder builder()

return:NutsDependencyBuilder

☕ NutsDependencyBuilder

public interface net.vpc.app.nuts.NutsDependencyBuilder

Dependency Builder (mutable). +User should use available \'set\' method and finally call {\@link #build()} +to get an instance of immutable NutsDependency

\@author vpc +\@since 0.5.4 +\@category Descriptor

🎛 Instance Properties

📝🎛 artifactId

set name value

[read-write] NutsDependencyBuilder public artifactId
public String getArtifactId()
public NutsDependencyBuilder setArtifactId(artifactId)

📝🎛 classifier

set classifier value

[read-write] NutsDependencyBuilder public classifier
public String getClassifier()
public NutsDependencyBuilder setClassifier(classifier)

✏🎛 dependency

reset this instance with value

[write-only] NutsDependencyBuilder public dependency
public NutsDependencyBuilder setDependency(value)

📝🎛 exclusions

set exclusions value

[read-write] NutsDependencyBuilder public exclusions
public NutsId[] getExclusions()
public NutsDependencyBuilder setExclusions(exclusions)

📄🎛 fullName

return full name

[read-only] String public fullName
public String getFullName()

📝🎛 groupId

set group value

[read-write] NutsDependencyBuilder public groupId
public String getGroupId()
public NutsDependencyBuilder setGroupId(groupId)

📝🎛 id

set id value

[read-write] NutsDependencyBuilder public id
public NutsId getId()
public NutsDependencyBuilder setId(id)

📝🎛 namespace

set namespace value

[read-write] NutsDependencyBuilder public namespace
public String getNamespace()
public NutsDependencyBuilder setNamespace(namespace)

📝🎛 optional

set optional value

[read-write] NutsDependencyBuilder public optional
public String getOptional()
public NutsDependencyBuilder setOptional(optional)

📄🎛 properties

[read-only] Map public properties
public Map getProperties()

📄🎛 propertiesQuery

[read-only] String public propertiesQuery
public String getPropertiesQuery()

📝🎛 scope

set scope value

[read-write] NutsDependencyBuilder public scope
public String getScope()
public NutsDependencyBuilder setScope(scope)

📝🎛 version

set version value

[read-write] NutsDependencyBuilder public version
public NutsVersion getVersion()
public NutsDependencyBuilder setVersion(version)

⚙ Instance Methods

⚙ addProperties(propertiesQuery)

NutsDependencyBuilder addProperties(String propertiesQuery)

return:NutsDependencyBuilder

  • String propertiesQuery :

⚙ addProperties(queryMap)

NutsDependencyBuilder addProperties(Map queryMap)

return:NutsDependencyBuilder

  • Map queryMap :

⚙ build()

build new instance of NutsDependencies

NutsDependency build()

return:NutsDependency

⚙ clear()

reset this instance

NutsDependencyBuilder clear()

return:NutsDependencyBuilder

⚙ set(value)

reset this instance with value

NutsDependencyBuilder set(NutsDependencyBuilder value)

return:NutsDependencyBuilder

  • NutsDependencyBuilder value : new value

⚙ set(value)

reset this instance with value

NutsDependencyBuilder set(NutsDependency value)

return:NutsDependencyBuilder

  • NutsDependency value : new value

⚙ setProperties(propertiesQuery)

NutsDependencyBuilder setProperties(String propertiesQuery)

return:NutsDependencyBuilder

  • String propertiesQuery :

⚙ setProperties(queryMap)

NutsDependencyBuilder setProperties(Map queryMap)

return:NutsDependencyBuilder

  • Map queryMap :

⚙ setProperty(property, value)

NutsDependencyBuilder setProperty(String property, String value)

return:NutsDependencyBuilder

  • String property :
  • String value :

☕ NutsDependencyFilter

public interface net.vpc.app.nuts.NutsDependencyFilter

Dependency filter

\@since 0.5.4 +\@category Descriptor

⚙ Instance Methods

⚙ accept(from, dependency, session)

return true if the {\@code dependency} is accepted

boolean accept(NutsId from, NutsDependency dependency, NutsSession session)

return:boolean

  • NutsId from : parent (dependent) id
  • NutsDependency dependency : dependency id
  • NutsSession session : session

☕ NutsDependencyScope

public final net.vpc.app.nuts.NutsDependencyScope

Supported dependency scope lists +\@author vpc +\@since 0.5.4 +\@category Descriptor

📢❄ Constant Fields

📢❄ API

public static final NutsDependencyScope API

📢❄ IMPLEMENTATION

public static final NutsDependencyScope IMPLEMENTATION

📢❄ IMPORT

public static final NutsDependencyScope IMPORT

📢❄ OTHER

public static final NutsDependencyScope OTHER

📢❄ PROVIDED

public static final NutsDependencyScope PROVIDED

📢❄ RUNTIME

public static final NutsDependencyScope RUNTIME

📢❄ SYSTEM

public static final NutsDependencyScope SYSTEM

📢❄ TEST_COMPILE

public static final NutsDependencyScope TEST_COMPILE

📢❄ TEST_PROVIDED

public static final NutsDependencyScope TEST_PROVIDED

📢❄ TEST_RUNTIME

public static final NutsDependencyScope TEST_RUNTIME

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsDependencyScope valueOf(String name)

return:NutsDependencyScope

  • String name :

📢⚙ values()

NutsDependencyScope[] values()

return:NutsDependencyScope[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsDependencyScopePattern

public final net.vpc.app.nuts.NutsDependencyScopePattern

Supported dependency scope pattern. +A dependency scope pattern +\@author vpc +\@since 0.5.6 +\@category Descriptor

📢❄ Constant Fields

📢❄ ALL

public static final NutsDependencyScopePattern ALL

📢❄ API

public static final NutsDependencyScopePattern API

📢❄ COMPILE

public static final NutsDependencyScopePattern COMPILE

📢❄ IMPLEMENTATION

public static final NutsDependencyScopePattern IMPLEMENTATION

📢❄ IMPORT

public static final NutsDependencyScopePattern IMPORT

📢❄ OTHER

public static final NutsDependencyScopePattern OTHER

📢❄ PROVIDED

public static final NutsDependencyScopePattern PROVIDED

📢❄ RUN

public static final NutsDependencyScopePattern RUN

📢❄ RUNTIME

public static final NutsDependencyScopePattern RUNTIME

📢❄ RUN_TEST

public static final NutsDependencyScopePattern RUN_TEST

📢❄ SYSTEM

public static final NutsDependencyScopePattern SYSTEM

📢❄ TEST

public static final NutsDependencyScopePattern TEST

📢❄ TEST_COMPILE

public static final NutsDependencyScopePattern TEST_COMPILE

📢❄ TEST_PROVIDED

public static final NutsDependencyScopePattern TEST_PROVIDED

📢❄ TEST_RUNTIME

public static final NutsDependencyScopePattern TEST_RUNTIME

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsDependencyScopePattern valueOf(String name)

return:NutsDependencyScopePattern

  • String name :

📢⚙ values()

NutsDependencyScopePattern[] values()

return:NutsDependencyScopePattern[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsDependencyTreeNode

public interface net.vpc.app.nuts.NutsDependencyTreeNode

Dependency tree node +\@author vpc +\@since 0.5.5 +\@category Descriptor

🎛 Instance Properties

📄🎛 children

node children

[read-only] NutsDependencyTreeNode[] public children
public NutsDependencyTreeNode[] getChildren()

📄🎛 dependency

node dependency

[read-only] NutsDependency public dependency
public NutsDependency getDependency()

📄🎛 partial

true if the node is partial filled (not all children are considered)

[read-only] boolean public partial
public boolean isPartial()

☕ NutsDescriptor

public interface net.vpc.app.nuts.NutsDescriptor

Nuts descriptors define an \<strong>immutable\</strong> image to all information needed to execute an artifact. +It resembles to maven\'s pom file but it focuses on execution information +rather then build information. Common features are inheritance +dependencies, standard dependencies, exclusions and properties. +However nuts descriptor adds new features such as : +\<ul> +\<li>multiple parent inheritance\</li> +\<li>executable/nuts-executable flag\</li> +\<li>environment (arch, os, dist,platform) filters\</li> +\<li>classifiers may be mapped to environment (think of dlls for windows and so for linux)\</li> +\</ul> +A versatile way to change descriptor is to use builder ({\@link #builder()}).

\@since 0.1.0 +\@category Descriptor

🎛 Instance Properties

📄🎛 application

true if the artifact is a java executable that implements {\@link NutsApplication} interface.

[read-only] boolean public application
public boolean isApplication()

📄🎛 arch

supported archs. if empty, all arch are supported (for example for java, all arch are supported).

[read-only] String[] public arch
public String[] getArch()

📄🎛 classifierMappings

ordered list of classifier mapping used to resolve valid classifier to use of ra given environment.

[read-only] NutsClassifierMapping[] public classifierMappings
public NutsClassifierMapping[] getClassifierMappings()

📄🎛 dependencies

list of immediate (non inherited and non transitive dependencies

[read-only] NutsDependency[] public dependencies
public NutsDependency[] getDependencies()

📄🎛 description

long description for the artifact

[read-only] String public description
public String getDescription()

📄🎛 executable

true if the artifact is executable and is considered an application. if not it is a library.

[read-only] boolean public executable
public boolean isExecutable()

📄🎛 executor

descriptor of artifact responsible of running this artifact

[read-only] NutsArtifactCall public executor
public NutsArtifactCall getExecutor()

📄🎛 id

artifact full id (groupId+artifactId+version)

[read-only] NutsId public id
public NutsId getId()

📄🎛 installer

descriptor of artifact responsible of installing this artifact

[read-only] NutsArtifactCall public installer
public NutsArtifactCall getInstaller()

📄🎛 locations

list of available mirror locations from which nuts can download artifact content. +location can be mapped to a classifier.

[read-only] NutsIdLocation[] public locations
public NutsIdLocation[] getLocations()

📄🎛 name

user friendly name, a short description for the artifact

[read-only] String public name
public String getName()

📄🎛 os

supported operating systems. if empty, all oses are supported (for example for java, all arch are supported).

[read-only] String[] public os
public String[] getOs()

📄🎛 osdist

supported operating system distributions (mostly for linux systems). if empty, all distributions are supported.

[read-only] String[] public osdist
public String[] getOsdist()

📄🎛 packaging

return descriptor packaging (used to resolve file extension)

[read-only] String public packaging
public String getPackaging()

📄🎛 parents

descriptor parent list (may be empty)

[read-only] NutsId[] public parents
public NutsId[] getParents()

📄🎛 platform

supported platforms (java, dotnet, ...). if empty patform is not relevant. +This is helpful to bind application to a jdk version for instance (in that case platform may be in the form java#8 for instance)

[read-only] String[] public platform
public String[] getPlatform()

📄🎛 properties

custom properties that can be used as place holders (int ${name} form) in other fields.

[read-only] Map public properties
public Map getProperties()

📄🎛 standardDependencies

The dependencies specified here are not used until they are referenced in +a POM within the group. This allows the specification of a +"standard" version for a particular. This corresponds to +"dependencyManagement.dependencies" in maven

[read-only] NutsDependency[] public standardDependencies
public NutsDependency[] getStandardDependencies()

⚙ Instance Methods

⚙ builder()

create new builder filled with this descriptor fields.

NutsDescriptorBuilder builder()

return:NutsDescriptorBuilder

☕ NutsDescriptorBuilder

public interface net.vpc.app.nuts.NutsDescriptorBuilder

Nuts descriptors define a \<strong>mutable\</strong> image to all information needed to execute an artifact. +It help creating an instance of {\@link NutsDescriptor} by calling {\@link #build()}

\@since 0.5.4 +\@category Descriptor

🎛 Instance Properties

✏🎛 application

set nutsApp flag

[write-only] NutsDescriptorBuilder public application
public NutsDescriptorBuilder setApplication(nutsApp)

📝🎛 arch

set archs

[read-write] NutsDescriptorBuilder public arch
public String[] getArch()
public NutsDescriptorBuilder setArch(archs)

📝🎛 classifierMappings

set classifier mappings

[read-write] NutsDescriptorBuilder public classifierMappings
public NutsClassifierMapping[] getClassifierMappings()
public NutsDescriptorBuilder setClassifierMappings(value)

📝🎛 dependencies

set dependencies

[read-write] NutsDescriptorBuilder public dependencies
public NutsDependency[] getDependencies()
public NutsDescriptorBuilder setDependencies(dependencies)

📝🎛 description

set description

[read-write] NutsDescriptorBuilder public description
public String getDescription()
public NutsDescriptorBuilder setDescription(description)

📝🎛 executable

set executable flag

[read-write] NutsDescriptorBuilder public executable
public boolean isExecutable()
public NutsDescriptorBuilder setExecutable(executable)

📝🎛 executor

set executor flag

[read-write] NutsDescriptorBuilder public executor
public NutsArtifactCall getExecutor()
public NutsDescriptorBuilder setExecutor(executor)

📝🎛 id

set id

[read-write] NutsDescriptorBuilder public id
public NutsId getId()
public NutsDescriptorBuilder setId(id)

📝🎛 installer

set installer

[read-write] NutsDescriptorBuilder public installer
public NutsArtifactCall getInstaller()
public NutsDescriptorBuilder setInstaller(installer)

📝🎛 locations

set locations

[read-write] NutsDescriptorBuilder public locations
public NutsIdLocation[] getLocations()
public NutsDescriptorBuilder setLocations(locations)

📝🎛 name

set name

[read-write] NutsDescriptorBuilder public name
public String getName()
public NutsDescriptorBuilder setName(name)

📄🎛 nutsApplication

true if the artifact is a java executable that implements {\@link NutsApplication} interface.

[read-only] boolean public nutsApplication
public boolean isNutsApplication()

📝🎛 os

set os

[read-write] NutsDescriptorBuilder public os
public String[] getOs()
public NutsDescriptorBuilder setOs(os)

📝🎛 osdist

set osdist

[read-write] NutsDescriptorBuilder public osdist
public String[] getOsdist()
public NutsDescriptorBuilder setOsdist(osdist)

📝🎛 packaging

set packaging

[read-write] NutsDescriptorBuilder public packaging
public String getPackaging()
public NutsDescriptorBuilder setPackaging(packaging)

📝🎛 parents

set parents

[read-write] NutsDescriptorBuilder public parents
public NutsId[] getParents()
public NutsDescriptorBuilder setParents(parents)

📝🎛 platform

set platform

[read-write] NutsDescriptorBuilder public platform
public String[] getPlatform()
public NutsDescriptorBuilder setPlatform(platform)

📝🎛 properties

set properties

[read-write] NutsDescriptorBuilder public properties
public Map getProperties()
public NutsDescriptorBuilder setProperties(properties)

📝🎛 standardDependencies

set standard dependencies

[read-write] NutsDescriptorBuilder public standardDependencies
public NutsDependency[] getStandardDependencies()
public NutsDescriptorBuilder setStandardDependencies(dependencies)

⚙ Instance Methods

⚙ addArch(arch)

add arch

NutsDescriptorBuilder addArch(String arch)

return:NutsDescriptorBuilder

  • String arch : new value to add

⚙ addClassifierMapping(mapping)

add classifier mapping

NutsDescriptorBuilder addClassifierMapping(NutsClassifierMapping mapping)

return:NutsDescriptorBuilder

  • NutsClassifierMapping mapping : classifier mapping

⚙ addDependencies(dependencies)

add dependencies

NutsDescriptorBuilder addDependencies(NutsDependency[] dependencies)

return:NutsDescriptorBuilder

  • NutsDependency[] dependencies : new value to add

⚙ addDependency(dependency)

add dependency

NutsDescriptorBuilder addDependency(NutsDependency dependency)

return:NutsDescriptorBuilder

  • NutsDependency dependency : new value to add

⚙ addLocation(location)

add location

NutsDescriptorBuilder addLocation(NutsIdLocation location)

return:NutsDescriptorBuilder

  • NutsIdLocation location : location to add

⚙ addOs(os)

add os

NutsDescriptorBuilder addOs(String os)

return:NutsDescriptorBuilder

  • String os : new value to add

⚙ addOsdist(osdist)

add os dist

NutsDescriptorBuilder addOsdist(String osdist)

return:NutsDescriptorBuilder

  • String osdist : new value to add

⚙ addPlatform(platform)

add platform

NutsDescriptorBuilder addPlatform(String platform)

return:NutsDescriptorBuilder

  • String platform : new value to add

⚙ addProperties(properties)

merge properties

NutsDescriptorBuilder addProperties(Map properties)

return:NutsDescriptorBuilder

  • Map properties : new value

⚙ addStandardDependencies(dependencies)

add standard dependencies

NutsDescriptorBuilder addStandardDependencies(NutsDependency[] dependencies)

return:NutsDescriptorBuilder

  • NutsDependency[] dependencies : value to add

⚙ addStandardDependency(dependency)

add standard dependency

NutsDescriptorBuilder addStandardDependency(NutsDependency dependency)

return:NutsDescriptorBuilder

  • NutsDependency dependency : value to add

⚙ application()

NutsDescriptorBuilder application()

return:NutsDescriptorBuilder

⚙ application(nutsApp)

NutsDescriptorBuilder application(boolean nutsApp)

return:NutsDescriptorBuilder

  • boolean nutsApp :

⚙ applyParents(parentDescriptors)

merge parent and child information (apply inheritance)

NutsDescriptorBuilder applyParents(NutsDescriptor[] parentDescriptors)

return:NutsDescriptorBuilder

  • NutsDescriptor[] parentDescriptors : parent descriptors

⚙ applyProperties()

replace placeholders with the corresponding property value in properties list

NutsDescriptorBuilder applyProperties()

return:NutsDescriptorBuilder

⚙ applyProperties(properties)

replace placeholders with the corresponding property value in the given properties list and return a new instance.

NutsDescriptorBuilder applyProperties(Map properties)

return:NutsDescriptorBuilder

  • Map properties : properties

⚙ arch(archs)

set archs

NutsDescriptorBuilder arch(String[] archs)

return:NutsDescriptorBuilder

  • String[] archs : value to set

⚙ build()

create new Descriptor filled with this builder fields.

NutsDescriptor build()

return:NutsDescriptor

⚙ classifierMappings(value)

NutsDescriptorBuilder classifierMappings(NutsClassifierMapping[] value)

return:NutsDescriptorBuilder

  • NutsClassifierMapping[] value :

⚙ clear()

clear this instance (set null/default all properties)

NutsDescriptorBuilder clear()

return:NutsDescriptorBuilder

⚙ dependencies(dependencies)

set dependencies

NutsDescriptorBuilder dependencies(NutsDependency[] dependencies)

return:NutsDescriptorBuilder

  • NutsDependency[] dependencies : new value

⚙ description(description)

NutsDescriptorBuilder description(String description)

return:NutsDescriptorBuilder

  • String description :

⚙ descriptor(other)

NutsDescriptorBuilder descriptor(NutsDescriptor other)

return:NutsDescriptorBuilder

  • NutsDescriptor other :

⚙ descriptor(other)

NutsDescriptorBuilder descriptor(NutsDescriptorBuilder other)

return:NutsDescriptorBuilder

  • NutsDescriptorBuilder other :

⚙ executable()

NutsDescriptorBuilder executable()

return:NutsDescriptorBuilder

⚙ executable(executable)

NutsDescriptorBuilder executable(boolean executable)

return:NutsDescriptorBuilder

  • boolean executable :

⚙ executor(executor)

NutsDescriptorBuilder executor(NutsArtifactCall executor)

return:NutsDescriptorBuilder

  • NutsArtifactCall executor :

⚙ id(id)

NutsDescriptorBuilder id(NutsId id)

return:NutsDescriptorBuilder

  • NutsId id :

⚙ installer(installer)

NutsDescriptorBuilder installer(NutsArtifactCall installer)

return:NutsDescriptorBuilder

  • NutsArtifactCall installer :

⚙ locations(locations)

NutsDescriptorBuilder locations(NutsIdLocation[] locations)

return:NutsDescriptorBuilder

  • NutsIdLocation[] locations :

⚙ name(name)

set name

NutsDescriptorBuilder name(String name)

return:NutsDescriptorBuilder

  • String name : value to set

⚙ os(os)

set os

NutsDescriptorBuilder os(String[] os)

return:NutsDescriptorBuilder

  • String[] os : value to set

⚙ osdist(osdist)

set osdist

NutsDescriptorBuilder osdist(String[] osdist)

return:NutsDescriptorBuilder

  • String[] osdist : value to set

⚙ packaging(packaging)

set packaging

NutsDescriptorBuilder packaging(String packaging)

return:NutsDescriptorBuilder

  • String packaging : new value

⚙ parents(parents)

set parents

NutsDescriptorBuilder parents(NutsId[] parents)

return:NutsDescriptorBuilder

  • NutsId[] parents : value to set

⚙ platform(platform)

set platform

NutsDescriptorBuilder platform(String[] platform)

return:NutsDescriptorBuilder

  • String[] platform : value to set

⚙ properties(properties)

set properties

NutsDescriptorBuilder properties(Map properties)

return:NutsDescriptorBuilder

  • Map properties : new value

⚙ property(name, value)

NutsDescriptorBuilder property(String name, String value)

return:NutsDescriptorBuilder

  • String name :
  • String value :

⚙ removeArch(arch)

remove arch

NutsDescriptorBuilder removeArch(String arch)

return:NutsDescriptorBuilder

  • String arch : value to remove

⚙ removeDependency(dependency)

remove dependency

NutsDescriptorBuilder removeDependency(NutsDependency dependency)

return:NutsDescriptorBuilder

  • NutsDependency dependency : value to remove

⚙ removeDependency(dependency)

create a new instance of descriptor with removed dependencies that match the predicate

NutsDescriptorBuilder removeDependency(Predicate dependency)

return:NutsDescriptorBuilder

  • Predicate dependency : predicate to test against

⚙ removeOs(os)

remove os

NutsDescriptorBuilder removeOs(String os)

return:NutsDescriptorBuilder

  • String os : value to remove

⚙ removeOsdist(osdist)

remove osdist

NutsDescriptorBuilder removeOsdist(String osdist)

return:NutsDescriptorBuilder

  • String osdist : value to remove

⚙ removePlatform(platform)

remove platform

NutsDescriptorBuilder removePlatform(String platform)

return:NutsDescriptorBuilder

  • String platform : value to remove

⚙ removeStandardDependency(dependency)

remove standard dependency

NutsDescriptorBuilder removeStandardDependency(NutsDependency dependency)

return:NutsDescriptorBuilder

  • NutsDependency dependency : value to remove

⚙ replaceDependency(filter, converter)

create a new instance of descriptor with added/merged dependencies

NutsDescriptorBuilder replaceDependency(Predicate filter, UnaryOperator converter)

return:NutsDescriptorBuilder

  • Predicate filter : properties entry that match the update
  • UnaryOperator converter : function to provide new value to replace with

⚙ replaceProperty(filter, converter)

create a new instance of descriptor with added/merged properties

NutsDescriptorBuilder replaceProperty(Predicate filter, Function converter)

return:NutsDescriptorBuilder

  • Predicate filter : properties entry that match the update
  • Function converter : function to provide new value to replace with

⚙ set(other)

set all fields from {\@code other}

NutsDescriptorBuilder set(NutsDescriptorBuilder other)

return:NutsDescriptorBuilder

  • NutsDescriptorBuilder other : builder to copy from

⚙ set(other)

set all fields from {\@code other}

NutsDescriptorBuilder set(NutsDescriptor other)

return:NutsDescriptorBuilder

  • NutsDescriptor other : descriptor to copy from

⚙ setProperty(name, value)

set or unset property. +if the value is null, the property is removed.

NutsDescriptorBuilder setProperty(String name, String value)

return:NutsDescriptorBuilder

  • String name : property name
  • String value : new value

⚙ standardDependencies(dependencies)

set standard dependencies

NutsDescriptorBuilder standardDependencies(NutsDependency[] dependencies)

return:NutsDescriptorBuilder

  • NutsDependency[] dependencies : value to set

☕ NutsDescriptorFilter

public interface net.vpc.app.nuts.NutsDescriptorFilter

Descriptor filter

\@since 0.5.4 +\@category Descriptor

⚙ Instance Methods

⚙ accept(descriptor, session)

return true if descriptor is accepted

boolean accept(NutsDescriptor descriptor, NutsSession session)

return:boolean

  • NutsDescriptor descriptor : descriptor
  • NutsSession session : session

⚙ acceptSearchId(sid, session)

default implementation of {\@link NutsSearchIdFilter}

boolean acceptSearchId(NutsSearchId sid, NutsSession session)

return:boolean

  • NutsSearchId sid : search id
  • NutsSession session : session

☕ NutsExecutableInformation

public interface net.vpc.app.nuts.NutsExecutableInformation

Class describing executable command. +\@author vpc +\@since 0.5.4 +\@category Descriptor

🎛 Instance Properties

📄🎛 description

executable description

[read-only] String public description
public String getDescription()

📄🎛 helpText

executable help string

[read-only] String public helpText
public String getHelpText()

📄🎛 id

executable artifact id

[read-only] NutsId public id
public NutsId getId()

📄🎛 name

executable name

[read-only] String public name
public String getName()

📄🎛 type

return executable type

[read-only] NutsExecutableType public type
public NutsExecutableType getType()

📄🎛 value

versatile executable name

[read-only] String public value
public String getValue()

☕ NutsExecutableType

public final net.vpc.app.nuts.NutsExecutableType

Executable command type returned by which internal command +\@author vpc +\@since 0.5.4 +\@category Descriptor

📢❄ Constant Fields

📢❄ ALIAS

public static final NutsExecutableType ALIAS

📢❄ ARTIFACT

public static final NutsExecutableType ARTIFACT

📢❄ INTERNAL

public static final NutsExecutableType INTERNAL

📢❄ SYSTEM

public static final NutsExecutableType SYSTEM

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsExecutableType valueOf(String name)

return:NutsExecutableType

  • String name :

📢⚙ values()

NutsExecutableType[] values()

return:NutsExecutableType[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsExecutionEntry

public interface net.vpc.app.nuts.NutsExecutionEntry

Execution entry is a class that can be executed. +\@author vpc +\@since 0.5.4 +\@category Descriptor

🎛 Instance Properties

📄🎛 app

true if the entry resolved to a valid nuts application

[read-only] boolean public app
public boolean isApp()

📄🎛 defaultEntry

true if the class if registered as main class in META-INF

[read-only] boolean public defaultEntry
public boolean isDefaultEntry()

📄🎛 name

class name

[read-only] String public name
public String getName()

☕ NutsId

public interface net.vpc.app.nuts.NutsId

Immutable Artifact id information. +\@author vpc +\@since 0.1.0 +\@category Descriptor

🎛 Instance Properties

📄🎛 arch

hardware architecture supported by the artifact

[read-only] String public arch
public String getArch()

📄🎛 artifactId

return name part of this id

[read-only] String public artifactId
public String getArtifactId()

📄🎛 classifier

tag used to distinguish between different artifacts that were built from the same source code

[read-only] String public classifier
public String getClassifier()

📄🎛 face

id face define is a release file type selector of the id. +It helps discriminating content (jar) from descriptor, from other (hash,...) +files released for the very same artifact.

[read-only] String public face
public String getFace()

📄🎛 fullName

return a string representation of this id. All of group, name, version, +namespace, queryMap values are printed. This method is equivalent to +{\@link Object#toString()}

[read-only] String public fullName
public String getFullName()

📄🎛 groupId

artifact group which identifies uniquely projects and group of projects.

[read-only] String public groupId
public String getGroupId()

📄🎛 longName

return a string concatenation of group, name and version, +ignoring namespace, and queryMap values. An example of long name is +\<code>my-group:my-artifact#my-version?alt\</code>

[read-only] String public longName
public String getLongName()

📄🎛 longNameId

return a new instance of NutsId defining only group, name and version, +ignoring namespace, and queryMap values.

[read-only] NutsId public longNameId
public NutsId getLongNameId()

📄🎛 namespace

artifact namespace (usually repository name or id)

[read-only] String public namespace
public String getNamespace()

📄🎛 os

os supported by the artifact

[read-only] String public os
public String getOs()

📄🎛 osdist

os distribution supported by the artifact

[read-only] String public osdist
public String getOsdist()

📄🎛 platform

platform supported by the artifact

[read-only] String public platform
public String getPlatform()

📄🎛 properties

properties as map.

[read-only] Map public properties
public Map getProperties()

📄🎛 propertiesQuery

properties in the url query form

[read-only] String public propertiesQuery
public String getPropertiesQuery()

📄🎛 shortName

returns a string concatenation of group and name (\':\' separated) ignoring +version,namespace, and queryMap values. In group is empty or null, name +is returned. Ann null values are trimmed to "" An example of simple name +is \<code>my-group:my-artifact\</code>

[read-only] String public shortName
public String getShortName()

📄🎛 shortNameId

return a new instance of NutsId defining only group and name ignoring +version,namespace, and queryMap values.

[read-only] NutsId public shortNameId
public NutsId getShortNameId()

📄🎛 version

artifact version (never null)

[read-only] NutsVersion public version
public NutsVersion getVersion()

⚙ Instance Methods

⚙ anyToken()

non null token filter that searches in all id fields

NutsTokenFilter anyToken()

return:NutsTokenFilter

⚙ artifactIdToken()

non null artifact id token

NutsTokenFilter artifactIdToken()

return:NutsTokenFilter

⚙ builder()

create a builder (mutable id) based on this id

NutsIdBuilder builder()

return:NutsIdBuilder

⚙ equalsShortName(other)

true if other has exact shot name than {\@code this}

boolean equalsShortName(NutsId other)

return:boolean

  • NutsId other : other id

⚙ filter()

create a filter based on this id

NutsIdFilter filter()

return:NutsIdFilter

⚙ groupIdToken()

non null group id token

NutsTokenFilter groupIdToken()

return:NutsTokenFilter

⚙ namespaceToken()

non null namespace non null namespace token

NutsTokenFilter namespaceToken()

return:NutsTokenFilter

⚙ propertiesToken()

non null properties query token

NutsTokenFilter propertiesToken()

return:NutsTokenFilter

⚙ versionToken()

non null version token

NutsTokenFilter versionToken()

return:NutsTokenFilter

☕ NutsIdBuilder

public interface net.vpc.app.nuts.NutsIdBuilder

Mutable Artifact id information used to create instance of {\@link NutsId} +\@author vpc +\@since 0.5.4 +\@category Descriptor

🎛 Instance Properties

📝🎛 arch

update arch

[read-write] NutsIdBuilder public arch
public String getArch()
public NutsIdBuilder setArch(value)

📝🎛 artifactId

update artifactId

[read-write] NutsIdBuilder public artifactId
public String getArtifactId()
public NutsIdBuilder setArtifactId(value)

📝🎛 classifier

update classifier

[read-write] NutsIdBuilder public classifier
public String getClassifier()
public NutsIdBuilder setClassifier(value)

📝🎛 face

update id face which defines is a release file type selector

[read-write] NutsIdBuilder public face
public String getFace()
public NutsIdBuilder setFace(value)

📄🎛 fullName

return a string representation of this id. All of group, name, version, +namespace, queryMap values are printed. This method is equivalent to +{\@link Object#toString()}

[read-only] String public fullName
public String getFullName()

📝🎛 groupId

update groupId

[read-write] NutsIdBuilder public groupId
public String getGroupId()
public NutsIdBuilder setGroupId(value)

📄🎛 longName

return a string concatenation of group, name and version, +ignoring namespace, and queryMap values. An example of long name is +\<code>my-group:my-artifact#my-version?alt\</code>

[read-only] String public longName
public String getLongName()

📝🎛 namespace

update namespace

[read-write] NutsIdBuilder public namespace
public String getNamespace()
public NutsIdBuilder setNamespace(value)

📝🎛 os

update os

[read-write] NutsIdBuilder public os
public String getOs()
public NutsIdBuilder setOs(value)

📝🎛 osdist

update osdist

[read-write] NutsIdBuilder public osdist
public String getOsdist()
public NutsIdBuilder setOsdist(value)

✏🎛 packaging

update packaging

[write-only] NutsIdBuilder public packaging
public NutsIdBuilder setPackaging(packaging)

📝🎛 platform

update platform

[read-write] NutsIdBuilder public platform
public String getPlatform()
public NutsIdBuilder setPlatform(value)

📝🎛 properties

update all properties property.

[read-write] NutsIdBuilder public properties
public Map getProperties()
public NutsIdBuilder setProperties(query)

📄🎛 propertiesQuery

properties in the url query form

[read-only] String public propertiesQuery
public String getPropertiesQuery()

📄🎛 shortName

returns a string concatenation of group and name (\':\' separated) ignoring +version,namespace, and queryMap values. In group is empty or null, name +is returned. Ann null values are trimmed to "" An example of simple name +is \<code>my-group:my-artifact\</code>

[read-only] String public shortName
public String getShortName()

📝🎛 version

update setVersion

[read-write] NutsIdBuilder public version
public NutsVersion getVersion()
public NutsIdBuilder setVersion(value)

⚙ Instance Methods

⚙ addProperties(query)

update all properties property while retaining old, +non overridden properties.

NutsIdBuilder addProperties(String query)

return:NutsIdBuilder

  • String query : new value

⚙ addProperties(queryMap)

update all properties property while retaining old, +non overridden properties.

NutsIdBuilder addProperties(Map queryMap)

return:NutsIdBuilder

  • Map queryMap : new value

⚙ apply(properties)

replace dollar based variables with the given properties

NutsIdBuilder apply(Function properties)

return:NutsIdBuilder

  • Function properties : to replace

⚙ build()

create new instance of {\@link NutsId} initialized with this builder values.

NutsId build()

return:NutsId

⚙ clear()

clear this instance (set null/default all properties)

NutsIdBuilder clear()

return:NutsIdBuilder

⚙ set(id)

update all arguments

NutsIdBuilder set(NutsId id)

return:NutsIdBuilder

  • NutsId id : new value

⚙ set(id)

update all arguments

NutsIdBuilder set(NutsIdBuilder id)

return:NutsIdBuilder

  • NutsIdBuilder id : new value

⚙ setFaceContent()

equivalent to {\@code setFace(NutsConstants.QueryFaces.CONTENT)}

NutsIdBuilder setFaceContent()

return:NutsIdBuilder

⚙ setFaceDescriptor()

equivalent to {\@code setFace(NutsConstants.QueryFaces.DESCRIPTOR)}

NutsIdBuilder setFaceDescriptor()

return:NutsIdBuilder

⚙ setProperty(property, value)

update property. +When {\@code value} is null, property will be removed.

NutsIdBuilder setProperty(String property, String value)

return:NutsIdBuilder

  • String property : name
  • String value : new value

☕ NutsIdFilter

public interface net.vpc.app.nuts.NutsIdFilter

Class for filtering Artifact Ids

\@since 0.5.4 +\@category Descriptor

⚙ Instance Methods

⚙ accept(id, session)

return true when the id is to be accepted

boolean accept(NutsId id, NutsSession session)

return:boolean

  • NutsId id : id to check
  • NutsSession session : current workspace session

⚙ acceptSearchId(sid, session)

boolean acceptSearchId(NutsSearchId sid, NutsSession session)

return:boolean

  • NutsSearchId sid :
  • NutsSession session :

☕ NutsIdLocation

public interface net.vpc.app.nuts.NutsIdLocation

This class is used in {\@link NutsDescriptor} to describe +locations/mirrors to download artifact content instead of the +regular location. +\@category Descriptor

🎛 Instance Properties

📄🎛 classifier

classifier for the artifact

[read-only] String public classifier
public String getClassifier()

📄🎛 region

location (geographic) region that may be used to select +the most effective mirror

[read-only] String public region
public String getRegion()

📄🎛 url

location url of the artifact content

[read-only] String public url
public String getUrl()

☕ NutsVersion

public interface net.vpc.app.nuts.NutsVersion

this class represents an \<strong>immutable\</strong> string representation of a version parsed as a suite of alternating numbers and words. +Parsing algorithm is simply to split whenever word type changes. +Examples: +\<ul> +\<li>1 = [1]\</li> +\<li>1.2 = [1,\'.\',2]\</li> +\<li>10.20update3 = [10,\'.\',20,\'update\',3]\</li> +\</ul> +\@author vpc +\@since 0.5.4 +\@category Descriptor

🎛 Instance Properties

📄🎛 singleValue

return true if this version denotes as single value and does not match an interval.

[read-only] boolean public singleValue
public boolean isSingleValue()

📄🎛 value

return string representation of the version

[read-only] String public value
public String getValue()

⚙ Instance Methods

⚙ compareTo(other)

compare this version to the other version

int compareTo(String other)

return:int

  • String other : other version

⚙ compareTo(other)

int compareTo(NutsVersion other)

return:int

  • NutsVersion other :

⚙ filter()

parse the current version as new instance of {\@link NutsVersionFilter}

NutsVersionFilter filter()

return:NutsVersionFilter

⚙ get(index)

element at given index. if the index is negative will return from right. +\<ul> +\<li>(1.a22).get(0)=1\</li> +\<li>(1.a22).get(1)=a\</li> +\<li>(1.a22).get(-1)=22\</li> +\</ul>

String get(int index)

return:String

  • int index : version part index

⚙ getNumber(index)

number element at given index. if the index is negative will return from right (-1 is the first starting from the right). +The version is first split (as a suite of number and words) then all words are discarded. +\<ul> +\<li>size(1.22)=3 {\'1\',\'.\',\'22\'}\</li> +\<li>size(1.22_u1)=5 {\'1\',\'.\',\'22\',\'_u\',\'1\'}\</li> +\</ul> +\<ul> +\<li>(1.a22).getNumber(0)=1\</li> +\<li>(1.a22).getNumber(1)=22\</li> +\<li>(1.a22).getNumber(-1)=22\</li> +\</ul>

int getNumber(int index)

return:int

  • int index : version part index

⚙ getNumber(index, defaultValue)

return number element at position or default value. if the index is negative will return from right (-1 is the first starting from the right). +The version is first split (as a suite of number and words) then all words are discarded.

int getNumber(int index, int defaultValue)

return:int

  • int index : position
  • int defaultValue : default value

⚙ inc()

increment the last number in the version with 1

NutsVersion inc()

return:NutsVersion

⚙ inc(position)

increment the number at {\@code position} in the version with 1

NutsVersion inc(int position)

return:NutsVersion

  • int position : number position

⚙ inc(position, amount)

increment the last number in the version with the given {\@code amount}

NutsVersion inc(int position, int amount)

return:NutsVersion

  • int position : number position
  • int amount : amount of the increment

⚙ intervals()

parse the current version as an interval array

NutsVersionInterval[] intervals()

return:NutsVersionInterval[]

⚙ numberSize()

number of elements in the version. +\<ul> +\<li>numberSize(1.22)=2 {1,22}\</li> +\<li>numberSize(1.22_u1)=3 {1,22,1}\</li> +\</ul>

int numberSize()

return:int

⚙ size()

number of elements in the version. +\<ul> +\<li>size(1.22)=3 {\'1\',\'.\',\'22\'}\</li> +\<li>size(1.22_u1)=5 {\'1\',\'.\',\'22\',\'_u\',\'1\'}\</li> +\</ul>

int size()

return:int

☕ NutsVersionFilter

public interface net.vpc.app.nuts.NutsVersionFilter

version interval is a version filter that accepts interval ranges of versions.

version intervals can be in one of the following forms +\<pre> +[ version, ] +] version, ] or ( version, ] +[ version, [ or [ version, ) +] version, [ or ] version, [

[ ,version ] +] ,version ] or ( ,version ] +[ ,version [ or [ ,version ) +] ,version [ or ] ,version [

[ version1 , version2 ] +] version1 , version2 ] or ( version1 , version2 ] +[ version1 , version2 [ or [ version1 , version2 ) +] version1 , version2 [ or ] version1 , version2 [

comma or space separated intervals such as : +[ version1 , version2 ], [ version1 , version2 ][ version1 , version2 ] [ version1 , version2 ] +\</pre>

Created by vpc on 1/8/17. +\@since 0.5.4 +\@category Descriptor

⚙ Instance Methods

⚙ accept(version, session)

true if the version is accepted by this instance filter

boolean accept(NutsVersion version, NutsSession session)

return:boolean

  • NutsVersion version : version to check
  • NutsSession session : current session instance

⚙ acceptSearchId(sid, session)

true if the version is accepted by this instance filter

boolean acceptSearchId(NutsSearchId sid, NutsSession session)

return:boolean

  • NutsSearchId sid : search id
  • NutsSession session : current session instance
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Elements/index.html b/docs/docs/javadocs/javadoc_Elements/index.html new file mode 100644 index 000000000..f1b3db175 --- /dev/null +++ b/docs/docs/javadocs/javadoc_Elements/index.html @@ -0,0 +1,57 @@ + + + + + + +Elements | Nuts + + + + + + + + + + + + +
+

Elements

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsArrayElement

public interface net.vpc.app.nuts.NutsArrayElement

Array implementation of Nuts Element type. +Nuts Element types are generic JSON like parsable objects. +\@author vpc +\@since 0.5.6 +\@category Elements

⚙ Instance Methods

⚙ children()

array items

Collection children()

return:Collection

⚙ get(index)

element at index

NutsElement get(int index)

return:NutsElement

  • int index : index

⚙ size()

element count

int size()

return:int

☕ NutsArrayElementBuilder

public interface net.vpc.app.nuts.NutsArrayElementBuilder

Array element Builder is a mutable NutsArrayElement that helps +manipulating arrays. +\@author vpc +\@category Elements

⚙ Instance Methods

⚙ add(element)

add new element to the end of the array.

NutsArrayElementBuilder add(NutsElement element)

return:NutsArrayElementBuilder

  • NutsElement element : element to add, should no be null

⚙ addAll(value)

all all elements in the given array

NutsArrayElementBuilder addAll(NutsArrayElement value)

return:NutsArrayElementBuilder

  • NutsArrayElement value : value

⚙ addAll(value)

all all elements in the given array builder

NutsArrayElementBuilder addAll(NutsArrayElementBuilder value)

return:NutsArrayElementBuilder

  • NutsArrayElementBuilder value : value

⚙ build()

create array with this instance elements

NutsArrayElement build()

return:NutsArrayElement

⚙ children()

array items

List children()

return:List

⚙ clear()

remove all elements from this array.

NutsArrayElementBuilder clear()

return:NutsArrayElementBuilder

⚙ get(index)

element at index

NutsElement get(int index)

return:NutsElement

  • int index : index

⚙ insert(index, element)

insert new element at the given index.

NutsArrayElementBuilder insert(int index, NutsElement element)

return:NutsArrayElementBuilder

  • int index : index to insert into
  • NutsElement element : element to add, should no be null

⚙ remove(index)

add new element to the end of the array.

NutsArrayElementBuilder remove(int index)

return:NutsArrayElementBuilder

  • int index : index to remove

⚙ set(other)

reset this instance with the given array

NutsArrayElementBuilder set(NutsArrayElementBuilder other)

return:NutsArrayElementBuilder

  • NutsArrayElementBuilder other : array

⚙ set(other)

reset this instance with the given array

NutsArrayElementBuilder set(NutsArrayElement other)

return:NutsArrayElementBuilder

  • NutsArrayElement other : array builder

⚙ set(index, element)

update element at the given index.

NutsArrayElementBuilder set(int index, NutsElement element)

return:NutsArrayElementBuilder

  • int index : index to update
  • NutsElement element : element to add, should no be null

⚙ size()

element count

int size()

return:int

☕ NutsElement

public interface net.vpc.app.nuts.NutsElement

Nuts Element types are generic JSON like parsable objects. +\@author vpc +\@since 0.5.6 +\@category Elements

⚙ Instance Methods

⚙ array()

convert this element to {\@link NutsArrayElement} or throw ClassCastException

NutsArrayElement array()

return:NutsArrayElement

⚙ object()

convert this element to {\@link NutsObjectElement} or throw ClassCastException

NutsObjectElement object()

return:NutsObjectElement

⚙ primitive()

convert this element to {\@link NutsPrimitiveElement} or throw ClassCastException

NutsPrimitiveElement primitive()

return:NutsPrimitiveElement

⚙ type()

element type

NutsElementType type()

return:NutsElementType

☕ NutsElementBuilder

public interface net.vpc.app.nuts.NutsElementBuilder

Nuts Element builder that helps creating element instances. +\@author vpc +\@category Elements

⚙ Instance Methods

⚙ forArray()

create array element builder (mutable)

NutsArrayElementBuilder forArray()

return:NutsArrayElementBuilder

⚙ forBoolean(value)

create primitive boolean element

NutsPrimitiveElement forBoolean(String value)

return:NutsPrimitiveElement

  • String value : value

⚙ forBoolean(value)

create primitive boolean element

NutsPrimitiveElement forBoolean(boolean value)

return:NutsPrimitiveElement

  • boolean value : value

⚙ forDate(value)

create primitive date element

NutsPrimitiveElement forDate(Date value)

return:NutsPrimitiveElement

  • Date value : value

⚙ forDate(value)

create primitive date element

NutsPrimitiveElement forDate(Instant value)

return:NutsPrimitiveElement

  • Instant value : value

⚙ forDate(value)

create primitive date element

NutsPrimitiveElement forDate(String value)

return:NutsPrimitiveElement

  • String value : value

⚙ forNull()

create primitive null element

NutsPrimitiveElement forNull()

return:NutsPrimitiveElement

⚙ forNumber(value)

create primitive number element

NutsPrimitiveElement forNumber(Number value)

return:NutsPrimitiveElement

  • Number value : value

⚙ forNumber(value)

create primitive number element

NutsPrimitiveElement forNumber(String value)

return:NutsPrimitiveElement

  • String value : value

⚙ forObject()

create object element builder (mutable)

NutsObjectElementBuilder forObject()

return:NutsObjectElementBuilder

⚙ forString(value)

create primitive string element

NutsPrimitiveElement forString(String value)

return:NutsPrimitiveElement

  • String value : value

☕ NutsElementPath

public interface net.vpc.app.nuts.NutsElementPath

Element XPath like filter

\@author vpc +\@category Elements

⚙ Instance Methods

⚙ filter(element)

filter element to a valid children list

List filter(NutsElement element)

return:List

  • NutsElement element : element to filter

⚙ filter(elements)

filter elements to a valid children list

List filter(List elements)

return:List

  • List elements : elements to filter

☕ NutsElementType

public final net.vpc.app.nuts.NutsElementType

Element type. this an extension of json element types. +\@author vpc +\@category Elements

📢❄ Constant Fields

📢❄ ARRAY

public static final NutsElementType ARRAY

📢❄ BOOLEAN

public static final NutsElementType BOOLEAN

📢❄ DATE

public static final NutsElementType DATE

📢❄ FLOAT

public static final NutsElementType FLOAT

📢❄ INTEGER

public static final NutsElementType INTEGER

📢❄ NULL

public static final NutsElementType NULL

📢❄ OBJECT

public static final NutsElementType OBJECT

📢❄ STRING

public static final NutsElementType STRING

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsElementType valueOf(String name)

return:NutsElementType

  • String name :

📢⚙ values()

NutsElementType[] values()

return:NutsElementType[]

🎛 Instance Properties

📄🎛 primitive

true if private type

[read-only] boolean public primitive
public boolean isPrimitive()

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsObjectElement

public interface net.vpc.app.nuts.NutsObjectElement

Object implementation of Nuts Element type. +Nuts Element types are generic JSON like parsable objects. +\@author vpc +\@since 0.5.6 +\@category Elements

⚙ Instance Methods

⚙ children()

object (key,value) attributes

Collection children()

return:Collection

⚙ get(name)

return value for name or null. +If multiple values are available return any of them.

NutsElement get(String name)

return:NutsElement

  • String name : key name

⚙ size()

element count

int size()

return:int

☕ NutsPrimitiveElement

public interface net.vpc.app.nuts.NutsPrimitiveElement

primitive values implementation of Nuts Element type. Nuts Element types are +generic JSON like parsable objects.

\@author vpc +\@since 0.5.6 +\@category Elements

🎛 Instance Properties

📄🎛 boolean

value as any java Boolean. Best effort is applied to convert to this +type.

[read-only] boolean public boolean
public boolean getBoolean()

📄🎛 date

value as any java date. Best effort is applied to convert to this type.

[read-only] Instant public date
public Instant getDate()

📄🎛 double

true if the value is or can be converted to double

[read-only] boolean public double
public boolean isDouble()

📄🎛 float

true if the value is or can be converted to float

[read-only] boolean public float
public boolean isFloat()

📄🎛 int

true if the value is or can be converted to int.

[read-only] boolean public int
public boolean isInt()

📄🎛 long

true if the value is or can be converted to long.

[read-only] boolean public long
public boolean isLong()

📄🎛 null

true if the value is null (in which case, the type should be NULL)

[read-only] boolean public null
public boolean isNull()

📄🎛 number

value as any java Number. Best effort is applied to convert to this type.

[read-only] Number public number
public Number getNumber()

📄🎛 string

value as any java string. Best effort is applied to convert to this type.

[read-only] String public string
public String getString()

📄🎛 value

value as any java Object

[read-only] Object public value
public Object getValue()
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Events/index.html b/docs/docs/javadocs/javadoc_Events/index.html new file mode 100644 index 000000000..b0529cbae --- /dev/null +++ b/docs/docs/javadocs/javadoc_Events/index.html @@ -0,0 +1,47 @@ + + + + + + +Events | Nuts + + + + + + + + + + + + +
+

Events

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsInstallListener

public interface net.vpc.app.nuts.NutsInstallListener

A class can implement the \<code>NutsInstallListener\</code> interface when it +wants to be informed of install artifacts actions.

\@author vpc +\@since 0.5.4 +\@category Events

⚙ Instance Methods

⚙ onInstall(event)

This method is called whenever the observed workspace installs an artifact.

void onInstall(NutsInstallEvent event)
  • NutsInstallEvent event : event

⚙ onUninstall(event)

This method is called whenever the observed workspace uninstalls an artifact.

void onUninstall(NutsInstallEvent event)
  • NutsInstallEvent event : event

⚙ onUpdate(event)

This method is called whenever the observed workspace updates an artifact.

void onUpdate(NutsUpdateEvent event)
  • NutsUpdateEvent event : event

☕ NutsRepositoryEvent

public interface net.vpc.app.nuts.NutsRepositoryEvent

Repository Event +\@author vpc +\@since 0.5.4 +\@category Events

🎛 Instance Properties

📄🎛 parent

Parent repository when this event is about creating +a new repository with a parent one.

[read-only] NutsRepository public parent
public NutsRepository getParent()

📄🎛 propertyName

event property name

[read-only] String public propertyName
public String getPropertyName()

📄🎛 propertyOldValue

event property old value

[read-only] Object public propertyOldValue
public Object getPropertyOldValue()

📄🎛 propertyValue

event property new value

[read-only] Object public propertyValue
public Object getPropertyValue()

📄🎛 repository

repository that fires this event or the new repository +when creating a new one with parent.

[read-only] NutsRepository public repository
public NutsRepository getRepository()

📄🎛 session

current session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 workspace

current workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsRepositoryListener

public interface net.vpc.app.nuts.NutsRepositoryListener

Created by vpc on 1/20/17.

\@since 0.5.4 +\@category Events

⚙ Instance Methods

⚙ onAddRepository(event)

void onAddRepository(NutsRepositoryEvent event)
  • NutsRepositoryEvent event :

⚙ onConfigurationChanged(event)

void onConfigurationChanged(NutsRepositoryEvent event)
  • NutsRepositoryEvent event :

⚙ onDeploy(event)

void onDeploy(NutsContentEvent event)
  • NutsContentEvent event :

⚙ onPush(event)

void onPush(NutsContentEvent event)
  • NutsContentEvent event :

⚙ onRemoveRepository(event)

void onRemoveRepository(NutsRepositoryEvent event)
  • NutsRepositoryEvent event :

⚙ onUndeploy(event)

void onUndeploy(NutsContentEvent event)
  • NutsContentEvent event :

☕ NutsUpdateEvent

public interface net.vpc.app.nuts.NutsUpdateEvent

\@author vpc +\@since 0.5.6 +\@category Events

🎛 Instance Properties

📄🎛 force

[read-only] boolean public force
public boolean isForce()

📄🎛 newValue

[read-only] NutsDefinition public newValue
public NutsDefinition getNewValue()

📄🎛 oldValue

[read-only] NutsDefinition public oldValue
public NutsDefinition getOldValue()

📄🎛 session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsWorkspaceEvent

public interface net.vpc.app.nuts.NutsWorkspaceEvent

\@author vpc +\@since 0.5.4 +\@category Events

🎛 Instance Properties

📄🎛 propertyName

[read-only] String public propertyName
public String getPropertyName()

📄🎛 propertyOldValue

[read-only] Object public propertyOldValue
public Object getPropertyOldValue()

📄🎛 propertyValue

[read-only] Object public propertyValue
public Object getPropertyValue()

📄🎛 repository

[read-only] NutsRepository public repository
public NutsRepository getRepository()

📄🎛 session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsWorkspaceListener

public interface net.vpc.app.nuts.NutsWorkspaceListener

Created by vpc on 1/20/17.

\@since 0.5.4 +\@category Events

⚙ Instance Methods

⚙ onAddRepository(event)

void onAddRepository(NutsWorkspaceEvent event)
  • NutsWorkspaceEvent event :

⚙ onConfigurationChanged(event)

void onConfigurationChanged(NutsWorkspaceEvent event)
  • NutsWorkspaceEvent event :

⚙ onCreateWorkspace(event)

void onCreateWorkspace(NutsWorkspaceEvent event)
  • NutsWorkspaceEvent event :

⚙ onReloadWorkspace(event)

void onReloadWorkspace(NutsWorkspaceEvent event)
  • NutsWorkspaceEvent event :

⚙ onRemoveRepository(event)

void onRemoveRepository(NutsWorkspaceEvent event)
  • NutsWorkspaceEvent event :

⚙ onUpdateProperty(event)

void onUpdateProperty(NutsWorkspaceEvent event)
  • NutsWorkspaceEvent event :
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Exception/index.html b/docs/docs/javadocs/javadoc_Exception/index.html new file mode 100644 index 000000000..ea6035acc --- /dev/null +++ b/docs/docs/javadocs/javadoc_Exception/index.html @@ -0,0 +1,172 @@ + + + + + + +Exception | Nuts + + + + + + + + + + + + +
+

Exception

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsAlreadyDeployedException

public net.vpc.app.nuts.NutsAlreadyDeployedException

Exception fired in {\@link NutsWorkspace#deploy()} method if the package is +already deployed Created by vpc on 1/15/17.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsAlreadyDeployedException(workspace, id)

Custom Constructor

NutsAlreadyDeployedException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id

🪄 NutsAlreadyDeployedException(workspace, id)

Custom Constructor

NutsAlreadyDeployedException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : nuts id

🪄 NutsAlreadyDeployedException(workspace, id, msg, cause)

Custom Constructor

NutsAlreadyDeployedException(NutsWorkspace workspace, String id, String msg, Exception cause)
  • NutsWorkspace workspace : workspace
  • String id : nuts id
  • String msg : message
  • Exception cause : cuse

🪄 NutsAlreadyDeployedException(workspace, id, msg, ex)

Custom Constructor

NutsAlreadyDeployedException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id
  • String msg : message
  • Exception ex : exception

☕ NutsAlreadyInstalledException

public net.vpc.app.nuts.NutsAlreadyInstalledException

Thrown to indicate that the artifact is already installed and should not be +reinstalled Created by vpc on 1/15/17.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsAlreadyInstalledException(workspace, id)

Custom Constructor

NutsAlreadyInstalledException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id

🪄 NutsAlreadyInstalledException(workspace, id)

Custom Constructor

NutsAlreadyInstalledException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : nuts id

🪄 NutsAlreadyInstalledException(workspace, id, message, cause)

Custom Constructor

NutsAlreadyInstalledException(NutsWorkspace workspace, NutsId id, String message, Exception cause)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id
  • String message : message
  • Exception cause : exception

🪄 NutsAlreadyInstalledException(workspace, id, msg, cause)

Custom Constructor

NutsAlreadyInstalledException(NutsWorkspace workspace, String id, String msg, Exception cause)
  • NutsWorkspace workspace : workspace
  • String id : nuts id
  • String msg : message
  • Exception cause : exception

☕ NutsElementNotFoundException

public net.vpc.app.nuts.NutsElementNotFoundException

Generic exception to be thrown when an element is not found. +\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsElementNotFoundException(workspace)

Constructs a new runtime exception with {\@code null} as its +detail message. The cause is not initialized, and may subsequently be +initialized by a call to {\@link #initCause}.

NutsElementNotFoundException(NutsWorkspace workspace)
  • NutsWorkspace workspace : the workspace of this Nuts Exception

🪄 NutsElementNotFoundException(workspace, cause)

Constructs a new runtime exception with the specified cause and a +detail message of \<tt>(cause==null ? null : cause.toString())\</tt> +(which typically contains the class and detail message of +\<tt>cause\</tt>). This constructor is useful for runtime exceptions +that are little more than wrappers for other throwables.

NutsElementNotFoundException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • Throwable cause : the cause (which is saved for later retrieval by the +{@link #getCause()} method). (A null value is +permitted, and indicates that the cause is nonexistent or +unknown.)

🪄 NutsElementNotFoundException(workspace, message)

Constructs a new runtime exception with the specified detail message. +The cause is not initialized, and may subsequently be initialized by a +call to {\@link #initCause}.

NutsElementNotFoundException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • String message : the detail message. The detail message is saved for +later retrieval by the {@link #getMessage()} method.

🪄 NutsElementNotFoundException(workspace, message, cause)

Constructs a new runtime exception with the specified detail message and +cause. \<p>Note that the detail message associated with +{\@code cause} is \<i>not\</i> automatically incorporated in +this runtime exception\'s detail message.

NutsElementNotFoundException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • String message : the detail message (which is saved for later retrieval +by the {@link #getMessage()} method).
  • Throwable cause : the cause (which is saved for later retrieval by the +{@link #getCause()} method). (A null value is +permitted, and indicates that the cause is nonexistent or +unknown.)

🪄 NutsElementNotFoundException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new runtime exception with the specified detail +message, cause, suppression enabled or disabled, and writable +stack trace enabled or disabled.

NutsElementNotFoundException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • String message : the detail message.
  • Throwable cause : the cause. (A {@code null} value is permitted, +and indicates that the cause is nonexistent or unknown.)
  • boolean enableSuppression : whether or not suppression is enabled +or disabled
  • boolean writableStackTrace : whether or not the stack trace should +be writable

☕ NutsException

public net.vpc.app.nuts.NutsException

Base Nuts Exception. Parent of all Nuts defined Exceptions. +\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsException(workspace)

Constructs a new runtime exception with {\@code null} as its +detail message. The cause is not initialized, and may subsequently be +initialized by a call to {\@link #initCause}.

NutsException(NutsWorkspace workspace)
  • NutsWorkspace workspace : the workspace of this Nuts Exception

🪄 NutsException(workspace, cause)

Constructs a new runtime exception with the specified cause and a +detail message of \<tt>(cause==null ? null : cause.toString())\</tt> +(which typically contains the class and detail message of +\<tt>cause\</tt>). This constructor is useful for runtime exceptions +that are little more than wrappers for other throwables.

NutsException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • Throwable cause : the cause (which is saved for later retrieval by the +{@link #getCause()} method). (A null value is +permitted, and indicates that the cause is nonexistent or +unknown.)

🪄 NutsException(workspace, cause)

Constructs a new runtime exception with the specified cause and a +detail message of \<tt>(cause==null ? null : cause.toString())\</tt> +(which typically contains the class and detail message of +\<tt>cause\</tt>). This constructor is useful for runtime exceptions +that are little more than wrappers for other throwables.

NutsException(NutsWorkspace workspace, IOException cause)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • IOException cause : the cause (which is saved for later retrieval by the +{@link #getCause()} method). (A null value is +permitted, and indicates that the cause is nonexistent or +unknown.)

🪄 NutsException(workspace, message)

Constructs a new runtime exception with the specified detail message. +The cause is not initialized, and may subsequently be initialized by a +call to {\@link #initCause}.

NutsException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • String message : the detail message. The detail message is saved for +later retrieval by the {@link #getMessage()} method.

🪄 NutsException(workspace, message, cause)

Constructs a new runtime exception with the specified detail message and +cause. \<p>Note that the detail message associated with +{\@code cause} is \<i>not\</i> automatically incorporated in +this runtime exception\'s detail message.

NutsException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • String message : the detail message (which is saved for later retrieval +by the {@link #getMessage()} method).
  • Throwable cause : the cause (which is saved for later retrieval by the +{@link #getCause()} method). (A null value is +permitted, and indicates that the cause is nonexistent or +unknown.)

🪄 NutsException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new runtime exception with the specified detail +message, cause, suppression enabled or disabled, and writable +stack trace enabled or disabled.

NutsException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • String message : the detail message.
  • Throwable cause : the cause. (A {@code null} value is permitted, +and indicates that the cause is nonexistent or unknown.)
  • boolean enableSuppression : whether or not suppression is enabled +or disabled
  • boolean writableStackTrace : whether or not the stack trace should +be writable

🎛 Instance Properties

📄🎛 workspace

Returns the workspace of this Nuts Exception.

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsExecutionException

public net.vpc.app.nuts.NutsExecutionException

Standard Execution thrown when an artifact fails to run.

\@since 0.5.4 +\@category Exception

📢❄ Constant Fields

📢❄ DEFAULT_ERROR_EXIT_CODE

public static final int DEFAULT_ERROR_EXIT_CODE = 244

🪄 Constructors

🪄 NutsExecutionException(workspace)

Constructs a new NutsExecutionException exception

NutsExecutionException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsExecutionException(workspace, exitCode)

Constructs a new NutsExecutionException exception

NutsExecutionException(NutsWorkspace workspace, int exitCode)
  • NutsWorkspace workspace : workspace
  • int exitCode : exit code

🪄 NutsExecutionException(workspace, cause, exitCode)

Constructs a new NutsExecutionException exception

NutsExecutionException(NutsWorkspace workspace, Throwable cause, int exitCode)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause
  • int exitCode : exit code

🪄 NutsExecutionException(workspace, message, cause)

Constructs a new NutsExecutionException exception

NutsExecutionException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsExecutionException(workspace, message, exitCode)

Constructs a new NutsExecutionException exception

NutsExecutionException(NutsWorkspace workspace, String message, int exitCode)
  • NutsWorkspace workspace : workspace
  • String message : message
  • int exitCode : exit code

🪄 NutsExecutionException(workspace, message, cause, exitCode)

Constructs a new NutsExecutionException exception

NutsExecutionException(NutsWorkspace workspace, String message, Throwable cause, int exitCode)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • int exitCode : exit code

🪄 NutsExecutionException(workspace, message, cause, enableSuppression, writableStackTrace, exitCode)

Constructs a new NutsExecutionException exception

NutsExecutionException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, int exitCode)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable
  • int exitCode : exit code

🎛 Instance Properties

📄🎛 exitCode

artifact exit code

[read-only] int public exitCode
public int getExitCode()

☕ NutsExtensionAlreadyRegisteredException

public net.vpc.app.nuts.NutsExtensionAlreadyRegisteredException

Exception thrown when extension is already registered.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsExtensionAlreadyRegisteredException(workspace, id, installed)

Constructs a new NutsExtensionAlreadyRegisteredException exception

NutsExtensionAlreadyRegisteredException(NutsWorkspace workspace, String id, String installed)
  • NutsWorkspace workspace : workspace
  • String id : artifact id
  • String installed : installed id

🪄 NutsExtensionAlreadyRegisteredException(workspace, id, installed, cause)

Constructs a new NutsExtensionAlreadyRegisteredException exception

NutsExtensionAlreadyRegisteredException(NutsWorkspace workspace, String id, String installed, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String id : artifact id
  • String installed : installed id
  • Throwable cause : cause

🎛 Instance Properties

📄🎛 installed

registered/installed extension

[read-only] String public installed
public String getInstalled()

☕ NutsExtensionException

public abstract net.vpc.app.nuts.NutsExtensionException

Base exception for Extension related exceptions

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsExtensionException(workspace, extensionId, message, cause)

Constructs a new runtime exception with the specified detail message and +cause. \<p>Note that the detail message associated with +{\@code cause} is \<i>not\</i> automatically incorporated in +this runtime exception\'s detail message.

NutsExtensionException(NutsWorkspace workspace, String extensionId, String message, Throwable cause)
  • NutsWorkspace workspace : the workspace of this Nuts Exception
  • String extensionId : extension id
  • String message : the detail message (which is saved for later retrieval +by the {@link #getMessage()} method). if the message is null, a +default one is provided
  • Throwable cause : the cause (which is saved for later retrieval by the +{@link #getCause()} method). (A null value is +permitted, and indicates that the cause is nonexistent or +unknown.)

🎛 Instance Properties

📄🎛 id

extension id

[read-only] String public id
public String getId()

☕ NutsExtensionNotFoundException

public net.vpc.app.nuts.NutsExtensionNotFoundException

Exception thrown when extension could not be resolved.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsExtensionNotFoundException(workspace, missingType, extensionName)

Constructs a new NutsExtensionNotFoundException exception

NutsExtensionNotFoundException(NutsWorkspace workspace, Class missingType, String extensionName)
  • NutsWorkspace workspace : workspace
  • Class missingType : missing type
  • String extensionName : extension name

🎛 Instance Properties

📄🎛 extensionName

extension name

[read-only] String public extensionName
public String getExtensionName()

📄🎛 missingType

missing type

[read-only] Class public missingType
public Class getMissingType()

☕ NutsFactoryException

public net.vpc.app.nuts.NutsFactoryException

Exception thrown when a component cannot be resolved by the factory. +\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsFactoryException(workspace)

Constructs a new NutsFactoryException exception

NutsFactoryException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsFactoryException(workspace, cause)

Constructs a new NutsFactoryException exception

NutsFactoryException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsFactoryException(workspace, cause)

Constructs a new NutsFactoryException exception

NutsFactoryException(NutsWorkspace workspace, IOException cause)
  • NutsWorkspace workspace : workspace
  • IOException cause : cause

🪄 NutsFactoryException(workspace, message)

Constructs a new NutsFactoryException exception

NutsFactoryException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsFactoryException(workspace, message, cause)

Constructs a new NutsFactoryException exception

NutsFactoryException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsFactoryException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsFactoryException exception

NutsFactoryException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsFetchModeNotSupportedException

public net.vpc.app.nuts.NutsFetchModeNotSupportedException

Created by vpc on 1/15/17.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsFetchModeNotSupportedException(workspace, repo, fetchMode, id, message)

Constructs a new NutsFetchModeNotSupportedException exception

NutsFetchModeNotSupportedException(NutsWorkspace workspace, NutsRepository repo, NutsFetchMode fetchMode, String id, String message)
  • NutsWorkspace workspace : workspace
  • NutsRepository repo : repository
  • NutsFetchMode fetchMode : fetch mode
  • String id : artifact id
  • String message : message

🪄 NutsFetchModeNotSupportedException(workspace, repo, fetchMode, id, message, cause)

Constructs a new NutsFetchModeNotSupportedException exception

NutsFetchModeNotSupportedException(NutsWorkspace workspace, NutsRepository repo, NutsFetchMode fetchMode, String id, String message, Exception cause)
  • NutsWorkspace workspace : workspace
  • NutsRepository repo : repository
  • NutsFetchMode fetchMode : fetch mode
  • String id : artifact id
  • String message : message
  • Exception cause : cause

🎛 Instance Properties

📄🎛 fetchMode

fetch mode

[read-only] NutsFetchMode public fetchMode
public NutsFetchMode getFetchMode()

📄🎛 id

artifact id

[read-only] String public id
public String getId()

📄🎛 repositoryName

repository name

[read-only] String public repositoryName
public String getRepositoryName()

📄🎛 repositoryUuid

repository uuid

[read-only] String public repositoryUuid
public String getRepositoryUuid()

☕ NutsIllegalArgumentException

public net.vpc.app.nuts.NutsIllegalArgumentException

Thrown to indicate that a method has been passed an illegal or inappropriate argument. +\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsIllegalArgumentException(workspace)

Constructs a new NutsIllegalArgumentException exception

NutsIllegalArgumentException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsIllegalArgumentException(workspace, cause)

Constructs a new NutsIllegalArgumentException exception

NutsIllegalArgumentException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsIllegalArgumentException(workspace, message)

Constructs a new NutsIllegalArgumentException exception

NutsIllegalArgumentException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsIllegalArgumentException(workspace, message, cause)

Constructs a new NutsIllegalArgumentException exception

NutsIllegalArgumentException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsIllegalArgumentException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsIllegalArgumentException exception

NutsIllegalArgumentException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsInstallException

public net.vpc.app.nuts.NutsInstallException

Created by vpc on 1/15/17.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsInstallException(workspace, id)

Custom Constructor

NutsInstallException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id

🪄 NutsInstallException(workspace, id)

Custom Constructor

NutsInstallException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : nuts id

🪄 NutsInstallException(workspace, id, msg, ex)

Custom Constructor

NutsInstallException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id
  • String msg : message
  • Exception ex : exception

🪄 NutsInstallException(workspace, id, msg, ex)

Custom Constructor

NutsInstallException(NutsWorkspace workspace, String id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • String id : nuts id
  • String msg : message
  • Exception ex : exception

☕ NutsInstallationException

public abstract net.vpc.app.nuts.NutsInstallationException

Base exception for installation fails.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsInstallationException(workspace, id, msg, ex)

Custom Constructor

NutsInstallationException(NutsWorkspace workspace, String id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • String id : nuts id
  • String msg : message
  • Exception ex : exception

🪄 NutsInstallationException(workspace, id, msg, ex)

Custom Constructor

NutsInstallationException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id
  • String msg : message
  • Exception ex : exception

🎛 Instance Properties

📄🎛 id

nuts id

[read-only] String public id
public String getId()

☕ NutsInvalidRepositoryException

public net.vpc.app.nuts.NutsInvalidRepositoryException

This Exception is thrown when the repository fails to initialize.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsInvalidRepositoryException(workspace, repository, message)

Constructs a new NutsInvalidRepositoryException exception

NutsInvalidRepositoryException(NutsWorkspace workspace, String repository, String message)
  • NutsWorkspace workspace : workspace
  • String repository : repository
  • String message : message

☕ NutsInvalidWorkspaceException

public net.vpc.app.nuts.NutsInvalidWorkspaceException

This Exception is thrown when the workspace fails to initialize.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsInvalidWorkspaceException(workspace, workspaceLocation, errorMessage)

Constructs a new NutsInvalidWorkspaceException exception

NutsInvalidWorkspaceException(NutsWorkspace workspace, String workspaceLocation, String errorMessage)
  • NutsWorkspace workspace : workspace
  • String workspaceLocation : workspaceLocation
  • String errorMessage : errorMessage

🎛 Instance Properties

📄🎛 workspaceLocation

workspace location

[read-only] String public workspaceLocation
public String getWorkspaceLocation()

☕ NutsLockAcquireException

public net.vpc.app.nuts.NutsLockAcquireException

Exception Thrown when a locked object is invoked. +\@author vpc +\@category Exception

🪄 Constructors

🪄 NutsLockAcquireException(workspace, lockedObject, lockObject)

Constructs a new ock exception.

NutsLockAcquireException(NutsWorkspace workspace, Object lockedObject, Object lockObject)
  • NutsWorkspace workspace : workspace
  • Object lockedObject : locked object
  • Object lockObject : lock Object

🪄 NutsLockAcquireException(workspace, message, lockedObject, lockObject)

Constructs a new ock exception.

NutsLockAcquireException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject)
  • NutsWorkspace workspace : workspace
  • String message : message or null
  • Object lockedObject : locked Object
  • Object lockObject : lock Object

🪄 NutsLockAcquireException(workspace, message, lockedObject, lockObject, cause)

Constructs a new ock exception.

NutsLockAcquireException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message or null
  • Object lockedObject : locked Object
  • Object lockObject : lock Object
  • Throwable cause : cause

☕ NutsLockBarrierException

public net.vpc.app.nuts.NutsLockBarrierException

Exception Thrown when a locked object is invoked. +\@author vpc +\@category Exception

🪄 Constructors

🪄 NutsLockBarrierException(workspace, lockedObject, lockObject)

Constructs a new lock exception.

NutsLockBarrierException(NutsWorkspace workspace, Object lockedObject, Object lockObject)
  • NutsWorkspace workspace : workspace
  • Object lockedObject : locked Object
  • Object lockObject : lock Object

🪄 NutsLockBarrierException(workspace, message, lockedObject, lockObject)

Constructs a new lock exception.

NutsLockBarrierException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject)
  • NutsWorkspace workspace : workspace
  • String message : message or null
  • Object lockedObject : locked Object
  • Object lockObject : lock Object

🪄 NutsLockBarrierException(workspace, message, lockedObject, lockObject, cause)

Constructs a new lock exception.

NutsLockBarrierException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message or null
  • Object lockedObject : locked Object
  • Object lockObject : lock Object
  • Throwable cause : cause

☕ NutsLockException

public net.vpc.app.nuts.NutsLockException

Exception Thrown when a locked object is invoked. +\@author vpc +\@category Exception

🪄 Constructors

🪄 NutsLockException(workspace, lockedObject, lockObject)

Constructs a new ock exception.

NutsLockException(NutsWorkspace workspace, Object lockedObject, Object lockObject)
  • NutsWorkspace workspace : workspace
  • Object lockedObject : locked Object
  • Object lockObject : lock Object

🪄 NutsLockException(workspace, message, lockedObject, lockObject)

Constructs a new ock exception.

NutsLockException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject)
  • NutsWorkspace workspace : workspace
  • String message : message or null
  • Object lockedObject : locked Object
  • Object lockObject : lock Object

🪄 NutsLockException(workspace, message, lockedObject, lockObject, cause)

Constructs a new ock exception.

NutsLockException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message or null
  • Object lockedObject : locked Object
  • Object lockObject : lock Object
  • Throwable cause : cause

🎛 Instance Properties

📄🎛 lockObject

return lock object

[read-only] Object public lockObject
public Object getLockObject()

📄🎛 lockedObject

return locked object

[read-only] Object public lockedObject
public Object getLockedObject()

☕ NutsLockReleaseException

public net.vpc.app.nuts.NutsLockReleaseException

Exception Thrown when a locked object is invoked. +\@author vpc +\@category Exception

🪄 Constructors

🪄 NutsLockReleaseException(workspace, lockedObject, lockObject)

Constructs a new ock exception.

NutsLockReleaseException(NutsWorkspace workspace, Object lockedObject, Object lockObject)
  • NutsWorkspace workspace : workspace
  • Object lockedObject : locked Object
  • Object lockObject : lock Object

🪄 NutsLockReleaseException(workspace, message, lockedObject, lockObject)

Constructs a new ock exception.

NutsLockReleaseException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject)
  • NutsWorkspace workspace : workspace
  • String message : message or null
  • Object lockedObject : locked Object
  • Object lockObject : lock Object

🪄 NutsLockReleaseException(workspace, message, lockedObject, lockObject, cause)

Constructs a new ock exception.

NutsLockReleaseException(NutsWorkspace workspace, String message, Object lockedObject, Object lockObject, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message or null
  • Object lockedObject : locked Object
  • Object lockObject : lock Object
  • Throwable cause : cause

☕ NutsLoginException

public net.vpc.app.nuts.NutsLoginException

\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsLoginException(workspace)

Constructs a new NutsLoginException exception

NutsLoginException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsLoginException(workspace, cause)

Constructs a new NutsLoginException exception

NutsLoginException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsLoginException(workspace, message)

Constructs a new NutsLoginException exception

NutsLoginException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsLoginException(workspace, message, cause)

Constructs a new NutsLoginException exception

NutsLoginException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsLoginException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsLoginException exception

NutsLoginException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsNotExecutableException

public net.vpc.app.nuts.NutsNotExecutableException

Exception thrown when a non executable nuts id is requested to run.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsNotExecutableException(workspace, id)

Constructs a new NutsNotExecutableException exception

NutsNotExecutableException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact id

🪄 NutsNotExecutableException(workspace, id)

Constructs a new NutsNotExecutableException exception

NutsNotExecutableException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : artifact id

🎛 Instance Properties

📄🎛 id

artifact id

[read-only] String public id
public String getId()

☕ NutsNotFoundException

public net.vpc.app.nuts.NutsNotFoundException

Exception thrown when the package could not be resolved

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsNotFoundException(workspace, id)

Constructs a new NutsNotFoundException exception

NutsNotFoundException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact id

🪄 NutsNotFoundException(workspace, id)

Constructs a new NutsNotFoundException exception

NutsNotFoundException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : artifact id

🪄 NutsNotFoundException(workspace, id, cause)

Constructs a new NutsNotFoundException exception

NutsNotFoundException(NutsWorkspace workspace, NutsId id, Exception cause)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact id
  • Exception cause : cause

🪄 NutsNotFoundException(workspace, id, message, cause)

Constructs a new NutsNotFoundException exception

NutsNotFoundException(NutsWorkspace workspace, String id, String message, Exception cause)
  • NutsWorkspace workspace : workspace
  • String id : artifact id
  • String message : message
  • Exception cause : cause

🪄 NutsNotFoundException(workspace, id, message, cause)

Constructs a new NutsNotFoundException exception

NutsNotFoundException(NutsWorkspace workspace, NutsId id, String message, Exception cause)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact id
  • String message : message
  • Exception cause : cause

🎛 Instance Properties

📄🎛 id

artifact id

[read-only] String public id
public String getId()

☕ NutsNotInstallableException

public net.vpc.app.nuts.NutsNotInstallableException

This exception is thrown when an artifact fails to be installed.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsNotInstallableException(workspace, id)

Constructs a new NutsNotInstallableException exception

NutsNotInstallableException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact

🪄 NutsNotInstallableException(workspace, id)

Constructs a new NutsNotInstallableException exception

NutsNotInstallableException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : artifact

🪄 NutsNotInstallableException(workspace, id, msg, ex)

Constructs a new NutsNotInstallableException exception

NutsNotInstallableException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact
  • String msg : message
  • Exception ex : exception

🪄 NutsNotInstallableException(workspace, id, msg, ex)

Constructs a new NutsNotInstallableException exception

NutsNotInstallableException(NutsWorkspace workspace, String id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • String id : artifact
  • String msg : message
  • Exception ex : exception

☕ NutsNotInstalledException

public net.vpc.app.nuts.NutsNotInstalledException

This Exception is fired when an artifact fails to be uninstalled for the artifact not being installed yet.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsNotInstalledException(workspace, id)

Constructs a new NutsNotInstalledException exception

NutsNotInstalledException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact

🪄 NutsNotInstalledException(workspace, id)

Constructs a new NutsNotInstalledException exception

NutsNotInstalledException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : artifact

🪄 NutsNotInstalledException(workspace, id, msg, ex)

Constructs a new NutsNotInstalledException exception

NutsNotInstalledException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact
  • String msg : message
  • Exception ex : error

🪄 NutsNotInstalledException(workspace, id, msg, ex)

Constructs a new NutsNotInstalledException exception

NutsNotInstalledException(NutsWorkspace workspace, String id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • String id : artifact
  • String msg : message
  • Exception ex : exception

☕ NutsParseEnumException

public net.vpc.app.nuts.NutsParseEnumException

Exception Thrown when for any reason, the enum value is not expected/supported. +\@author vpc +\@category Exception

🪄 Constructors

🪄 NutsParseEnumException(workspace, invalidValue, enumType)

create new instance of NutsUnexpectedEnumException

NutsParseEnumException(NutsWorkspace workspace, String invalidValue, Class enumType)
  • NutsWorkspace workspace : workspace
  • String invalidValue : invalid value
  • Class enumType : enumeration instance (cannot be null)

🪄 NutsParseEnumException(workspace, message, invalidValue, enumType)

create new instance of NutsUnexpectedEnumException

NutsParseEnumException(NutsWorkspace workspace, String message, String invalidValue, Class enumType)
  • NutsWorkspace workspace : workspace
  • String message : message
  • String invalidValue : invalid value
  • Class enumType : enumeration instance (cannot be null)

🎛 Instance Properties

📄🎛 enumType

enum type

[read-only] Class public enumType
public Class getEnumType()

📄🎛 invalidValue

return invalid value

[read-only] String public invalidValue
public String getInvalidValue()

☕ NutsParseException

public net.vpc.app.nuts.NutsParseException

\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsParseException(workspace)

Constructs a new NutsParseException exception

NutsParseException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsParseException(workspace, cause)

Constructs a new NutsParseException exception

NutsParseException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsParseException(workspace, message)

Constructs a new NutsParseException exception

NutsParseException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsParseException(workspace, message, cause)

Constructs a new NutsParseException exception

NutsParseException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsParseException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsParseException exception

NutsParseException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsPushException

public net.vpc.app.nuts.NutsPushException

Push Exception

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsPushException(workspace, id)

Constructs a new NutsPushException exception

NutsPushException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : artifact id

🪄 NutsPushException(workspace, id)

Constructs a new NutsPushException exception

NutsPushException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact id

🪄 NutsPushException(workspace, id, message)

Constructs a new NutsPushException exception

NutsPushException(NutsWorkspace workspace, String id, String message)
  • NutsWorkspace workspace : workspace
  • String id : artifact id
  • String message : message

🪄 NutsPushException(workspace, id, message)

Constructs a new NutsPushException exception

NutsPushException(NutsWorkspace workspace, NutsId id, String message)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact id
  • String message : message

🪄 NutsPushException(workspace, id, message, cause)

Constructs a new NutsPushException exception

NutsPushException(NutsWorkspace workspace, String id, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String id : artifact id
  • String message : message
  • Throwable cause : cause

🪄 NutsPushException(workspace, id, message, cause)

Constructs a new NutsPushException exception

NutsPushException(NutsWorkspace workspace, NutsId id, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • NutsId id : artifact id
  • String message : message
  • Throwable cause : cause

🎛 Instance Properties

📄🎛 id

artifact id

[read-only] String public id
public String getId()

☕ NutsReadOnlyException

public net.vpc.app.nuts.NutsReadOnlyException

Created by vpc on 1/15/17.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsReadOnlyException(workspace)

Constructs a new NutsReadOnlyException exception

NutsReadOnlyException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsReadOnlyException(workspace, location)

Constructs a new NutsReadOnlyException exception

NutsReadOnlyException(NutsWorkspace workspace, String location)
  • NutsWorkspace workspace : workspace
  • String location : location

☕ NutsRepositoryAlreadyRegisteredException

public net.vpc.app.nuts.NutsRepositoryAlreadyRegisteredException

This exception is thrown when a repository location could no be loaded because +the repository is already registered for the actual workspace. +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsRepositoryAlreadyRegisteredException(workspace, repository)

Constructs a new NutsNotInstalledException exception

NutsRepositoryAlreadyRegisteredException(NutsWorkspace workspace, String repository)
  • NutsWorkspace workspace : workspace
  • String repository : repository

🪄 NutsRepositoryAlreadyRegisteredException(workspace, repository, err)

Constructs a new NutsNotInstalledException exception

NutsRepositoryAlreadyRegisteredException(NutsWorkspace workspace, String repository, Throwable err)
  • NutsWorkspace workspace : workspace
  • String repository : repository
  • Throwable err : error

☕ NutsRepositoryException

public abstract net.vpc.app.nuts.NutsRepositoryException

Base exception for Repository related exceptions

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsRepositoryException(workspace, repository, message, ex)

Constructs a new NutsRepositoryException exception

NutsRepositoryException(NutsWorkspace workspace, String repository, String message, Throwable ex)
  • NutsWorkspace workspace : workspace
  • String repository : repository
  • String message : message
  • Throwable ex : exception

🎛 Instance Properties

📄🎛 repository

the repository of this exception

[read-only] String public repository
public String getRepository()

☕ NutsRepositoryNotFoundException

public net.vpc.app.nuts.NutsRepositoryNotFoundException

This exception is thrown when a repository location could no be loaded because +the repository config files are missing.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsRepositoryNotFoundException(workspace, repository)

Constructs a new NutsRepositoryNotFoundException exception

NutsRepositoryNotFoundException(NutsWorkspace workspace, String repository)
  • NutsWorkspace workspace : workspace
  • String repository : repository

☕ NutsSecurityException

public net.vpc.app.nuts.NutsSecurityException

Thrown by Nuts Workspace to indicate a security violation. +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsSecurityException(workspace)

Constructs a \<code>NutsSecurityException\</code> with the specified +parameters.

NutsSecurityException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsSecurityException(workspace, cause)

Constructs a \<code>NutsSecurityException\</code> with the specified +parameters.

NutsSecurityException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsSecurityException(workspace, message)

Constructs a \<code>NutsSecurityException\</code> with the specified +parameters.

NutsSecurityException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : the detail message.

🪄 NutsSecurityException(workspace, message, cause)

Constructs a \<code>NutsSecurityException\</code> with the specified +parameters.

NutsSecurityException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🎛 Instance Properties

📄🎛 workspace

current workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsTooManyElementsException

public net.vpc.app.nuts.NutsTooManyElementsException

\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsTooManyElementsException(workspace)

Constructs a new NutsTooManyElementsException exception

NutsTooManyElementsException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsTooManyElementsException(workspace, cause)

Constructs a new NutsTooManyElementsException exception

NutsTooManyElementsException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsTooManyElementsException(workspace, cause)

Constructs a new NutsTooManyElementsException exception

NutsTooManyElementsException(NutsWorkspace workspace, IOException cause)
  • NutsWorkspace workspace : workspace
  • IOException cause : cause

🪄 NutsTooManyElementsException(workspace, message)

Constructs a new NutsTooManyElementsException exception

NutsTooManyElementsException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsTooManyElementsException(workspace, message, cause)

Constructs a new NutsTooManyElementsException exception

NutsTooManyElementsException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsTooManyElementsException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsTooManyElementsException exception

NutsTooManyElementsException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsUnexpectedException

public net.vpc.app.nuts.NutsUnexpectedException

\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsUnexpectedException(workspace)

Constructs a new NutsUnexpectedException exception

NutsUnexpectedException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsUnexpectedException(workspace, cause)

Constructs a new NutsUnexpectedException exception

NutsUnexpectedException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsUnexpectedException(workspace, cause)

Constructs a new NutsUnexpectedException exception

NutsUnexpectedException(NutsWorkspace workspace, IOException cause)
  • NutsWorkspace workspace : workspace
  • IOException cause : cause

🪄 NutsUnexpectedException(workspace, message)

Constructs a new NutsUnexpectedException exception

NutsUnexpectedException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsUnexpectedException(workspace, message, cause)

Constructs a new NutsUnexpectedException exception

NutsUnexpectedException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsUnexpectedException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsUnexpectedException exception

NutsUnexpectedException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsUninstallException

public net.vpc.app.nuts.NutsUninstallException

This Exception is thrown when an artifact fails to be uninstalled

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsUninstallException(workspace, id)

Custom Constructor

NutsUninstallException(NutsWorkspace workspace, NutsId id)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id

🪄 NutsUninstallException(workspace, id)

Custom Constructor

NutsUninstallException(NutsWorkspace workspace, String id)
  • NutsWorkspace workspace : workspace
  • String id : nuts id

🪄 NutsUninstallException(workspace, id, msg, ex)

Custom Constructor

NutsUninstallException(NutsWorkspace workspace, NutsId id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • NutsId id : nuts id
  • String msg : message
  • Exception ex : exception

🪄 NutsUninstallException(workspace, id, msg, ex)

Custom Constructor

NutsUninstallException(NutsWorkspace workspace, String id, String msg, Exception ex)
  • NutsWorkspace workspace : workspace
  • String id : nuts id
  • String msg : message
  • Exception ex : exception

☕ NutsUnsatisfiedRequirementsException

public net.vpc.app.nuts.NutsUnsatisfiedRequirementsException

\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsUnsatisfiedRequirementsException(workspace)

Constructs a new NutsUnsatisfiedRequirementsException exception

NutsUnsatisfiedRequirementsException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsUnsatisfiedRequirementsException(workspace, cause)

Constructs a new NutsUnsatisfiedRequirementsException exception

NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsUnsatisfiedRequirementsException(workspace, cause)

Constructs a new NutsUnsatisfiedRequirementsException exception

NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, IOException cause)
  • NutsWorkspace workspace : workspace
  • IOException cause : cause

🪄 NutsUnsatisfiedRequirementsException(workspace, message)

Constructs a new NutsUnsatisfiedRequirementsException exception

NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsUnsatisfiedRequirementsException(workspace, message, cause)

Constructs a new NutsUnsatisfiedRequirementsException exception

NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsUnsatisfiedRequirementsException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsUnsatisfiedRequirementsException exception

NutsUnsatisfiedRequirementsException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsUnsupportedArgumentException

public net.vpc.app.nuts.NutsUnsupportedArgumentException

\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsUnsupportedArgumentException(workspace)

Constructs a new NutsUnsupportedArgumentException exception

NutsUnsupportedArgumentException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsUnsupportedArgumentException(workspace, cause)

Constructs a new NutsUnsupportedArgumentException exception

NutsUnsupportedArgumentException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsUnsupportedArgumentException(workspace, message)

Constructs a new NutsUnsupportedArgumentException exception

NutsUnsupportedArgumentException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsUnsupportedArgumentException(workspace, message, cause)

Constructs a new NutsUnsupportedArgumentException exception

NutsUnsupportedArgumentException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsUnsupportedArgumentException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsUnsupportedArgumentException exception

NutsUnsupportedArgumentException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsUnsupportedEnumException

public net.vpc.app.nuts.NutsUnsupportedEnumException

Exception Thrown when for any reason, the enum value is not expected/supported.

\@author vpc +\@category Exception

🪄 Constructors

🪄 NutsUnsupportedEnumException(workspace, enumValue)

create new instance of NutsUnexpectedEnumException

NutsUnsupportedEnumException(NutsWorkspace workspace, Enum enumValue)
  • NutsWorkspace workspace : workspace
  • Enum enumValue : enumeration instance (cannot be null)

🪄 NutsUnsupportedEnumException(workspace, message, enumValue)

create new instance of NutsUnexpectedEnumException

NutsUnsupportedEnumException(NutsWorkspace workspace, String message, Enum enumValue)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Enum enumValue : enumeration instance (cannot be null)

🪄 NutsUnsupportedEnumException(workspace, message, stringValue, enumValue)

create new instance of NutsUnexpectedEnumException

NutsUnsupportedEnumException(NutsWorkspace workspace, String message, String stringValue, Enum enumValue)
  • NutsWorkspace workspace : workspace
  • String message : message
  • String stringValue : invalid value
  • Enum enumValue : enumeration instance (cannot be null)

🎛 Instance Properties

📄🎛 enumValue

enum value

[read-only] Enum public enumValue
public Enum getEnumValue()

☕ NutsUnsupportedOperationException

public net.vpc.app.nuts.NutsUnsupportedOperationException

\@author vpc +\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsUnsupportedOperationException(workspace)

Constructs a new NutsUnsupportedOperationException exception

NutsUnsupportedOperationException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsUnsupportedOperationException(workspace, cause)

Constructs a new NutsUnsupportedOperationException exception

NutsUnsupportedOperationException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsUnsupportedOperationException(workspace, message)

Constructs a new NutsUnsupportedOperationException exception

NutsUnsupportedOperationException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsUnsupportedOperationException(workspace, message, cause)

Constructs a new NutsUnsupportedOperationException exception

NutsUnsupportedOperationException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsUnsupportedOperationException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsUnsupportedOperationException exception

NutsUnsupportedOperationException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsUserCancelException

public net.vpc.app.nuts.NutsUserCancelException

\@author vpc +\@since 0.5.4 +\@category Exception

📢❄ Constant Fields

📢❄ DEFAULT_CANCEL_EXIT_CODE

public static final int DEFAULT_CANCEL_EXIT_CODE = 245

🪄 Constructors

🪄 NutsUserCancelException(workspace)

Constructs a new NutsUserCancelException exception

NutsUserCancelException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsUserCancelException(workspace, message)

Constructs a new NutsUserCancelException exception

NutsUserCancelException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsUserCancelException(workspace, message, exitCode)

Constructs a new NutsUserCancelException exception

NutsUserCancelException(NutsWorkspace workspace, String message, int exitCode)
  • NutsWorkspace workspace : workspace
  • String message : message
  • int exitCode : exit code

☕ NutsValidationException

public net.vpc.app.nuts.NutsValidationException

\@author vpc +\@since 0.5.5 +\@category Exception

🪄 Constructors

🪄 NutsValidationException(workspace)

Constructs a new NutsValidationException exception

NutsValidationException(NutsWorkspace workspace)
  • NutsWorkspace workspace : workspace

🪄 NutsValidationException(workspace, cause)

Constructs a new NutsValidationException exception

NutsValidationException(NutsWorkspace workspace, Throwable cause)
  • NutsWorkspace workspace : workspace
  • Throwable cause : cause

🪄 NutsValidationException(workspace, cause)

Constructs a new NutsValidationException exception

NutsValidationException(NutsWorkspace workspace, IOException cause)
  • NutsWorkspace workspace : workspace
  • IOException cause : cause

🪄 NutsValidationException(workspace, message)

Constructs a new NutsValidationException exception

NutsValidationException(NutsWorkspace workspace, String message)
  • NutsWorkspace workspace : workspace
  • String message : message

🪄 NutsValidationException(workspace, message, cause)

Constructs a new NutsValidationException exception

NutsValidationException(NutsWorkspace workspace, String message, Throwable cause)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause

🪄 NutsValidationException(workspace, message, cause, enableSuppression, writableStackTrace)

Constructs a new NutsValidationException exception

NutsValidationException(NutsWorkspace workspace, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable cause : cause
  • boolean enableSuppression : whether or not suppression is enabled or disabled
  • boolean writableStackTrace : whether or not the stack trace should be writable

☕ NutsWorkspaceAlreadyExistsException

public net.vpc.app.nuts.NutsWorkspaceAlreadyExistsException

Created by vpc on 1/15/17.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsWorkspaceAlreadyExistsException(workspace, workspaceLocation)

Constructs a new NutsWorkspaceAlreadyExistsException exception

NutsWorkspaceAlreadyExistsException(NutsWorkspace workspace, String workspaceLocation)
  • NutsWorkspace workspace : workspace
  • String workspaceLocation : location

🪄 NutsWorkspaceAlreadyExistsException(workspace, workspaceLocation, err)

Constructs a new NutsWorkspaceAlreadyExistsException exception

NutsWorkspaceAlreadyExistsException(NutsWorkspace workspace, String workspaceLocation, Throwable err)
  • NutsWorkspace workspace : workspace
  • String workspaceLocation : location
  • Throwable err : exception

🎛 Instance Properties

📄🎛 workspaceLocation

workspace location

[read-only] String public workspaceLocation
public String getWorkspaceLocation()

☕ NutsWorkspaceException

public abstract net.vpc.app.nuts.NutsWorkspaceException

NutsWorkspaceException is the base class for Workspace related exceptions.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsWorkspaceException(workspace, message, ex)

Constructs a new NutsWorkspaceException exception

NutsWorkspaceException(NutsWorkspace workspace, String message, Throwable ex)
  • NutsWorkspace workspace : workspace
  • String message : message
  • Throwable ex : exception

☕ NutsWorkspaceNotFoundException

public net.vpc.app.nuts.NutsWorkspaceNotFoundException

This Exception is thrown when the workspace does not exist.

\@since 0.5.4 +\@category Exception

🪄 Constructors

🪄 NutsWorkspaceNotFoundException(workspace, workspaceLocation)

Constructs a new NutsWorkspaceNotFoundException exception

NutsWorkspaceNotFoundException(NutsWorkspace workspace, String workspaceLocation)
  • NutsWorkspace workspace : workspace
  • String workspaceLocation : location

🎛 Instance Properties

📄🎛 workspaceLocation

workspace location

[read-only] String public workspaceLocation
public String getWorkspaceLocation()
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Extensions/index.html b/docs/docs/javadocs/javadoc_Extensions/index.html new file mode 100644 index 000000000..ca4c54f83 --- /dev/null +++ b/docs/docs/javadocs/javadoc_Extensions/index.html @@ -0,0 +1,37 @@ + + + + + + +Extensions | Nuts + + + + + + + + + + + + +
+

Extensions

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsRepositoryModel

public interface net.vpc.app.nuts.NutsRepositoryModel

\@author vpc +\@category Extensions

📢❄ Constant Fields

📢❄ CACHE

public static final int CACHE = 48

📢❄ CACHE_READ

public static final int CACHE_READ = 16

📢❄ CACHE_WRITE

public static final int CACHE_WRITE = 32

📢❄ LIB

public static final int LIB = 14

📢❄ LIB_OVERRIDE

public static final int LIB_OVERRIDE = 8

📢❄ LIB_READ

public static final int LIB_READ = 2

📢❄ LIB_WRITE

public static final int LIB_WRITE = 4

📢❄ MIRRORING

public static final int MIRRORING = 1

🎛 Instance Properties

📄🎛 deployOrder

[read-only] int public deployOrder
public int getDeployOrder()

📄🎛 mode

[read-only] int public mode
public int getMode()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 repositoryType

[read-only] String public repositoryType
public String getRepositoryType()

📄🎛 speed

[read-only] int public speed
public int getSpeed()

📄🎛 storeLocationStrategy

[read-only] NutsStoreLocationStrategy public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()

📄🎛 uuid

[read-only] String public uuid
public String getUuid()

⚙ Instance Methods

⚙ acceptDeploy(id, mode, repository, session)

boolean acceptDeploy(NutsId id, NutsFetchMode mode, NutsRepository repository, NutsSession session)

return:boolean

  • NutsId id :
  • NutsFetchMode mode :
  • NutsRepository repository :
  • NutsSession session :

⚙ acceptFetch(id, mode, repository, session)

boolean acceptFetch(NutsId id, NutsFetchMode mode, NutsRepository repository, NutsSession session)

return:boolean

  • NutsId id :
  • NutsFetchMode mode :
  • NutsRepository repository :
  • NutsSession session :

⚙ fetchContent(id, descriptor, localPath, fetchMode, repository, session)

NutsContent fetchContent(NutsId id, NutsDescriptor descriptor, Path localPath, NutsFetchMode fetchMode, NutsRepository repository, NutsSession session)

return:NutsContent

  • NutsId id :
  • NutsDescriptor descriptor :
  • Path localPath :
  • NutsFetchMode fetchMode :
  • NutsRepository repository :
  • NutsSession session :

⚙ fetchDescriptor(id, fetchMode, repository, session)

NutsDescriptor fetchDescriptor(NutsId id, NutsFetchMode fetchMode, NutsRepository repository, NutsSession session)

return:NutsDescriptor

  • NutsId id :
  • NutsFetchMode fetchMode :
  • NutsRepository repository :
  • NutsSession session :

⚙ search(filter, roots, fetchMode, repository, session)

Iterator search(NutsIdFilter filter, String[] roots, NutsFetchMode fetchMode, NutsRepository repository, NutsSession session)

return:Iterator

  • NutsIdFilter filter :
  • String[] roots :
  • NutsFetchMode fetchMode :
  • NutsRepository repository :
  • NutsSession session :

⚙ searchLatestVersion(id, filter, fetchMode, repository, session)

NutsId searchLatestVersion(NutsId id, NutsIdFilter filter, NutsFetchMode fetchMode, NutsRepository repository, NutsSession session)

return:NutsId

  • NutsId id :
  • NutsIdFilter filter :
  • NutsFetchMode fetchMode :
  • NutsRepository repository :
  • NutsSession session :

⚙ searchVersions(id, idFilter, fetchMode, repository, session)

Iterator searchVersions(NutsId id, NutsIdFilter idFilter, NutsFetchMode fetchMode, NutsRepository repository, NutsSession session)

return:Iterator

  • NutsId id :
  • NutsIdFilter idFilter :
  • NutsFetchMode fetchMode :
  • NutsRepository repository :
  • NutsSession session :

⚙ updateStatistics(repository, session)

void updateStatistics(NutsRepository repository, NutsSession session)
  • NutsRepository repository :
  • NutsSession session :

☕ NutsWorkspaceExtension

public interface net.vpc.app.nuts.NutsWorkspaceExtension

Created by vpc on 1/15/17.

\@since 0.5.4 +\@category Extensions

🎛 Instance Properties

📄🎛 id

extension id pattern (configured)

[read-only] NutsId public id
public NutsId getId()

📄🎛 wiredId

extension id resolved and wired

[read-only] NutsId public wiredId
public NutsId getWiredId()

☕ NutsWorkspaceExtensionManager

public interface net.vpc.app.nuts.NutsWorkspaceExtensionManager

\@author vpc +\@since 0.5.4 +\@category Extensions

🎛 Instance Properties

📄🎛 extensionObjects

[read-only] List public extensionObjects
public List getExtensionObjects(extensionPoint)

📄🎛 extensionPoints

[read-only] Set public extensionPoints
public Set getExtensionPoints()

📄🎛 extensionTypes

[read-only] Set public extensionTypes
public Set getExtensionTypes(extensionPoint)

📄🎛 extensions

return loaded extensions

[read-only] NutsId[] public extensions
public NutsId[] getExtensions()

📄🎛 implementationTypes

[read-only] List public implementationTypes
public List getImplementationTypes(type)

📄🎛 registeredInstance

[read-only] boolean public registeredInstance
public boolean isRegisteredInstance(extensionPointType, extensionImpl)

📄🎛 registeredType

[read-only] boolean public registeredType
public boolean isRegisteredType(extensionPointType, extensionType)

⚙ Instance Methods

⚙ createAll(type)

List createAll(Class type)

return:List

  • Class type :

⚙ createAllSupported(type, supportCriteria)

List createAllSupported(Class type, NutsSupportLevelContext supportCriteria)

return:List

  • Class type :
  • NutsSupportLevelContext supportCriteria :

⚙ createServiceLoader(serviceType, criteriaType)

NutsServiceLoader createServiceLoader(Class serviceType, Class criteriaType)

return:NutsServiceLoader

  • Class serviceType :
  • Class criteriaType :

⚙ createServiceLoader(serviceType, criteriaType, classLoader)

NutsServiceLoader createServiceLoader(Class serviceType, Class criteriaType, ClassLoader classLoader)

return:NutsServiceLoader

  • Class serviceType :
  • Class criteriaType :
  • ClassLoader classLoader :

⚙ createSupported(type, supportCriteria)

create supported extension implementation or return null.

NutsComponent createSupported(Class type, NutsSupportLevelContext supportCriteria)

return:NutsComponent

  • Class type : extension type
  • NutsSupportLevelContext supportCriteria : context

⚙ createSupported(type, supportCriteria, constructorParameterTypes, constructorParameters)

create supported extension implementation or return null.

NutsComponent createSupported(Class type, NutsSupportLevelContext supportCriteria, Class[] constructorParameterTypes, Object[] constructorParameters)

return:NutsComponent

  • Class type : extension type
  • NutsSupportLevelContext supportCriteria : context
  • Class[] constructorParameterTypes : constructor Parameter Types
  • Object[] constructorParameters : constructor Parameters

⚙ discoverTypes(classLoader)

List discoverTypes(ClassLoader classLoader)

return:List

  • ClassLoader classLoader :

⚙ installWorkspaceExtensionComponent(extensionPointType, extensionImpl)

boolean installWorkspaceExtensionComponent(Class extensionPointType, Object extensionImpl)

return:boolean

  • Class extensionPointType :
  • Object extensionImpl :

⚙ registerInstance(extensionPoint, implementation)

boolean registerInstance(Class extensionPoint, Object implementation)

return:boolean

  • Class extensionPoint :
  • Object implementation :

⚙ registerType(extensionPointType, extensionType)

boolean registerType(Class extensionPointType, Class extensionType)

return:boolean

  • Class extensionPointType :
  • Class extensionType :
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Format/index.html b/docs/docs/javadocs/javadoc_Format/index.html new file mode 100644 index 000000000..45a363d1b --- /dev/null +++ b/docs/docs/javadocs/javadoc_Format/index.html @@ -0,0 +1,229 @@ + + + + + + +Format | Nuts + + + + + + + + + + + + +
+

Format

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsDependencyFormat

public interface net.vpc.app.nuts.NutsDependencyFormat

Dependency Format Helper +\@author vpc +\@since 0.5.6 +\@category Format

🎛 Instance Properties

📝🎛 highlightImportedGroup

if true omit (do not include) name space when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public highlightImportedGroup
public boolean isHighlightImportedGroup()
public NutsDependencyFormat setHighlightImportedGroup(highlightImportedGroup)

📝🎛 highlightOptional

if true omit (do not include) name space when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public highlightOptional
public boolean isHighlightOptional()
public NutsDependencyFormat setHighlightOptional(highlightOptional)

📝🎛 highlightScope

if true omit (do not include) name space when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public highlightScope
public boolean isHighlightScope()
public NutsDependencyFormat setHighlightScope(highlightScope)

📝🎛 omitClassifier

if true omit (do not include) face when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public omitClassifier
public boolean isOmitClassifier()
public NutsDependencyFormat setOmitClassifier(value)

📝🎛 omitExclusions

if true omit (do not include) face when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public omitExclusions
public boolean isOmitExclusions()
public NutsDependencyFormat setOmitExclusions(value)

📝🎛 omitGroupId

if true omit (do not include) group when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public omitGroupId
public boolean isOmitGroupId()
public NutsDependencyFormat setOmitGroupId(omitGroup)

✏🎛 omitImportedGroup

if true omit (do not include) group (if the group is imported) when formatting the value +set using {\@link #setValue(NutsDependency)} .

[write-only] NutsDependencyFormat public omitImportedGroup
public NutsDependencyFormat setOmitImportedGroup(omitEnv)

📄🎛 omitImportedGroupId

omit imported group

[read-only] boolean public omitImportedGroupId
public boolean isOmitImportedGroupId()

📝🎛 omitNamespace

if true omit (do not include) namespace when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public omitNamespace
public boolean isOmitNamespace()
public NutsDependencyFormat setOmitNamespace(omitNamespace)

📝🎛 omitOptional

if true omit (do not include) face when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public omitOptional
public boolean isOmitOptional()
public NutsDependencyFormat setOmitOptional(value)

📝🎛 omitOtherProperties

if true omit (do not include) query (scope and optional) when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public omitOtherProperties
public boolean isOmitOtherProperties()
public NutsDependencyFormat setOmitOtherProperties(value)

📄🎛 omitQueryProperties

list of all omitted query properties

[read-only] String[] public omitQueryProperties
public String[] getOmitQueryProperties()

📝🎛 omitScope

if true omit (do not include) face when formatting the value +set using {\@link #setValue(NutsDependency)} .

[read-write] NutsDependencyFormat public omitScope
public boolean isOmitScope()
public NutsDependencyFormat setOmitScope(value)

✏🎛 session

update session

[write-only] NutsDependencyFormat public session
public NutsDependencyFormat setSession(session)

📝🎛 value

value dependency to format

[read-write] NutsDependencyFormat public value
public NutsDependency getValue()
public NutsDependencyFormat setValue(dependency)

⚙ Instance Methods

⚙ builder()

return mutable id builder instance initialized with {\@code this} instance.

NutsDependencyBuilder builder()

return:NutsDependencyBuilder

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsDependencyFormat configure(boolean skipUnsupported, String[] args)

return:NutsDependencyFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ isOmitQueryProperty(name)

return true if omit query property named {\@code name}

boolean isOmitQueryProperty(String name)

return:boolean

  • String name : property name

⚙ parse(dependency)

parse dependency in the form +namespace://group:name#version?scope=<scope>{\@code &}optional=<optional> +If the string cannot be evaluated, return null.

NutsDependency parse(String dependency)

return:NutsDependency

  • String dependency : dependency

⚙ parseRequired(dependency)

parse dependency in the form +namespace://group:name#version?scope=<scope>{\@code &}optional=<optional> +If the string cannot be evaluated, return null.

NutsDependency parseRequired(String dependency)

return:NutsDependency

  • String dependency : dependency

⚙ setOmitQueryProperty(name, value)

if true omit (do not include) query property named {\@code name} when formatting the value +set using {\@link #setValue(NutsDependency)} .

NutsDependencyFormat setOmitQueryProperty(String name, boolean value)

return:NutsDependencyFormat

  • String name : property name
  • boolean value : new value

☕ NutsDescriptorFormat

public interface net.vpc.app.nuts.NutsDescriptorFormat

Descriptor Format class that help building, formatting and parsing Descriptors. +\@author vpc +\@since 0.5.4 +\@category Format

🎛 Instance Properties

📝🎛 compact

value compact flag. +When true, formatted Descriptor will compact JSON result.

[read-write] NutsDescriptorFormat public compact
public boolean isCompact()
public NutsDescriptorFormat setCompact(compact)

⚙ Instance Methods

⚙ callBuilder()

create executor builder.

NutsArtifactCallBuilder callBuilder()

return:NutsArtifactCallBuilder

⚙ classifierBuilder()

create classifier mappings builder.

NutsClassifierMappingBuilder classifierBuilder()

return:NutsClassifierMappingBuilder

⚙ compact()

value compact flag to true. +When true, formatted Descriptor will compact JSON result.

NutsDescriptorFormat compact()

return:NutsDescriptorFormat

⚙ compact(compact)

value compact flag. +When true, formatted Descriptor will compact JSON result.

NutsDescriptorFormat compact(boolean compact)

return:NutsDescriptorFormat

  • boolean compact : compact value

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsDescriptorFormat configure(boolean skipUnsupported, String[] args)

return:NutsDescriptorFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ descriptorBuilder()

create descriptor builder.

NutsDescriptorBuilder descriptorBuilder()

return:NutsDescriptorBuilder

⚙ locationBuilder()

create descriptor builder.

NutsIdLocationBuilder locationBuilder()

return:NutsIdLocationBuilder

⚙ parse(bytes)

parse descriptor.

NutsDescriptor parse(byte[] bytes)

return:NutsDescriptor

  • byte[] bytes : value to parse

⚙ parse(descriptorString)

parse descriptor.

NutsDescriptor parse(String descriptorString)

return:NutsDescriptor

  • String descriptorString : string to parse

⚙ parse(file)

parse descriptor.

NutsDescriptor parse(File file)

return:NutsDescriptor

  • File file : file to parse

⚙ parse(path)

parse descriptor.

NutsDescriptor parse(Path path)

return:NutsDescriptor

  • Path path : path to parse

⚙ parse(stream)

parse descriptor.

NutsDescriptor parse(InputStream stream)

return:NutsDescriptor

  • InputStream stream : stream to parse

⚙ parse(url)

parse descriptor.

NutsDescriptor parse(URL url)

return:NutsDescriptor

  • URL url : URL to parse

⚙ value(descriptor)

set the descriptor instance to print

NutsDescriptorFormat value(NutsDescriptor descriptor)

return:NutsDescriptorFormat

  • NutsDescriptor descriptor : value to format

☕ NutsElementFormat

public interface net.vpc.app.nuts.NutsElementFormat

Class responsible of manipulating {\@link NutsElement} type. It help parsing +from, converting to and formatting such types.

\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

✏🎛 session

set current session.

[write-only] NutsElementFormat public session
public NutsElementFormat setSession(session)

📝🎛 value

set current value to format.

[read-write] NutsElementFormat public value
public Object getValue()
public NutsElementFormat setValue(value)

⚙ Instance Methods

⚙ builder()

element builder

NutsElementBuilder builder()

return:NutsElementBuilder

⚙ compilePath(pathExpression)

compile pathExpression into a valid NutsElementPath that helps filtering +elements tree. +JSONPath expressions refer to a JSON structure the same way as XPath expression are used with XML documents. +JSONPath expressions can use the dot notation and/or bracket notations +.store.book[0].title +The trailing root is not necessary : +.store.book[0].title +You can also use bracket notation +store[\'book\'][0].title +for input paths.

NutsElementPath compilePath(String pathExpression)

return:NutsElementPath

  • String pathExpression : element path expression

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) +} +to help return a more specific return type;

NutsElementFormat configure(boolean skipUnsupported, String[] args)

return:NutsElementFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ fromElement(element, clazz)

convert element to the specified object if applicable or throw an +exception.

Object fromElement(NutsElement element, Class clazz)

return:Object

  • NutsElement element : element to convert
  • Class clazz : class type

⚙ set(value)

set current value to format.

NutsElementFormat set(Object value)

return:NutsElementFormat

  • Object value : value to format

⚙ toElement(object)

convert any object to valid {\@link NutsElement}.

NutsElement toElement(Object object)

return:NutsElement

  • Object object : object to convert

☕ NutsExecCommandFormat

public interface net.vpc.app.nuts.NutsExecCommandFormat

Format used to format command line by {\@link NutsExecCommand}

\@author vpc +\@see NutsExecCommand#format() +\@since 0.5.4 +\@category Format

🎛 Instance Properties

📝🎛 argumentFilter

set arg filter

[read-write] NutsExecCommandFormat public argumentFilter
public Predicate getArgumentFilter()
public NutsExecCommandFormat setArgumentFilter(filter)

📝🎛 argumentReplacer

set arg replacer

[read-write] NutsExecCommandFormat public argumentReplacer
public Function getArgumentReplacer()
public NutsExecCommandFormat setArgumentReplacer(replacer)

📝🎛 envFilter

set env filter

[read-write] NutsExecCommandFormat public envFilter
public Predicate getEnvFilter()
public NutsExecCommandFormat setEnvFilter(filter)

📝🎛 envReplacer

set env replacer

[read-write] NutsExecCommandFormat public envReplacer
public Function getEnvReplacer()
public NutsExecCommandFormat setEnvReplacer(replacer)

📝🎛 redirectError

if true error redirection is displayed

[read-write] NutsExecCommandFormat public redirectError
public boolean isRedirectError()
public NutsExecCommandFormat setRedirectError(redirectError)

📝🎛 redirectInput

if true input redirection is displayed

[read-write] NutsExecCommandFormat public redirectInput
public boolean isRedirectInput()
public NutsExecCommandFormat setRedirectInput(redirectInput)

📝🎛 redirectOutput

if true output redirection is displayed

[read-write] NutsExecCommandFormat public redirectOutput
public boolean isRedirectOutput()
public NutsExecCommandFormat setRedirectOutput(redirectOutput)

📝🎛 value

set value to format

[read-write] NutsExecCommandFormat public value
public NutsExecCommand getValue()
public NutsExecCommandFormat setValue(value)

⚙ Instance Methods

⚙ value(value)

set value to format

NutsExecCommandFormat value(NutsExecCommand value)

return:NutsExecCommandFormat

  • NutsExecCommand value : value to format

☕ NutsFormat

public interface net.vpc.app.nuts.NutsFormat

Base Format Interface used to print "things". +\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📝🎛 session

update session

[read-write] NutsFormat public session
public NutsSession getSession()
public NutsFormat setSession(session)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) +} +to help return a more specific return type;

NutsFormat configure(boolean skipUnsupported, String[] args)

return:NutsFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ format()

format current value and return the string result

String format()

return:String

⚙ print()

format current value and write result to {\@code getSession().out()}.

void print()

⚙ print(out)

format current value and write result to {\@code out}

void print(PrintStream out)
  • PrintStream out : recipient print stream

⚙ print(out)

format current value and write result to {\@code out}

void print(Writer out)
  • Writer out : recipient writer

⚙ print(out)

format current value and write result to {\@code out}

void print(OutputStream out)
  • OutputStream out : recipient writer

⚙ print(out)

format current value and write result to {\@code out}

void print(Path out)
  • Path out : recipient path

⚙ print(out)

format current value and write result to {\@code out}

void print(File out)
  • File out : recipient file

⚙ print(terminal)

format current value and write result to {\@code terminal}

void print(NutsTerminal terminal)
  • NutsTerminal terminal : recipient terminal

⚙ println()

format current value and write result to {\@code getSession().out()} and +finally appends a new line.

void println()

⚙ println(file)

format current value and write result to {\@code out} and finally appends +a new line.

void println(File file)
  • File file : recipient file

⚙ println(out)

format current value and write result to {\@code out} and finally appends +a new line.

void println(Writer out)
  • Writer out : recipient

⚙ println(out)

format current value and write result to {\@code out} and finally appends +a new line.

void println(PrintStream out)
  • PrintStream out : recipient print stream

⚙ println(out)

format current value and write result to {\@code out} and finally appends +a new line.

void println(Path out)
  • Path out : recipient path

⚙ println(terminal)

format current value and write result to {\@code terminal} and finally appends +a new line.

void println(NutsTerminal terminal)
  • NutsTerminal terminal : recipient terminal

⚙ toString()

equivalent to {\@link #format() }

String toString()

return:String

☕ NutsIdFormat

public interface net.vpc.app.nuts.NutsIdFormat

Class responsible of manipulating {\@link NutsId} instances: +\<ul> +\<li>formatting (in Nuts Stream Format)\</li> +\<li>parsing\</li> +\</ul> +\@author vpc +\@since 0.5.4 +\@category Format

🎛 Instance Properties

📝🎛 highlightImportedGroupId

update highlightImportedGroupId

[read-write] NutsIdFormat public highlightImportedGroupId
public boolean isHighlightImportedGroupId()
public NutsIdFormat setHighlightImportedGroupId(value)

📝🎛 highlightOptional

update highlightOptional

[read-write] NutsIdFormat public highlightOptional
public boolean isHighlightOptional()
public NutsIdFormat setHighlightOptional(value)

📝🎛 highlightScope

update highlightScope

[read-write] NutsIdFormat public highlightScope
public boolean isHighlightScope()
public NutsIdFormat setHighlightScope(value)

📝🎛 omitClassifier

if true omit (do not include) face when formatting the value +set using {\@link #setValue(NutsId)} .

[read-write] NutsIdFormat public omitClassifier
public boolean isOmitClassifier()
public NutsIdFormat setOmitClassifier(value)

📝🎛 omitFace

update omitFace

[read-write] NutsIdFormat public omitFace
public boolean isOmitFace()
public NutsIdFormat setOmitFace(value)

📝🎛 omitGroupId

update omitGroup

[read-write] NutsIdFormat public omitGroupId
public boolean isOmitGroupId()
public NutsIdFormat setOmitGroupId(value)

📝🎛 omitImportedGroupId

update omitImportedGroupId

[read-write] NutsIdFormat public omitImportedGroupId
public boolean isOmitImportedGroupId()
public NutsIdFormat setOmitImportedGroupId(value)

📝🎛 omitNamespace

update omitNamespace

[read-write] NutsIdFormat public omitNamespace
public boolean isOmitNamespace()
public NutsIdFormat setOmitNamespace(value)

📝🎛 omitOtherProperties

update omitOtherProperties

[read-write] NutsIdFormat public omitOtherProperties
public boolean isOmitOtherProperties()
public NutsIdFormat setOmitOtherProperties(value)

📄🎛 omitProperties

query properties omitted

[read-only] String[] public omitProperties
public String[] getOmitProperties()

✏🎛 session

update session

[write-only] NutsIdFormat public session
public NutsIdFormat setSession(session)

📝🎛 value

id to format

[read-write] NutsIdFormat public value
public NutsId getValue()
public NutsIdFormat setValue(id)

⚙ Instance Methods

⚙ builder()

create new instance of id builder

NutsIdBuilder builder()

return:NutsIdBuilder

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsIdFormat configure(boolean skipUnsupported, String[] args)

return:NutsIdFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ highlightImportedGroupId()

update highlightImportedGroupId to true

NutsIdFormat highlightImportedGroupId()

return:NutsIdFormat

⚙ highlightImportedGroupId(value)

update highlightImportedGroupId

NutsIdFormat highlightImportedGroupId(boolean value)

return:NutsIdFormat

  • boolean value : value

⚙ highlightOptional()

update highlightOptional tot true

NutsIdFormat highlightOptional()

return:NutsIdFormat

⚙ highlightOptional(value)

update highlightOptional

NutsIdFormat highlightOptional(boolean value)

return:NutsIdFormat

  • boolean value : value

⚙ highlightScope()

update highlightScope to true

NutsIdFormat highlightScope()

return:NutsIdFormat

⚙ highlightScope(value)

update highlightScope

NutsIdFormat highlightScope(boolean value)

return:NutsIdFormat

  • boolean value : value

⚙ isOmitProperty(name)

return true if omit query property named {\@code name}

boolean isOmitProperty(String name)

return:boolean

  • String name : property name

⚙ omitClassifier()

omit scope

NutsIdFormat omitClassifier()

return:NutsIdFormat

⚙ omitClassifier(value)

if true omit (do not include) face when formatting the value +set using {\@link #setValue(NutsId)} .

NutsIdFormat omitClassifier(boolean value)

return:NutsIdFormat

  • boolean value : new value

⚙ omitFace()

update omitFace to true

NutsIdFormat omitFace()

return:NutsIdFormat

⚙ omitFace(value)

update omitFace

NutsIdFormat omitFace(boolean value)

return:NutsIdFormat

  • boolean value : value

⚙ omitGroupId()

update omitGroup to true

NutsIdFormat omitGroupId()

return:NutsIdFormat

⚙ omitGroupId(value)

update omitGroup

NutsIdFormat omitGroupId(boolean value)

return:NutsIdFormat

  • boolean value : new value

⚙ omitImportedGroupId()

update omitImportedGroupId to ture

NutsIdFormat omitImportedGroupId()

return:NutsIdFormat

⚙ omitImportedGroupId(value)

update omitImportedGroupId

NutsIdFormat omitImportedGroupId(boolean value)

return:NutsIdFormat

  • boolean value : value

⚙ omitNamespace()

update omitNamespace to true

NutsIdFormat omitNamespace()

return:NutsIdFormat

⚙ omitNamespace(value)

update omitNamespace

NutsIdFormat omitNamespace(boolean value)

return:NutsIdFormat

  • boolean value : true when the namespace should not be included in formatted instance

⚙ omitOtherProperties()

update omitOtherProperties to true

NutsIdFormat omitOtherProperties()

return:NutsIdFormat

⚙ omitOtherProperties(value)

update omitOtherProperties

NutsIdFormat omitOtherProperties(boolean value)

return:NutsIdFormat

  • boolean value : value

⚙ omitProperty(name)

omit query property named {\@code name}

NutsIdFormat omitProperty(String name)

return:NutsIdFormat

  • String name : property name

⚙ omitProperty(name, value)

if true omit (do not include) query property named {\@code name} when formatting the value +set using {\@link #setValue(NutsId)} .

NutsIdFormat omitProperty(String name, boolean value)

return:NutsIdFormat

  • String name : property name
  • boolean value : new value

⚙ parse(id)

parse id or null if not valid. +id is parsed in the form +namespace://group:name#version?key=<value>{\@code &}key=<value> ...

NutsId parse(String id)

return:NutsId

  • String id : to parse

⚙ parseRequired(id)

parse id or error if not valid

NutsId parseRequired(String id)

return:NutsId

  • String id : to parse

⚙ resolveId(clazz)

detect nuts id from resources containing the given class +or null if not found. If multiple resolutions return the first.

NutsId resolveId(Class clazz)

return:NutsId

  • Class clazz : to search for

⚙ resolveIds(clazz)

detect all nuts ids from resources containing the given class.

NutsId[] resolveIds(Class clazz)

return:NutsId[]

  • Class clazz : to search for

⚙ set(id)

id to format

NutsIdFormat set(NutsId id)

return:NutsIdFormat

  • NutsId id : id to format

⚙ setOmitProperty(name, value)

if true omit (do not include) query property named {\@code name} when formatting the value +set using {\@link #setValue(NutsId)} .

NutsIdFormat setOmitProperty(String name, boolean value)

return:NutsIdFormat

  • String name : property name
  • boolean value : new value

⚙ value(id)

set id to format

NutsIdFormat value(NutsId id)

return:NutsIdFormat

  • NutsId id : id to format

☕ NutsInfoFormat

public interface net.vpc.app.nuts.NutsInfoFormat

this class is responsible of displaying general information about the current workspace and repositories. +It is invoked by the "info" standard commmad, +\@author vpc +\@since 0.5.4 +\@category Format

🎛 Instance Properties

📝🎛 fancy

enable fancy (custom, pretty) display mode

[read-write] NutsInfoFormat public fancy
public boolean isFancy()
public NutsInfoFormat setFancy(fancy)

✏🎛 session

update session

[write-only] NutsInfoFormat public session
public NutsInfoFormat setSession(session)

📝🎛 showRepositories

enable or disable display of all repositories information

[read-write] NutsInfoFormat public showRepositories
public boolean isShowRepositories()
public NutsInfoFormat setShowRepositories(enable)

⚙ Instance Methods

⚙ addProperties(customProperties)

include custom properties from the given map

NutsInfoFormat addProperties(Map customProperties)

return:NutsInfoFormat

  • Map customProperties : custom properties

⚙ addProperty(key, value)

include a custom property

NutsInfoFormat addProperty(String key, String value)

return:NutsInfoFormat

  • String key : custom property key
  • String value : custom property value

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsInfoFormat configure(boolean skipUnsupported, String[] args)

return:NutsInfoFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ showRepositories()

enable display of all repositories information

NutsInfoFormat showRepositories()

return:NutsInfoFormat

⚙ showRepositories(enable)

enable or disable display of all repositories information

NutsInfoFormat showRepositories(boolean enable)

return:NutsInfoFormat

  • boolean enable : if true enable

☕ NutsIterableFormat

public interface net.vpc.app.nuts.NutsIterableFormat

This class handles formatting of iterable items in Search. +\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📄🎛 outputFormat

Current output format

[read-only] NutsOutputFormat public outputFormat
public NutsOutputFormat getOutputFormat()

⚙ Instance Methods

⚙ complete(count)

called at the iteration completing

void complete(long count)
  • long count : iterated items count

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsIterableFormat configure(boolean skipUnsupported, String[] args)

return:NutsIterableFormat

  • boolean skipUnsupported :
  • String[] args : argument to configure with

⚙ next(object, index)

called at each new item visited

void next(Object object, long index)
  • Object object : visited item
  • long index : visited item index

⚙ start()

called at the iteration start

void start()

☕ NutsIterableOutput

public interface net.vpc.app.nuts.NutsIterableOutput

Classes implementing this interface are responsible of printing objects in multiple format +using {\@link NutsIterableFormat}. +TODO : should merge with NutsIterableFormat +\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

✏🎛 out

configure out c

[write-only] NutsIterableOutput public out
public NutsIterableOutput setOut(out)

✏🎛 session

configure session

[write-only] NutsIterableOutput public session
public NutsIterableOutput setSession(session)

⚙ Instance Methods

⚙ complete()

called at the iteration completing

void complete()

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsIterableOutput configure(boolean skipUnsupported, String[] args)

return:NutsIterableOutput

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ next(object)

called at the each visited item

void next(Object object)
  • Object object : visited item

⚙ out(out)

configure out stream

NutsIterableOutput out(PrintStream out)

return:NutsIterableOutput

  • PrintStream out : out stream

⚙ out(out)

configure out stream

NutsIterableOutput out(PrintWriter out)

return:NutsIterableOutput

  • PrintWriter out : out stream

⚙ start()

called at the iteration start

void start()

☕ NutsJsonFormat

public interface net.vpc.app.nuts.NutsJsonFormat

Implementation of this interface will provide +simple mechanism to write json text from given object. +\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📝🎛 compact

enable or disable compact json

[read-write] NutsJsonFormat public compact
public boolean isCompact()
public NutsJsonFormat setCompact(compact)

✏🎛 session

update session

[write-only] NutsJsonFormat public session
public NutsJsonFormat setSession(session)

📝🎛 value

return value to format

[read-write] NutsJsonFormat public value
public Object getValue()
public NutsJsonFormat setValue(value)

⚙ Instance Methods

⚙ compact()

enable compact json

NutsJsonFormat compact()

return:NutsJsonFormat

⚙ compact(compact)

enable or disable compact json

NutsJsonFormat compact(boolean compact)

return:NutsJsonFormat

  • boolean compact : enable when true

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) +} +to help return a more specific return type;

NutsJsonFormat configure(boolean skipUnsupported, String[] args)

return:NutsJsonFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ parse(bytes, clazz)

parse bytes as a valid object of the given type

Object parse(byte[] bytes, Class clazz)

return:Object

  • byte[] bytes : source bytes
  • Class clazz : target type

⚙ parse(file, clazz)

parse file as a valid object of the given type

Object parse(Path file, Class clazz)

return:Object

  • Path file : source url
  • Class clazz : target type

⚙ parse(file, clazz)

parse file as a valid object of the given type

Object parse(File file, Class clazz)

return:Object

  • File file : source url
  • Class clazz : target type

⚙ parse(inputStream, clazz)

parse inputStream as a valid object of the given type

Object parse(InputStream inputStream, Class clazz)

return:Object

  • InputStream inputStream : source inputStream
  • Class clazz : target type

⚙ parse(jsonString, clazz)

parse inputStream as a valid object of the given type

Object parse(String jsonString, Class clazz)

return:Object

  • String jsonString : source as json string
  • Class clazz : target type

⚙ parse(reader, clazz)

parse reader as a valid object of the given type

Object parse(Reader reader, Class clazz)

return:Object

  • Reader reader : source reader
  • Class clazz : target type

⚙ parse(url, clazz)

parse url as a valid object of the given type

Object parse(URL url, Class clazz)

return:Object

  • URL url : source url
  • Class clazz : target type

⚙ value(value)

NutsJsonFormat value(Object value)

return:NutsJsonFormat

  • Object value : value to format

☕ NutsMutableTableModel

public interface net.vpc.app.nuts.NutsMutableTableModel

Mutable Table Model +\@author vpc +\@category Format

⚙ Instance Methods

⚙ addCell(value)

add row cell

NutsMutableTableModel addCell(Object value)

return:NutsMutableTableModel

  • Object value : cell

⚙ addCells(values)

add row cells

NutsMutableTableModel addCells(Object[] values)

return:NutsMutableTableModel

  • Object[] values : row cells

⚙ addHeaderCell(value)

add header cell

NutsMutableTableModel addHeaderCell(Object value)

return:NutsMutableTableModel

  • Object value : cell

⚙ addHeaderCells(values)

add header cells

NutsMutableTableModel addHeaderCells(Object[] values)

return:NutsMutableTableModel

  • Object[] values : cells

⚙ addRow(values)

add row cells

NutsMutableTableModel addRow(Object[] values)

return:NutsMutableTableModel

  • Object[] values : row cells

⚙ clearHeader()

clear header

NutsMutableTableModel clearHeader()

return:NutsMutableTableModel

⚙ newRow()

add new row to the model

NutsMutableTableModel newRow()

return:NutsMutableTableModel

⚙ setCellColSpan(row, column, value)

update cell colspan

NutsMutableTableModel setCellColSpan(int row, int column, int value)

return:NutsMutableTableModel

  • int row : row index
  • int column : column index
  • int value : new value

⚙ setCellRowSpan(row, column, value)

update cell rowspan

NutsMutableTableModel setCellRowSpan(int row, int column, int value)

return:NutsMutableTableModel

  • int row : row index
  • int column : column index
  • int value : new value

⚙ setCellValue(row, column, value)

update cell at the given position

NutsMutableTableModel setCellValue(int row, int column, Object value)

return:NutsMutableTableModel

  • int row : row index
  • int column : column index
  • Object value : cell value

⚙ setHeaderColSpan(column, value)

update header colspan

NutsMutableTableModel setHeaderColSpan(int column, int value)

return:NutsMutableTableModel

  • int column : new value
  • int value : new value

⚙ setHeaderValue(column, value)

update header value

NutsMutableTableModel setHeaderValue(int column, Object value)

return:NutsMutableTableModel

  • int column : header column
  • Object value : new value

☕ NutsNamedElement

public interface net.vpc.app.nuts.NutsNamedElement

Named Element +\@author vpc +\@category Format

🎛 Instance Properties

📄🎛 name

element name

[read-only] String public name
public String getName()

📄🎛 value

element value

[read-only] NutsElement public value
public NutsElement getValue()

☕ NutsObjectElementBuilder

public interface net.vpc.app.nuts.NutsObjectElementBuilder

Builder for manipulating {\@link NutsObjectElement} instances +\@author vpc +\@category Format

⚙ Instance Methods

⚙ add(other)

set all properties from the given {\@code other} instance. +all properties not found in {\@code other} will be retained.

NutsObjectElementBuilder add(NutsObjectElement other)

return:NutsObjectElementBuilder

  • NutsObjectElement other : other instance

⚙ add(other)

set all properties from the given {\@code other} instance. +all properties not found in {\@code other} will be retained.

NutsObjectElementBuilder add(NutsObjectElementBuilder other)

return:NutsObjectElementBuilder

  • NutsObjectElementBuilder other : other instance

⚙ build()

create a immutable instance of {\@link NutsObjectElement} representing +this builder.

NutsObjectElement build()

return:NutsObjectElement

⚙ children()

object (key,value) attributes

Collection children()

return:Collection

⚙ clear()

remove all properties

NutsObjectElementBuilder clear()

return:NutsObjectElementBuilder

⚙ get(name)

return value for name or null. +If multiple values are available return any of them.

NutsElement get(String name)

return:NutsElement

  • String name : key name

⚙ remove(name)

remove property

NutsObjectElementBuilder remove(String name)

return:NutsObjectElementBuilder

  • String name : property name

⚙ set(other)

set all properties from the given {\@code other} instance. +all properties not found in {\@code other} will be removed.

NutsObjectElementBuilder set(NutsObjectElement other)

return:NutsObjectElementBuilder

  • NutsObjectElement other : other instance

⚙ set(other)

set all properties from the given {\@code other} instance. +all properties not found in {\@code other} will be removed.

NutsObjectElementBuilder set(NutsObjectElementBuilder other)

return:NutsObjectElementBuilder

  • NutsObjectElementBuilder other : other instance

⚙ set(name, value)

set value for property {\@code name}

NutsObjectElementBuilder set(String name, NutsElement value)

return:NutsObjectElementBuilder

  • String name : property name
  • NutsElement value : property value. should not be null

⚙ size()

element count

int size()

return:int

☕ NutsObjectFormat

public interface net.vpc.app.nuts.NutsObjectFormat

Object format is responsible of formatting to terminal +a given object. Multiple implementation should be available +to support tables, trees, json, xml,... +\@author vpc +\@category Format

🎛 Instance Properties

✏🎛 session

update session

[write-only] NutsObjectFormat public session
public NutsObjectFormat setSession(session)

📝🎛 value

set value to format

[read-write] NutsObjectFormat public value
public Object getValue()
public NutsObjectFormat setValue(value)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsObjectFormat configure(boolean skipUnsupported, String[] args)

return:NutsObjectFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ value(value)

set value to format

NutsObjectFormat value(Object value)

return:NutsObjectFormat

  • Object value : value to format

☕ NutsOutputFormat

public final net.vpc.app.nuts.NutsOutputFormat

Formats supported by Nuts +\@author vpc +\@since 0.5.4 +\@category Format

📢❄ Constant Fields

📢❄ JSON

public static final NutsOutputFormat JSON

📢❄ PLAIN

public static final NutsOutputFormat PLAIN

📢❄ PROPS

public static final NutsOutputFormat PROPS

📢❄ TABLE

public static final NutsOutputFormat TABLE

📢❄ TREE

public static final NutsOutputFormat TREE

📢❄ XML

public static final NutsOutputFormat XML

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsOutputFormat valueOf(String name)

return:NutsOutputFormat

  • String name :

📢⚙ values()

NutsOutputFormat[] values()

return:NutsOutputFormat[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsPositionType

public final net.vpc.app.nuts.NutsPositionType

Text align constants

\@author vpc +\@since 0.5.5 +\@category Format

📢❄ Constant Fields

📢❄ CENTER

public static final NutsPositionType CENTER

📢❄ FIRST

public static final NutsPositionType FIRST

📢❄ HEADER

public static final NutsPositionType HEADER

📢❄ LAST

public static final NutsPositionType LAST

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsPositionType valueOf(String name)

return:NutsPositionType

  • String name :

📢⚙ values()

NutsPositionType[] values()

return:NutsPositionType[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

☕ NutsPropertiesFormat

public interface net.vpc.app.nuts.NutsPropertiesFormat

Class formatting Map/Properties objects +\@category Format

🎛 Instance Properties

📝🎛 model

set model to format

[read-write] NutsPropertiesFormat public model
public Map getModel()
public NutsPropertiesFormat setModel(map)

📝🎛 separator

set key/value separator

[read-write] NutsPropertiesFormat public separator
public String getSeparator()
public NutsPropertiesFormat setSeparator(separator)

✏🎛 session

update session

[write-only] NutsPropertiesFormat public session
public NutsPropertiesFormat setSession(session)

📝🎛 sort

enable/disable key sorting

[read-write] NutsPropertiesFormat public sort
public boolean isSort()
public NutsPropertiesFormat setSort(sort)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) +} +to help return a more specific return type;

NutsPropertiesFormat configure(boolean skipUnsupported, String[] args)

return:NutsPropertiesFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ model(map)

set model to format

NutsPropertiesFormat model(Map map)

return:NutsPropertiesFormat

  • Map map : model to format

⚙ separator(separator)

set key/value separator

NutsPropertiesFormat separator(String separator)

return:NutsPropertiesFormat

  • String separator : key/value separator

⚙ sort()

enable key sorting

NutsPropertiesFormat sort()

return:NutsPropertiesFormat

⚙ sort(sort)

enable/disable key sorting

NutsPropertiesFormat sort(boolean sort)

return:NutsPropertiesFormat

  • boolean sort : when true enable sorting

☕ NutsQuestionFormat

public interface net.vpc.app.nuts.NutsQuestionFormat

\@author vpc +\@since 0.5.4 +\@category Format

🎛 Instance Properties

📄🎛 defaultValues

[read-only] Object[] public defaultValues
public Object[] getDefaultValues(type, question)

⚙ Instance Methods

⚙ format(value, question)

String format(Object value, NutsQuestion question)

return:String

  • Object value :
  • NutsQuestion question :

☕ NutsString

public net.vpc.app.nuts.NutsString

\@author vpc +\@category Format

🪄 Constructors

🪄 NutsString(value)

NutsString(String value)
  • String value :

🎛 Instance Properties

📄🎛 value

[read-only] String public value
public String getValue()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsStringFormat

public interface net.vpc.app.nuts.NutsStringFormat

Class responsible of formatting a formatted string.

\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📄🎛 parameters

[read-only] Object[] public parameters
public Object[] getParameters()

✏🎛 session

set current session.

[write-only] NutsStringFormat public session
public NutsStringFormat setSession(session)

📝🎛 string

set current value to format.

[read-write] NutsStringFormat public string
public String getString()
public NutsStringFormat setString(value)

📄🎛 style

[read-only] NutsTextFormatStyle public style
public NutsTextFormatStyle getStyle()

⚙ Instance Methods

⚙ addParameters(parameters)

NutsStringFormat addParameters(Object[] parameters)

return:NutsStringFormat

  • Object[] parameters :

⚙ append(value, parameters)

NutsStringFormat append(String value, Object[] parameters)

return:NutsStringFormat

  • String value :
  • Object[] parameters :

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, String...) +} +to help return a more specific return type;

NutsStringFormat configure(boolean skipUnsupported, String[] args)

return:NutsStringFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ of(value, parameters)

NutsStringFormat of(String value, Object[] parameters)

return:NutsStringFormat

  • String value :
  • Object[] parameters :

⚙ set(value)

set current value to format.

NutsStringFormat set(String value)

return:NutsStringFormat

  • String value : value to format

⚙ setParameters(parameters)

NutsStringFormat setParameters(Object[] parameters)

return:NutsStringFormat

  • Object[] parameters :

⚙ setParameters(parameters)

NutsStringFormat setParameters(List parameters)

return:NutsStringFormat

  • List parameters :

⚙ setStyle(style)

NutsStringFormat setStyle(NutsTextFormatStyle style)

return:NutsStringFormat

  • NutsTextFormatStyle style :

⚙ style(style)

NutsStringFormat style(NutsTextFormatStyle style)

return:NutsStringFormat

  • NutsTextFormatStyle style :

☕ NutsTableBordersFormat

public interface net.vpc.app.nuts.NutsTableBordersFormat

\@since 0.5.5 +\@category Format

⚙ Instance Methods

⚙ format(s)

String format(Separator s)

return:String

  • Separator s :

☕ NutsTableCell

public interface net.vpc.app.nuts.NutsTableCell

\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📄🎛 colspan

[read-only] int public colspan
public int getColspan()

📄🎛 rowspan

[read-only] int public rowspan
public int getRowspan()

📄🎛 value

[read-only] Object public value
public Object getValue()

📄🎛 x

[read-only] int public x
public int getX()

📄🎛 y

[read-only] int public y
public int getY()

⚙ Instance Methods

⚙ setColspan(colspan)

NutsTableCell setColspan(int colspan)

return:NutsTableCell

  • int colspan :

⚙ setRowspan(rowspan)

NutsTableCell setRowspan(int rowspan)

return:NutsTableCell

  • int rowspan :

⚙ setValue(value)

NutsTableCell setValue(Object value)

return:NutsTableCell

  • Object value :

☕ NutsTableCellFormat

public interface net.vpc.app.nuts.NutsTableCellFormat

\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📄🎛 horizontalAlign

[read-only] NutsPositionType public horizontalAlign
public NutsPositionType getHorizontalAlign(row, col, value)

📄🎛 verticalAlign

[read-only] NutsPositionType public verticalAlign
public NutsPositionType getVerticalAlign(row, col, value)

⚙ Instance Methods

⚙ format(row, col, value)

String format(int row, int col, Object value)

return:String

  • int row :
  • int col :
  • Object value :

☕ NutsTableFormat

public interface net.vpc.app.nuts.NutsTableFormat

\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📄🎛 border

[read-only] NutsTableBordersFormat public border
public NutsTableBordersFormat getBorder()

📄🎛 model

[read-only] NutsTableModel public model
public NutsTableModel getModel()

✏🎛 session

update session

[write-only] NutsTableFormat public session
public NutsTableFormat setSession(session)

📄🎛 visibleColumn

[read-only] Boolean public visibleColumn
public Boolean getVisibleColumn(col)

📄🎛 visibleHeader

[read-only] boolean public visibleHeader
public boolean isVisibleHeader()

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsTableFormat configure(boolean skipUnsupported, String[] args)

return:NutsTableFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ createModel()

NutsMutableTableModel createModel()

return:NutsMutableTableModel

⚙ setBorder(border)

NutsTableFormat setBorder(NutsTableBordersFormat border)

return:NutsTableFormat

  • NutsTableBordersFormat border :

⚙ setCellFormat(formatter)

NutsTableFormat setCellFormat(NutsTableCellFormat formatter)

return:NutsTableFormat

  • NutsTableCellFormat formatter :

⚙ setModel(model)

NutsTableFormat setModel(NutsTableModel model)

return:NutsTableFormat

  • NutsTableModel model :

⚙ setVisibleColumn(col, visible)

NutsTableFormat setVisibleColumn(int col, boolean visible)

return:NutsTableFormat

  • int col :
  • boolean visible :

⚙ setVisibleHeader(visibleHeader)

NutsTableFormat setVisibleHeader(boolean visibleHeader)

return:NutsTableFormat

  • boolean visibleHeader :

⚙ unsetVisibleColumn(col)

NutsTableFormat unsetVisibleColumn(int col)

return:NutsTableFormat

  • int col :

☕ NutsTableModel

public interface net.vpc.app.nuts.NutsTableModel

\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📄🎛 cellColSpan

[read-only] int public cellColSpan
public int getCellColSpan(row, column)

📄🎛 cellRowSpan

[read-only] int public cellRowSpan
public int getCellRowSpan(row, column)

📄🎛 cellValue

[read-only] Object public cellValue
public Object getCellValue(row, column)

📄🎛 columnsCount

[read-only] int public columnsCount
public int getColumnsCount()

📄🎛 headerColSpan

[read-only] int public headerColSpan
public int getHeaderColSpan(column)

📄🎛 headerValue

[read-only] Object public headerValue
public Object getHeaderValue(column)

📄🎛 rowsCount

[read-only] int public rowsCount
public int getRowsCount()

☕ NutsTerminalFormat

public interface net.vpc.app.nuts.NutsTerminalFormat

Filtered Terminal Format Helper

\@see NutsIOManager#getTerminalFormat() +\@see NutsWorkspace#io() +\@author vpc +\@since 0.5.5 +\@category Format

⚙ Instance Methods

⚙ escapeText(value)

This method escapes all special characters that are interpreted by +"nuts print format" o that this exact string is printed on +such print streams When str is null, an empty string is return

String escapeText(String value)

return:String

  • String value : input string

⚙ filterText(value)

this method removes all special "nuts print format" sequences support +and returns the raw string to be printed on an +ordinary {\@link PrintStream}

String filterText(String value)

return:String

  • String value : input string

⚙ formatText(style, format, args)

format string. supports {\@link Formatter#format(java.lang.String, java.lang.Object...) +} +pattern format and adds NutsString special format to print unfiltered strings.

String formatText(NutsTextFormatStyle style, String format, Object[] args)

return:String

  • NutsTextFormatStyle style : format style
  • String format : format
  • Object[] args : arguments

⚙ formatText(style, locale, format, args)

format string. supports {\@link Formatter#format(java.util.Locale, java.lang.String, java.lang.Object...) +} +pattern format and adds NutsString special format to print unfiltered strings.

String formatText(NutsTextFormatStyle style, Locale locale, String format, Object[] args)

return:String

  • NutsTextFormatStyle style : style
  • Locale locale : locale
  • String format : format
  • Object[] args : arguments

⚙ isFormatted(out)

true if the stream is not null and could be resolved as Formatted Output +Stream. If False is returned this does no mean necessarily that the +stream is not formatted.

boolean isFormatted(OutputStream out)

return:boolean

  • OutputStream out : stream to check

⚙ isFormatted(out)

true if the stream is not null and could be resolved as Formatted Output +Stream. If False is returned this does no mean necessarily that the +stream is not formatted.

boolean isFormatted(Writer out)

return:boolean

  • Writer out : stream to check

⚙ prepare(out)

prepare PrintStream to handle NutsString aware format pattern. If the instance +already supports Nuts specific pattern it will be returned unmodified.

PrintStream prepare(PrintStream out)

return:PrintStream

  • PrintStream out : PrintStream to check

⚙ prepare(out)

prepare PrintWriter to handle %N (escape) format pattern. If the instance +already supports Nuts specific pattern it will be returned unmodified.

PrintWriter prepare(PrintWriter out)

return:PrintWriter

  • PrintWriter out : PrintWriter to check

⚙ textLength(value)

int textLength(String value)

return:int

  • String value :

☕ NutsTextFormatStyle

public final net.vpc.app.nuts.NutsTextFormatStyle

\@author vpc +\@category Format

📢❄ Constant Fields

📢❄ CSTYLE

public static final NutsTextFormatStyle CSTYLE

📢❄ POSITIONAL

public static final NutsTextFormatStyle POSITIONAL

📢⚙ Static Methods

📢⚙ valueOf(name)

NutsTextFormatStyle valueOf(String name)

return:NutsTextFormatStyle

  • String name :

📢⚙ values()

NutsTextFormatStyle[] values()

return:NutsTextFormatStyle[]

☕ NutsTreeFormat

public interface net.vpc.app.nuts.NutsTreeFormat

Tree Format handles terminal output in Tree format. +It is one of the many formats supported bu nuts such as plain,table, xml, json. +To use Tree format, given an instance ws of Nuts Workspace you can : +\<pre> +ws. +\</pre> +\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📝🎛 linkFormat

update link format

[read-write] NutsTreeFormat public linkFormat
public NutsTreeLinkFormat getLinkFormat()
public NutsTreeFormat setLinkFormat(linkFormat)

📝🎛 model

update tree model

[read-write] NutsTreeFormat public model
public NutsTreeModel getModel()
public NutsTreeFormat setModel(tree)

📝🎛 nodeFormat

update node format

[read-write] NutsTreeFormat public nodeFormat
public NutsTreeNodeFormat getNodeFormat()
public NutsTreeFormat setNodeFormat(nodeFormat)

✏🎛 session

update session

[write-only] NutsTreeFormat public session
public NutsTreeFormat setSession(session)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsTreeFormat configure(boolean skipUnsupported, String[] args)

return:NutsTreeFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ linkFormat(linkFormat)

update link format

NutsTreeFormat linkFormat(NutsTreeLinkFormat linkFormat)

return:NutsTreeFormat

  • NutsTreeLinkFormat linkFormat : new link format

⚙ model(tree)

update tree model

NutsTreeFormat model(NutsTreeModel tree)

return:NutsTreeFormat

  • NutsTreeModel tree : new tree model

⚙ nodeFormat(nodeFormat)

update node format

NutsTreeFormat nodeFormat(NutsTreeNodeFormat nodeFormat)

return:NutsTreeFormat

  • NutsTreeNodeFormat nodeFormat : new node format

☕ NutsTreeLinkFormat

public interface net.vpc.app.nuts.NutsTreeLinkFormat

Format class responsible of formatting prefix of a tree +\@author vpc +\@since 0.5.5 +\@category Format

⚙ Instance Methods

⚙ formatChild(type)

return prefix for node child for the given layout

String formatChild(NutsPositionType type)

return:String

  • NutsPositionType type : position type

⚙ formatMain(type)

return prefix for node root for the given layout

String formatMain(NutsPositionType type)

return:String

  • NutsPositionType type : position type

☕ NutsTreeModel

public interface net.vpc.app.nuts.NutsTreeModel

Tree Model to use in tree format +\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📄🎛 root

tree node

[read-only] Object public root
public Object getRoot()

⚙ Instance Methods

⚙ getChildren(node)

return children of the given {\@code node}

List getChildren(Object node)

return:List

  • Object node : node to retrieve children for

☕ NutsTreeNodeFormat

public interface net.vpc.app.nuts.NutsTreeNodeFormat

classes implementing this interface handle formatting of the tree node. +\@author vpc +\@since 0.5.5 +\@category Format

⚙ Instance Methods

⚙ format(object, depth)

format (transform to rich string) object at the given depth

String format(Object object, int depth)

return:String

  • Object object : object to transform
  • int depth : tree node depth

☕ NutsVersionFormat

public interface net.vpc.app.nuts.NutsVersionFormat

\@author vpc +\@since 0.5.4 +\@category Format

🎛 Instance Properties

✏🎛 session

update session

[write-only] NutsVersionFormat public session
public NutsVersionFormat setSession(session)

📝🎛 version

set version to print. if null, workspace version will be considered.

[read-write] NutsVersionFormat public version
public NutsVersion getVersion()
public NutsVersionFormat setVersion(version)

📄🎛 workspaceVersion

return true if version is null (default). In such case, workspace version +is considered.

[read-only] boolean public workspaceVersion
public boolean isWorkspaceVersion()

⚙ Instance Methods

⚙ addProperties(p)

NutsVersionFormat addProperties(Map p)

return:NutsVersionFormat

  • Map p :

⚙ addProperty(key, value)

NutsVersionFormat addProperty(String key, String value)

return:NutsVersionFormat

  • String key :
  • String value :

⚙ parse(version)

return version instance representing the {\@code version} string

NutsVersion parse(String version)

return:NutsVersion

  • String version : string (may be null)

☕ NutsWorkspaceOptionsFormat

public net.vpc.app.nuts.NutsWorkspaceOptionsFormat

\@author vpc +\@category Format

🪄 Constructors

🪄 NutsWorkspaceOptionsFormat(options)

NutsWorkspaceOptionsFormat(NutsWorkspaceOptions options)
  • NutsWorkspaceOptions options :

🎛 Instance Properties

📄🎛 bootCommand

[read-only] String[] public bootCommand
public String[] getBootCommand()

📄🎛 bootCommandLine

[read-only] String public bootCommandLine
public String getBootCommandLine()

📄🎛 exported

[read-only] boolean public exported
public boolean isExported()

📄🎛 init

[read-only] boolean public init
public boolean isInit()

📄🎛 runtime

[read-only] boolean public runtime
public boolean isRuntime()

⚙ Instance Methods

⚙ compact()

NutsWorkspaceOptionsFormat compact()

return:NutsWorkspaceOptionsFormat

⚙ compact(compact)

NutsWorkspaceOptionsFormat compact(boolean compact)

return:NutsWorkspaceOptionsFormat

  • boolean compact :

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ exported()

NutsWorkspaceOptionsFormat exported()

return:NutsWorkspaceOptionsFormat

⚙ exported(e)

NutsWorkspaceOptionsFormat exported(boolean e)

return:NutsWorkspaceOptionsFormat

  • boolean e :

⚙ hashCode()

int hashCode()

return:int

⚙ init()

NutsWorkspaceOptionsFormat init()

return:NutsWorkspaceOptionsFormat

⚙ init(e)

NutsWorkspaceOptionsFormat init(boolean e)

return:NutsWorkspaceOptionsFormat

  • boolean e :

⚙ runtime()

NutsWorkspaceOptionsFormat runtime()

return:NutsWorkspaceOptionsFormat

⚙ runtime(e)

NutsWorkspaceOptionsFormat runtime(boolean e)

return:NutsWorkspaceOptionsFormat

  • boolean e :

⚙ setCompact(compact)

NutsWorkspaceOptionsFormat setCompact(boolean compact)

return:NutsWorkspaceOptionsFormat

  • boolean compact :

⚙ setExported(e)

NutsWorkspaceOptionsFormat setExported(boolean e)

return:NutsWorkspaceOptionsFormat

  • boolean e :

⚙ setInit(e)

NutsWorkspaceOptionsFormat setInit(boolean e)

return:NutsWorkspaceOptionsFormat

  • boolean e :

⚙ setRuntime(e)

NutsWorkspaceOptionsFormat setRuntime(boolean e)

return:NutsWorkspaceOptionsFormat

  • boolean e :

⚙ toString()

String toString()

return:String

☕ NutsXmlFormat

public interface net.vpc.app.nuts.NutsXmlFormat

Xml Format Helper class +\@author vpc +\@since 0.5.5 +\@category Format

🎛 Instance Properties

📝🎛 compact

if true compact xml generated. if false, sue more versatile/formatted output.

[read-write] NutsXmlFormat public compact
public boolean isCompact()
public NutsXmlFormat setCompact(compact)

✏🎛 session

update session

[write-only] NutsXmlFormat public session
public NutsXmlFormat setSession(session)

📝🎛 value

set value to format

[read-write] NutsXmlFormat public value
public Object getValue()
public NutsXmlFormat setValue(value)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) +} +to help return a more specific return type;

NutsXmlFormat configure(boolean skipUnsupported, String[] args)

return:NutsXmlFormat

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ fromXmlElement(xmlElement, clazz)

convert {\@code xmlElement} to a valid instance of type {\@code clazz}

Object fromXmlElement(Element xmlElement, Class clazz)

return:Object

  • Element xmlElement : xmlElement to convert
  • Class clazz : target class

⚙ parse(bytes, clazz)

parse bytes as xml to the given class

Object parse(byte[] bytes, Class clazz)

return:Object

  • byte[] bytes : bytes to parse
  • Class clazz : target class

⚙ parse(file, clazz)

Parse Xml Content as given class type.

Object parse(File file, Class clazz)

return:Object

  • File file : input content
  • Class clazz : type to parse to

⚙ parse(inputStream, clazz)

parse inputStream as xml to the given class

Object parse(InputStream inputStream, Class clazz)

return:Object

  • InputStream inputStream : inputStream to parse
  • Class clazz : target class

⚙ parse(path, clazz)

Parse Xml Content as given class type.

Object parse(Path path, Class clazz)

return:Object

  • Path path : input content
  • Class clazz : type to parse to

⚙ parse(reader, clazz)

Parse Xml Content as given class type.

Object parse(Reader reader, Class clazz)

return:Object

  • Reader reader : input content
  • Class clazz : type to parse to

⚙ parse(url, clazz)

parse url content as xml to the given class

Object parse(URL url, Class clazz)

return:Object

  • URL url : url to parse
  • Class clazz : target class

⚙ toXmlDocument(value)

convert {\@code value} to an xml document.

Document toXmlDocument(Object value)

return:Document

  • Object value : value to convert

⚙ toXmlElement(value, xmlDocument)

convert {\@code value} to a valid root element to add to the given {\@code xmlDocument}. +if the document is null, a new one will be created.

Element toXmlElement(Object value, Document xmlDocument)

return:Element

  • Object value : value to convert
  • Document xmlDocument : target document

⚙ value(value)

set value to format

NutsXmlFormat value(Object value)

return:NutsXmlFormat

  • Object value : value to format
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Input_Output/index.html b/docs/docs/javadocs/javadoc_Input_Output/index.html new file mode 100644 index 000000000..ab3bdcf49 --- /dev/null +++ b/docs/docs/javadocs/javadoc_Input_Output/index.html @@ -0,0 +1,98 @@ + + + + + + +Input Output | Nuts + + + + + + + + + + + + +
+

Input Output

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsIOCopyAction

public interface net.vpc.app.nuts.NutsIOCopyAction

I/O Action that help monitored copy of one or multiple resource types. +Implementation should at least handle the following types as valid sources : +\<ul> +\<li>InputStream\</li> +\<li>string (as path or url)\</li> +\<li>File (file or directory)\</li> +\<li>Path (file or directory)\</li> +\<li>URL\</li> +\</ul> +and the following types as valid targets : +\<ul> +\<li>OutputStream\</li> +\<li>string (as path or url)\</li> +\<li>File (file or directory)\</li> +\<li>Path (file or directory)\</li> +\</ul> +\@author vpc +\@since 0.5.4 +\@category Input Output

🎛 Instance Properties

📄🎛 byteArrayResult

run this copy action with {\@link java.io.ByteArrayOutputStream} target and return bytes result

[read-only] byte[] public byteArrayResult
public byte[] getByteArrayResult()

📝🎛 interruptible

mark created stream as interruptible so that one can call {\@link #interrupt()}

[read-write] NutsIOCopyAction public interruptible
public boolean isInterruptible()
public NutsIOCopyAction setInterruptible(interruptible)

📝🎛 logProgress

switch log progress flag to {\@code value}.

[read-write] NutsIOCopyAction public logProgress
public boolean isLogProgress()
public NutsIOCopyAction setLogProgress(value)

✏🎛 progressMonitor

set progress monitor. Will create a singleton progress monitor factory

[write-only] NutsIOCopyAction public progressMonitor
public NutsIOCopyAction setProgressMonitor(value)

📝🎛 progressMonitorFactory

set progress factory responsible of creating progress monitor

[read-write] NutsIOCopyAction public progressMonitorFactory
public NutsProgressFactory getProgressMonitorFactory()
public NutsIOCopyAction setProgressMonitorFactory(value)

📝🎛 safe

switch safe copy flag to {\@code value}

[read-write] NutsIOCopyAction public safe
public boolean isSafe()
public NutsIOCopyAction setSafe(value)

📝🎛 session

update current session

[read-write] NutsIOCopyAction public session
public NutsSession getSession()
public NutsIOCopyAction setSession(session)

📝🎛 skipRoot

set skip root flag to {\@code value}

[read-write] NutsIOCopyAction public skipRoot
public boolean isSkipRoot()
public NutsIOCopyAction setSkipRoot(value)

📝🎛 source

update source to copy from

[read-write] NutsIOCopyAction public source
public Object getSource()
public NutsIOCopyAction setSource(source)

📝🎛 target

update target to copy from

[read-write] NutsIOCopyAction public target
public Object getTarget()
public NutsIOCopyAction setTarget(target)

📝🎛 validator

update validator

[read-write] NutsIOCopyAction public validator
public NutsIOCopyValidator getValidator()
public NutsIOCopyAction setValidator(validator)

⚙ Instance Methods

⚙ from(source)

update source to copy from

NutsIOCopyAction from(Object source)

return:NutsIOCopyAction

  • Object source : source to copy from

⚙ from(source)

update source to copy from

NutsIOCopyAction from(String source)

return:NutsIOCopyAction

  • String source : source to copy from

⚙ from(source)

update source to copy from

NutsIOCopyAction from(InputStream source)

return:NutsIOCopyAction

  • InputStream source : source to copy from

⚙ from(source)

update source to copy from

NutsIOCopyAction from(File source)

return:NutsIOCopyAction

  • File source : source to copy from

⚙ from(source)

update source to copy from

NutsIOCopyAction from(Path source)

return:NutsIOCopyAction

  • Path source : source to copy from

⚙ from(source)

update source to copy from

NutsIOCopyAction from(URL source)

return:NutsIOCopyAction

  • URL source : source to copy from

⚙ interrupt()

interrupt last created stream. An exception is throws when the stream is read.

NutsIOCopyAction interrupt()

return:NutsIOCopyAction

⚙ logProgress()

switch log progress flag to to true.

NutsIOCopyAction logProgress()

return:NutsIOCopyAction

⚙ logProgress(value)

switch log progress to {\@code value}

NutsIOCopyAction logProgress(boolean value)

return:NutsIOCopyAction

  • boolean value : log progress

⚙ progressMonitor(value)

set progress monitor. Will create a singleton progress monitor factory

NutsIOCopyAction progressMonitor(NutsProgressMonitor value)

return:NutsIOCopyAction

  • NutsProgressMonitor value : new value

⚙ progressMonitorFactory(value)

set progress factory responsible of creating progress monitor

NutsIOCopyAction progressMonitorFactory(NutsProgressFactory value)

return:NutsIOCopyAction

  • NutsProgressFactory value : new value

⚙ run()

run this copy action

NutsIOCopyAction run()

return:NutsIOCopyAction

⚙ safe()

arm safe copy flag

NutsIOCopyAction safe()

return:NutsIOCopyAction

⚙ safe(value)

switch safe copy flag to {\@code value}

NutsIOCopyAction safe(boolean value)

return:NutsIOCopyAction

  • boolean value : value

⚙ skipRoot()

set skip root flag to {\@code true}

NutsIOCopyAction skipRoot()

return:NutsIOCopyAction

⚙ skipRoot(value)

set skip root flag to {\@code value}

NutsIOCopyAction skipRoot(boolean value)

return:NutsIOCopyAction

  • boolean value : new value

⚙ to(target)

update target

NutsIOCopyAction to(Object target)

return:NutsIOCopyAction

  • Object target : target

⚙ to(target)

update target

NutsIOCopyAction to(OutputStream target)

return:NutsIOCopyAction

  • OutputStream target : target

⚙ to(target)

update target to copy from

NutsIOCopyAction to(String target)

return:NutsIOCopyAction

  • String target : target to copy to

⚙ to(target)

update target to copy from

NutsIOCopyAction to(Path target)

return:NutsIOCopyAction

  • Path target : target to copy to

⚙ to(target)

update target to copy from

NutsIOCopyAction to(File target)

return:NutsIOCopyAction

  • File target : target to copy to

⚙ validator(validator)

update validator

NutsIOCopyAction validator(NutsIOCopyValidator validator)

return:NutsIOCopyAction

  • NutsIOCopyValidator validator : validator

☕ NutsIOCopyValidator

public interface net.vpc.app.nuts.NutsIOCopyValidator

classes implementing this interface should check the validity of the stream that was copied. +\@since 0.5.8 +\@category Input Output

⚙ Instance Methods

⚙ validate(targetContent)

Check the validity of the stream that was copied.

void validate(InputStream targetContent)
  • InputStream targetContent : targetContent

☕ NutsIODeleteAction

public interface net.vpc.app.nuts.NutsIODeleteAction

I/O Action that help monitored delete.

\@author vpc +\@since 0.5.8 +\@category Input Output

🎛 Instance Properties

📝🎛 failFast

update fail fast flag

[read-write] NutsIODeleteAction public failFast
public boolean isFailFast()
public NutsIODeleteAction setFailFast(failFast)

📝🎛 session

update session

[read-write] NutsIODeleteAction public session
public NutsSession getSession()
public NutsIODeleteAction setSession(session)

📝🎛 target

update target to delete

[read-write] NutsIODeleteAction public target
public Object getTarget()
public NutsIODeleteAction setTarget(target)

⚙ Instance Methods

⚙ failFast()

set fail fast flag

NutsIODeleteAction failFast()

return:NutsIODeleteAction

⚙ failFast(failFast)

update fail fast flag

NutsIODeleteAction failFast(boolean failFast)

return:NutsIODeleteAction

  • boolean failFast : value

⚙ run()

run delete action and return {\@code this}

NutsIODeleteAction run()

return:NutsIODeleteAction

⚙ target(target)

update target to delete

NutsIODeleteAction target(Object target)

return:NutsIODeleteAction

  • Object target : target

☕ NutsIOHashAction

public interface net.vpc.app.nuts.NutsIOHashAction

I/O command to hash contents. +\@author vpc +\@since 0.5.5 +\@category Input Output

🎛 Instance Properties

📝🎛 algorithm

select hash algorithm.

[read-write] NutsIOHashAction public algorithm
public String getAlgorithm()
public NutsIOHashAction setAlgorithm(algorithm)

⚙ Instance Methods

⚙ algorithm(algorithm)

select hash algorithm.

NutsIOHashAction algorithm(String algorithm)

return:NutsIOHashAction

  • String algorithm : hash algorithm. may be any algorithm supported by +{@link MessageDigest#getInstance(String)} +including 'MD5' and 'SHA1'

⚙ computeBytes()

compute hash digest and return it as byte array

byte[] computeBytes()

return:byte[]

⚙ computeString()

compute hash digest and return it as hexadecimal string

String computeString()

return:String

⚙ md5()

select MD5 hash algorithm

NutsIOHashAction md5()

return:NutsIOHashAction

⚙ sha1()

select MD5 hash algorithm

NutsIOHashAction sha1()

return:NutsIOHashAction

⚙ source(descriptor)

source stream to hash

NutsIOHashAction source(NutsDescriptor descriptor)

return:NutsIOHashAction

  • NutsDescriptor descriptor : source descriptor to hash

⚙ source(file)

file to hash

NutsIOHashAction source(File file)

return:NutsIOHashAction

  • File file : source file to hash

⚙ source(input)

source stream to hash

NutsIOHashAction source(InputStream input)

return:NutsIOHashAction

  • InputStream input : source stream to hash

⚙ source(path)

file to hash

NutsIOHashAction source(Path path)

return:NutsIOHashAction

  • Path path : source path to hash

⚙ writeHash(out)

compute hash and writes it to the output stream

NutsIOHashAction writeHash(OutputStream out)

return:NutsIOHashAction

  • OutputStream out : output stream

☕ NutsIOLockAction

public interface net.vpc.app.nuts.NutsIOLockAction

Lock builder to create mainly File based Locks +\@author vpc +\@since 0.5.8 +\@category Input Output

🎛 Instance Properties

📝🎛 resource

update resource

[read-write] NutsIOLockAction public resource
public Object getResource()
public NutsIOLockAction setResource(source)

📝🎛 session

update session

[read-write] NutsIOLockAction public session
public NutsSession getSession()
public NutsIOLockAction setSession(session)

📝🎛 source

update source

[read-write] NutsIOLockAction public source
public Object getSource()
public NutsIOLockAction setSource(source)

⚙ Instance Methods

⚙ call(runnable)

create lock object for the given source and resource

Object call(Callable runnable)

return:Object

  • Callable runnable : runnable

⚙ call(runnable, time, unit)

create lock object for the given source and resource

Object call(Callable runnable, long time, TimeUnit unit)

return:Object

  • Callable runnable : runnable
  • long time : time
  • TimeUnit unit : unit

⚙ create()

create lock object for the given source and resource

NutsLock create()

return:NutsLock

⚙ resource(source)

update resource

NutsIOLockAction resource(Object source)

return:NutsIOLockAction

  • Object source : resource

⚙ run(runnable)

create lock object for the given source and resource

void run(Runnable runnable)
  • Runnable runnable : runnable

⚙ run(runnable, time, unit)

create lock object for the given source and resource

void run(Runnable runnable, long time, TimeUnit unit)
  • Runnable runnable : runnable
  • long time : time
  • TimeUnit unit : unit

⚙ source(source)

update source

NutsIOLockAction source(Object source)

return:NutsIOLockAction

  • Object source : source

☕ NutsIOManager

public interface net.vpc.app.nuts.NutsIOManager

I/O Manager supports a set of operations to manipulate terminals and files in a +handy manner that is monitorable and Workspace aware.

\@author vpc +\@since 0.5.4 +\@category Input Output

🎛 Instance Properties

📝🎛 systemTerminal

update workspace wide system terminal

[read-write] NutsIOManager public systemTerminal
public NutsSystemTerminal getSystemTerminal()
public NutsIOManager setSystemTerminal(terminal)

📝🎛 terminal

update workspace wide terminal

[read-write] NutsIOManager public terminal
public NutsSessionTerminal getTerminal()
public NutsIOManager setTerminal(terminal)

📄🎛 terminalFormat

return terminal format that handles metrics and format/escape methods.

[read-only] NutsTerminalFormat public terminalFormat
public NutsTerminalFormat getTerminalFormat()

⚙ Instance Methods

⚙ compress()

create new {\@link NutsIOCompressAction} instance

NutsIOCompressAction compress()

return:NutsIOCompressAction

⚙ copy()

create new {\@link NutsIOCopyAction} instance

NutsIOCopyAction copy()

return:NutsIOCopyAction

⚙ createApplicationContext(args, appClass, storeId, startTimeMillis)

create a new instance of {\@link NutsApplicationContext}

NutsApplicationContext createApplicationContext(String[] args, Class appClass, String storeId, long startTimeMillis)

return:NutsApplicationContext

  • String[] args : application arguments
  • Class appClass : application class
  • String storeId : application store id or null
  • long startTimeMillis : application start time

⚙ createPrintStream(out, mode)

create print stream that supports the given {\@code mode}. +If the given {\@code out} is a PrintStream that supports {\@code mode}, it should be +returned without modification.

PrintStream createPrintStream(OutputStream out, NutsTerminalMode mode)

return:PrintStream

  • OutputStream out : stream to wrap
  • NutsTerminalMode mode : mode to support

⚙ createTempFile(name)

create temp file in the workspace\'s temp folder

Path createTempFile(String name)

return:Path

  • String name : file name

⚙ createTempFile(name, repository)

create temp file in the repository\'s temp folder

Path createTempFile(String name, NutsRepository repository)

return:Path

  • String name : file name
  • NutsRepository repository : repository

⚙ createTempFolder(name)

create temp folder in the workspace\'s temp folder

Path createTempFolder(String name)

return:Path

  • String name : folder name

⚙ createTempFolder(name, repository)

create temp folder in the repository\'s temp folder

Path createTempFolder(String name, NutsRepository repository)

return:Path

  • String name : folder name
  • NutsRepository repository : repository

⚙ createTerminal()

return new terminal bound to system terminal

NutsSessionTerminal createTerminal()

return:NutsSessionTerminal

⚙ createTerminal(parent)

return new terminal bound to the given {\@code parent}

NutsSessionTerminal createTerminal(NutsTerminalBase parent)

return:NutsSessionTerminal

  • NutsTerminalBase parent : parent terminal or null

⚙ delete()

create new {\@link NutsIODeleteAction} instance

NutsIODeleteAction delete()

return:NutsIODeleteAction

⚙ executorService()

return non null executor service

ExecutorService executorService()

return:ExecutorService

⚙ expandPath(path)

expand path to Workspace Location

String expandPath(String path)

return:String

  • String path : path to expand

⚙ expandPath(path, baseFolder)

expand path to {\@code baseFolder}. +Expansion mechanism supports \'~\' prefix (linux like) and will expand path to {\@code baseFolder} +if it was resolved as a relative path.

String expandPath(String path, String baseFolder)

return:String

  • String path : path to expand
  • String baseFolder : base folder to expand relative paths to

⚙ hash()

create new {\@link NutsIOHashAction} instance that helps +hashing streams and files.

NutsIOHashAction hash()

return:NutsIOHashAction

⚙ loadFormattedString(reader, classLoader)

load resource as a formatted string to be used mostly as a help string.

String loadFormattedString(Reader reader, ClassLoader classLoader)

return:String

  • Reader reader : resource reader
  • ClassLoader classLoader : class loader

⚙ loadFormattedString(resourcePath, classLoader, defaultValue)

load resource as a formatted string to be used mostly as a help string.

String loadFormattedString(String resourcePath, ClassLoader classLoader, String defaultValue)

return:String

  • String resourcePath : resource path
  • ClassLoader classLoader : class loader
  • String defaultValue : default value if the loading fails

⚙ lock()

create new {\@link NutsIOLockAction} instance

NutsIOLockAction lock()

return:NutsIOLockAction

⚙ monitor()

create new {\@link NutsMonitorAction} instance that helps +monitoring streams.

NutsMonitorAction monitor()

return:NutsMonitorAction

⚙ nullInputStream()

create a null input stream instance

InputStream nullInputStream()

return:InputStream

⚙ nullPrintStream()

create a null print stream instance

PrintStream nullPrintStream()

return:PrintStream

⚙ parseExecutionEntries(file)

parse Execution Entries

NutsExecutionEntry[] parseExecutionEntries(File file)

return:NutsExecutionEntry[]

  • File file : jar file

⚙ parseExecutionEntries(file)

parse Execution Entries

NutsExecutionEntry[] parseExecutionEntries(Path file)

return:NutsExecutionEntry[]

  • Path file : jar file

⚙ parseExecutionEntries(inputStream, type, sourceName)

parse Execution Entries

NutsExecutionEntry[] parseExecutionEntries(InputStream inputStream, String type, String sourceName)

return:NutsExecutionEntry[]

  • InputStream inputStream : stream
  • String type : stream type
  • String sourceName : stream source name (optional)

⚙ ps()

create new {\@link NutsIOProcessAction} instance

NutsIOProcessAction ps()

return:NutsIOProcessAction

⚙ systemTerminal()

return terminal format that handles metrics and format/escape methods.

NutsSystemTerminal systemTerminal()

return:NutsSystemTerminal

⚙ terminal()

return workspace default terminal

NutsSessionTerminal terminal()

return:NutsSessionTerminal

⚙ terminalFormat()

return terminal format that handles metrics and format/escape methods

NutsTerminalFormat terminalFormat()

return:NutsTerminalFormat

⚙ uncompress()

create new {\@link NutsIOUncompressAction} instance

NutsIOUncompressAction uncompress()

return:NutsIOUncompressAction

☕ NutsIOProcessAction

public interface net.vpc.app.nuts.NutsIOProcessAction

I/O Action that help monitoring processes

\@author vpc +\@since 0.5.8 +\@category Input Output

🎛 Instance Properties

📝🎛 failFast

update fail fast flag

[read-write] NutsIOProcessAction public failFast
public boolean isFailFast()
public NutsIOProcessAction setFailFast(failFast)

📄🎛 resultList

list all processes of type {\@link #getType()}

[read-only] NutsResultList public resultList
public NutsResultList getResultList()

📝🎛 session

update session

[read-write] NutsIOProcessAction public session
public NutsSession getSession()
public NutsIOProcessAction setSession(session)

📝🎛 type

set process type to consider. +Supported \'java\' or \'java#version\'

[read-write] NutsIOProcessAction public type
public String getType()
public NutsIOProcessAction setType(processType)

⚙ Instance Methods

⚙ failFast()

set fail fast flag

NutsIOProcessAction failFast()

return:NutsIOProcessAction

⚙ failFast(failFast)

update fail fast flag

NutsIOProcessAction failFast(boolean failFast)

return:NutsIOProcessAction

  • boolean failFast : value

⚙ type(processType)

set process type to consider. +Supported \'java\' or \'java#version\'

NutsIOProcessAction type(String processType)

return:NutsIOProcessAction

  • String processType : new type

☕ NutsIOUncompressAction

public interface net.vpc.app.nuts.NutsIOUncompressAction

I/O Action that help monitored uncompress of one or multiple resource types. +\@author vpc +\@since 0.5.8 +\@category Input Output

🎛 Instance Properties

📝🎛 format

update format

[read-write] NutsIOUncompressAction public format
public String getFormat()
public NutsIOUncompressAction setFormat(format)

📝🎛 logProgress

switch log progress flag to {\@code value}.

[read-write] NutsIOUncompressAction public logProgress
public boolean isLogProgress()
public NutsIOUncompressAction setLogProgress(value)

✏🎛 progressMonitor

set progress monitor. Will create a singleton progress monitor factory

[write-only] NutsIOUncompressAction public progressMonitor
public NutsIOUncompressAction setProgressMonitor(value)

📝🎛 progressMonitorFactory

set progress factory responsible of creating progress monitor

[read-write] NutsIOUncompressAction public progressMonitorFactory
public NutsProgressFactory getProgressMonitorFactory()
public NutsIOUncompressAction setProgressMonitorFactory(value)

📝🎛 safe

switch safe flag to {\@code value}

[read-write] NutsIOUncompressAction public safe
public boolean isSafe()
public NutsIOUncompressAction setSafe(value)

📝🎛 session

update current session

[read-write] NutsIOUncompressAction public session
public NutsSession getSession()
public NutsIOUncompressAction setSession(session)

📝🎛 skipRoot

set skip root flag to {\@code value}

[read-write] NutsIOUncompressAction public skipRoot
public boolean isSkipRoot()
public NutsIOUncompressAction setSkipRoot(value)

📝🎛 source

update source to uncompress from

[read-write] NutsIOUncompressAction public source
public Object getSource()
public NutsIOUncompressAction setSource(source)

📝🎛 target

update target

[read-write] NutsIOUncompressAction public target
public Object getTarget()
public NutsIOUncompressAction setTarget(target)

⚙ Instance Methods

⚙ from(source)

update source to uncompress from

NutsIOUncompressAction from(InputStream source)

return:NutsIOUncompressAction

  • InputStream source : source to uncompress from

⚙ from(source)

update source to uncompress from

NutsIOUncompressAction from(File source)

return:NutsIOUncompressAction

  • File source : source to uncompress from

⚙ from(source)

update source to uncompress from

NutsIOUncompressAction from(Path source)

return:NutsIOUncompressAction

  • Path source : source to uncompress from

⚙ from(source)

update source to uncompress from

NutsIOUncompressAction from(URL source)

return:NutsIOUncompressAction

  • URL source : source to uncompress from

⚙ from(source)

update source to uncompress from

NutsIOUncompressAction from(String source)

return:NutsIOUncompressAction

  • String source : source to uncompress from

⚙ from(source)

update source to uncompress from

NutsIOUncompressAction from(Object source)

return:NutsIOUncompressAction

  • Object source : source to uncompress from

⚙ getFormatOption(option)

return format option

Object getFormatOption(String option)

return:Object

  • String option : option name

⚙ logProgress()

switch log progress flag to to true.

NutsIOUncompressAction logProgress()

return:NutsIOUncompressAction

⚙ logProgress(value)

switch log progress flag to {\@code value}.

NutsIOUncompressAction logProgress(boolean value)

return:NutsIOUncompressAction

  • boolean value : value

⚙ progressMonitor(value)

set progress monitor. Will create a singleton progress monitor factory

NutsIOUncompressAction progressMonitor(NutsProgressMonitor value)

return:NutsIOUncompressAction

  • NutsProgressMonitor value : new value

⚙ progressMonitorFactory(value)

set progress factory responsible of creating progress monitor

NutsIOUncompressAction progressMonitorFactory(NutsProgressFactory value)

return:NutsIOUncompressAction

  • NutsProgressFactory value : new value

⚙ run()

run this uncompress action

NutsIOUncompressAction run()

return:NutsIOUncompressAction

⚙ safe()

arm safe flag

NutsIOUncompressAction safe()

return:NutsIOUncompressAction

⚙ safe(value)

switch safe flag to {\@code value}

NutsIOUncompressAction safe(boolean value)

return:NutsIOUncompressAction

  • boolean value : value

⚙ setFormatOption(option, value)

update format option

NutsIOUncompressAction setFormatOption(String option, Object value)

return:NutsIOUncompressAction

  • String option : option name
  • Object value : value

⚙ skipRoot()

set skip root flag to {\@code true}

NutsIOUncompressAction skipRoot()

return:NutsIOUncompressAction

⚙ skipRoot(value)

set skip root flag to {\@code value}

NutsIOUncompressAction skipRoot(boolean value)

return:NutsIOUncompressAction

  • boolean value : new value

⚙ to(target)

update target

NutsIOUncompressAction to(String target)

return:NutsIOUncompressAction

  • String target : target

⚙ to(target)

update target

NutsIOUncompressAction to(Path target)

return:NutsIOUncompressAction

  • Path target : target

⚙ to(target)

update target

NutsIOUncompressAction to(File target)

return:NutsIOUncompressAction

  • File target : target

⚙ to(target)

update target

NutsIOUncompressAction to(Object target)

return:NutsIOUncompressAction

  • Object target : target

☕ NutsLock

public interface net.vpc.app.nuts.NutsLock

NutsLock is simply an adapter to standard {\@link Lock}. +It adds no extra functionality but rather is provided as +a base for future changes. +\@since 0.5.8 +\@category Input Output

☕ NutsMonitorAction

public interface net.vpc.app.nuts.NutsMonitorAction

Monitor action enables monitoring a long lasting operation such as copying a big file.

\@author vpc +\@category Input Output

🎛 Instance Properties

📝🎛 length

update operation length

[read-write] NutsMonitorAction public length
public long getLength()
public NutsMonitorAction setLength(len)

📝🎛 logProgress

when true, will include default factory (console) even if progressFactory is defined

[read-write] NutsMonitorAction public logProgress
public boolean isLogProgress()
public NutsMonitorAction setLogProgress(value)

📝🎛 name

update action name

[read-write] NutsMonitorAction public name
public String getName()
public NutsMonitorAction setName(name)

📝🎛 origin

update action source origin

[read-write] NutsMonitorAction public origin
public Object getOrigin()
public NutsMonitorAction setOrigin(origin)

📝🎛 progressFactory

set progress factory responsible of creating progress monitor

[read-write] NutsMonitorAction public progressFactory
public NutsProgressFactory getProgressFactory()
public NutsMonitorAction setProgressFactory(value)

✏🎛 progressMonitor

set progress monitor. Will create a singleton progress monitor factory

[write-only] NutsMonitorAction public progressMonitor
public NutsMonitorAction setProgressMonitor(value)

📝🎛 session

update current session

[read-write] NutsMonitorAction public session
public NutsSession getSession()
public NutsMonitorAction setSession(session)

✏🎛 source

update operation source

[write-only] NutsMonitorAction public source
public NutsMonitorAction setSource(path)

⚙ Instance Methods

⚙ create()

Create monitored input stream

InputStream create()

return:InputStream

⚙ length(len)

update operation length

NutsMonitorAction length(long len)

return:NutsMonitorAction

  • long len : operation length

⚙ logProgress()

will include default factory (console) even if progressFactory is defined

NutsMonitorAction logProgress()

return:NutsMonitorAction

⚙ logProgress(value)

when true, will include default factory (console) even if progressFactory is defined

NutsMonitorAction logProgress(boolean value)

return:NutsMonitorAction

  • boolean value : value

⚙ name(name)

update action name

NutsMonitorAction name(String name)

return:NutsMonitorAction

  • String name : action name

⚙ origin(origin)

update action source origin

NutsMonitorAction origin(Object origin)

return:NutsMonitorAction

  • Object origin : source origin

⚙ progressFactory(value)

set progress factory responsible of creating progress monitor

NutsMonitorAction progressFactory(NutsProgressFactory value)

return:NutsMonitorAction

  • NutsProgressFactory value : new value

⚙ progressMonitor(value)

set progress monitor. Will create a singleton progress monitor factory

NutsMonitorAction progressMonitor(NutsProgressMonitor value)

return:NutsMonitorAction

  • NutsProgressMonitor value : new value

⚙ source(path)

update operation source

NutsMonitorAction source(String path)

return:NutsMonitorAction

  • String path : operation source

⚙ source(path)

update operation source

NutsMonitorAction source(Path path)

return:NutsMonitorAction

  • Path path : operation source

⚙ source(path)

update operation source

NutsMonitorAction source(File path)

return:NutsMonitorAction

  • File path : operation source

⚙ source(path)

update operation source +TODO: should this handle only streams?

NutsMonitorAction source(InputStream path)

return:NutsMonitorAction

  • InputStream path : operation source

☕ NutsNonFormattedPrintStream

public interface net.vpc.app.nuts.NutsNonFormattedPrintStream

Non formatted Print Stream Anchor Interface +\@author vpc +\@since 0.5.4 +\@category Input Output

☕ NutsOutputStreamTransparentAdapter

public interface net.vpc.app.nuts.NutsOutputStreamTransparentAdapter

Interface to enable marking system streams. When creating new processes nuts +will dereference NutsOutputStreamTransparentAdapter to check if the +OutputStream i a system io. In that cas nuts will "inherit" output/error +stream

\@since 0.5.4 +\@category Input Output

⚙ Instance Methods

⚙ baseOutputStream()

de-referenced stream

OutputStream baseOutputStream()

return:OutputStream

☕ NutsSystemTerminal

public interface net.vpc.app.nuts.NutsSystemTerminal

\@author vpc +\@since 0.5.4 +\@category Input Output

🎛 Instance Properties

📄🎛 standardErrorStream

[read-only] boolean public standardErrorStream
public boolean isStandardErrorStream(out)

📄🎛 standardInputStream

[read-only] boolean public standardInputStream
public boolean isStandardInputStream(in)

📄🎛 standardOutputStream

[read-only] boolean public standardOutputStream
public boolean isStandardOutputStream(out)

☕ NutsTerminal

public interface net.vpc.app.nuts.NutsTerminal

A Terminal handles in put stream, an output stream and an error stream to communicate +with user. +\@since 0.5.4 +\@category Input Output

🎛 Instance Properties

📝🎛 errMode

change terminal mode for err

[read-write] NutsTerminal public errMode
public NutsTerminalMode getErrMode()
public NutsTerminal setErrMode(mode)

✏🎛 mode

change terminal mode for both out and err

[write-only] NutsTerminal public mode
public NutsTerminal setMode(mode)

📝🎛 outMode

change terminal mode for out

[read-write] NutsTerminal public outMode
public NutsTerminalMode getOutMode()
public NutsTerminal setOutMode(mode)

⚙ Instance Methods

⚙ ask()

create a {\@link NutsQuestion} to write a question to the terminal\'s output stream +and read a typed value from the terminal\'s input stream.

NutsQuestion ask()

return:NutsQuestion

⚙ err()

return terminal\'s error stream

PrintStream err()

return:PrintStream

⚙ errMode(mode)

change terminal mode for out

NutsTerminal errMode(NutsTerminalMode mode)

return:NutsTerminal

  • NutsTerminalMode mode : mode

⚙ in()

return terminal\'s input stream

InputStream in()

return:InputStream

⚙ mode(mode)

change terminal mode for both out and err

NutsTerminal mode(NutsTerminalMode mode)

return:NutsTerminal

  • NutsTerminalMode mode : mode

⚙ out()

return terminal\'s output stream

PrintStream out()

return:PrintStream

⚙ outMode(mode)

change terminal mode for out

NutsTerminal outMode(NutsTerminalMode mode)

return:NutsTerminal

  • NutsTerminalMode mode : mode

⚙ readLine(promptFormat, params)

Reads a single line of text from the terminal\'s input stream.

String readLine(String promptFormat, Object[] params)

return:String

  • String promptFormat : prompt message format (cstyle)
  • Object[] params : prompt message parameters

⚙ readPassword(promptFormat, params)

Reads password as a single line of text from the terminal\'s input stream.

char[] readPassword(String promptFormat, Object[] params)

return:char[]

  • String promptFormat : prompt message format (cstyle)
  • Object[] params : prompt message parameters
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Internal/index.html b/docs/docs/javadocs/javadoc_Internal/index.html new file mode 100644 index 000000000..c2536e855 --- /dev/null +++ b/docs/docs/javadocs/javadoc_Internal/index.html @@ -0,0 +1,34 @@ + + + + + + +Internal | Nuts + + + + + + + + + + + + +
+

Internal

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ PrivateNutsLog

public net.vpc.app.nuts.PrivateNutsLog

\@author vpc +\@category Internal

📢❄ Constant Fields

📢❄ CACHE

public static final String CACHE = "CACHE"

📢❄ DEFAULT_DATE_TIME_FORMATTER

public static final DateTimeFormatter DEFAULT_DATE_TIME_FORMATTER

📢❄ FAIL

public static final String FAIL = "FAIL"

📢❄ READ

public static final String READ = "READ"

📢❄ START

public static final String START = "START"

📢❄ SUCCESS

public static final String SUCCESS = "SUCCESS"

📢❄ WARNING

public static final String WARNING = "WARNING"

🪄 Constructors

🪄 PrivateNutsLog()

PrivateNutsLog()

🎛 Instance Properties

📄🎛 loggable

[read-only] boolean public loggable
public boolean isLoggable(lvl)

⚙ Instance Methods

⚙ log(lvl, logVerb, message)

void log(Level lvl, String logVerb, String message)
  • Level lvl :
  • String logVerb :
  • String message :

⚙ log(lvl, message, err)

void log(Level lvl, String message, Throwable err)
  • Level lvl :
  • String message :
  • Throwable err :

⚙ log(lvl, logVerb, message, object)

void log(Level lvl, String logVerb, String message, Object object)
  • Level lvl :
  • String logVerb :
  • String message :
  • Object object :

⚙ log(lvl, logVerb, message, objects)

void log(Level lvl, String logVerb, String message, Object[] objects)
  • Level lvl :
  • String logVerb :
  • String message :
  • Object[] objects :

⚙ setOptions(options)

void setOptions(NutsWorkspaceOptions options)
  • NutsWorkspaceOptions options :
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Logging/index.html b/docs/docs/javadocs/javadoc_Logging/index.html new file mode 100644 index 000000000..d201d281c --- /dev/null +++ b/docs/docs/javadocs/javadoc_Logging/index.html @@ -0,0 +1,46 @@ + + + + + + +Logging | Nuts + + + + + + + + + + + + +
+

Logging

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsLogConfig

public net.vpc.app.nuts.NutsLogConfig

log configuration for running nuts +\@author vpc +\@since 0.5.4 +\@category Logging

🪄 Constructors

🪄 NutsLogConfig()

NutsLogConfig()

🪄 NutsLogConfig(other)

NutsLogConfig(NutsLogConfig other)
  • NutsLogConfig other :

🎛 Instance Properties

📄🎛 logFileBase

[read-only] String public logFileBase
public String getLogFileBase()

📄🎛 logFileCount

[read-only] int public logFileCount
public int getLogFileCount()

📄🎛 logFileLevel

[read-only] Level public logFileLevel
public Level getLogFileLevel()

📄🎛 logFileName

[read-only] String public logFileName
public String getLogFileName()

📄🎛 logFileSize

[read-only] int public logFileSize
public int getLogFileSize()

📄🎛 logInherited

[read-only] boolean public logInherited
public boolean isLogInherited()

📄🎛 logTermLevel

[read-only] Level public logTermLevel
public Level getLogTermLevel()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ setLogFileBase(logFileBase)

NutsLogConfig setLogFileBase(String logFileBase)

return:NutsLogConfig

  • String logFileBase :

⚙ setLogFileCount(logFileCount)

NutsLogConfig setLogFileCount(int logFileCount)

return:NutsLogConfig

  • int logFileCount :

⚙ setLogFileLevel(logFileLevel)

NutsLogConfig setLogFileLevel(Level logFileLevel)

return:NutsLogConfig

  • Level logFileLevel :

⚙ setLogFileName(logFileName)

NutsLogConfig setLogFileName(String logFileName)

return:NutsLogConfig

  • String logFileName :

⚙ setLogFileSize(logFileSize)

NutsLogConfig setLogFileSize(int logFileSize)

return:NutsLogConfig

  • int logFileSize :

⚙ setLogInherited(logInherited)

NutsLogConfig setLogInherited(boolean logInherited)

return:NutsLogConfig

  • boolean logInherited :

⚙ setLogTermLevel(logTermLevel)

NutsLogConfig setLogTermLevel(Level logTermLevel)

return:NutsLogConfig

  • Level logTermLevel :

⚙ toString()

String toString()

return:String

☕ NutsLogManager

public interface net.vpc.app.nuts.NutsLogManager

Nuts Log Manager +\@category Logging

🎛 Instance Properties

📄🎛 fileHandler

file handler

[read-only] Handler public fileHandler
public Handler getFileHandler()

📄🎛 fileLevel

return file logger level

[read-only] Level public fileLevel
public Level getFileLevel()

📄🎛 handlers

Log handler

[read-only] Handler[] public handlers
public Handler[] getHandlers()

📄🎛 termHandler

terminal handler

[read-only] Handler public termHandler
public Handler getTermHandler()

📄🎛 termLevel

return terminal logger level

[read-only] Level public termLevel
public Level getTermLevel()

⚙ Instance Methods

⚙ addHandler(handler)

add the given handler

void addHandler(Handler handler)
  • Handler handler : handler to add

⚙ of(clazz)

create an instance of {\@link NutsLogger}

NutsLogger of(Class clazz)

return:NutsLogger

  • Class clazz : logger clazz

⚙ of(name)

create an instance of {\@link NutsLogger}

NutsLogger of(String name)

return:NutsLogger

  • String name : logger name

⚙ removeHandler(handler)

remove the given handler

void removeHandler(Handler handler)
  • Handler handler : handler to remove

⚙ setFileLevel(level, options)

set file logger level

void setFileLevel(Level level, NutsUpdateOptions options)
  • Level level : new level
  • NutsUpdateOptions options : update options

⚙ setTermLevel(level, options)

set terminal logger level

void setTermLevel(Level level, NutsUpdateOptions options)
  • Level level : new level
  • NutsUpdateOptions options : update options

☕ NutsLogger

public interface net.vpc.app.nuts.NutsLogger

Workspace aware Logger +\@category Logging

⚙ Instance Methods

⚙ isLoggable(level)

Check if a message of the given level would actually be logged +by this logger. This check is based on the Loggers effective level, +which may be inherited from its parent.

boolean isLoggable(Level level)

return:boolean

  • Level level : a message logging level

⚙ log(record)

Log a LogRecord. +\<p> +All the other logging methods in this class call through +this method to actually perform any logging. Subclasses can +override this single method to capture all log activity.

void log(LogRecord record)
  • LogRecord record : the LogRecord to be published

⚙ log(level, msg, thrown)

log message using \'FAIL\' verb

void log(Level level, String msg, Throwable thrown)
  • Level level : message level
  • String msg : message
  • Throwable thrown : error thrown

⚙ log(level, verb, msg)

log message using the given verb and level

void log(Level level, String verb, String msg)
  • Level level : message level
  • String verb : message verb / category
  • String msg : message

⚙ log(level, verb, msgSupplier)

log message using the given verb and level

void log(Level level, String verb, Supplier msgSupplier)
  • Level level : message level
  • String verb : message verb / category
  • Supplier msgSupplier : message supplier

⚙ log(level, verb, msg, params)

log message using the given verb and level

void log(Level level, String verb, String msg, Object[] params)
  • Level level : message level
  • String verb : message verb / category
  • String msg : message
  • Object[] params : message parameters

⚙ with()

create a logger op. +A Logger Op handles all information to log in a custom manner.

NutsLoggerOp with()

return:NutsLoggerOp

☕ NutsLoggerOp

public interface net.vpc.app.nuts.NutsLoggerOp

Log operation +\@category Logging

⚙ Instance Methods

⚙ error(error)

set log error

NutsLoggerOp error(Throwable error)

return:NutsLoggerOp

  • Throwable error : error thrown

⚙ formatted()

set formatted mode (Nuts Stream Format)

NutsLoggerOp formatted()

return:NutsLoggerOp

⚙ formatted(value)

set or unset formatted mode (Nuts Stream Format)

NutsLoggerOp formatted(boolean value)

return:NutsLoggerOp

  • boolean value : formatted flag

⚙ level(level)

set operation level

NutsLoggerOp level(Level level)

return:NutsLoggerOp

  • Level level : message level

⚙ log(msgSupplier)

log the given message

void log(Supplier msgSupplier)
  • Supplier msgSupplier : message supplier

⚙ log(msg, params)

log the given message

void log(String msg, Object[] params)
  • String msg : message
  • Object[] params : message params

⚙ style(style)

set message style (cstyle or positional)

NutsLoggerOp style(NutsTextFormatStyle style)

return:NutsLoggerOp

  • NutsTextFormatStyle style : message format style

⚙ time(time)

set operation time

NutsLoggerOp time(long time)

return:NutsLoggerOp

  • long time : operation time in ms

⚙ verb(verb)

set log verb

NutsLoggerOp verb(String verb)

return:NutsLoggerOp

  • String verb : verb or category
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Other/index.html b/docs/docs/javadocs/javadoc_Other/index.html new file mode 100644 index 000000000..ae96eae91 --- /dev/null +++ b/docs/docs/javadocs/javadoc_Other/index.html @@ -0,0 +1,49 @@ + + + + + + +Other | Nuts + + + + + + + + + + + + +
+

Other

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsConstants.BootstrapURLs

public static final net.vpc.app.nuts.NutsConstants.BootstrapURLs

📢❄ Constant Fields

📢❄ LOCAL_MAVEN_CENTRAL

public static final String LOCAL_MAVEN_CENTRAL = "~/.m2/repository"

📢❄ LOCAL_NUTS_FOLDER

public static final String LOCAL_NUTS_FOLDER = "${home.config}/.vpc-public-nuts"

📢❄ REMOTE_MAVEN_CENTRAL

public static final String REMOTE_MAVEN_CENTRAL = "https://repo.maven.apache.org/maven2"

📢❄ REMOTE_MAVEN_GIT

public static final String REMOTE_MAVEN_GIT = "https://raw.githubusercontent.com/thevpc/vpc-public-maven/master"

📢❄ REMOTE_NUTS_GIT

public static final String REMOTE_NUTS_GIT = "https://raw.githubusercontent.com/thevpc/vpc-public-nuts/master"

☕ NutsConstants.Files

public static final net.vpc.app.nuts.NutsConstants.Files

file related constants

📢❄ Constant Fields

📢❄ DESCRIPTOR_FILE_EXTENSION

public static final String DESCRIPTOR_FILE_EXTENSION = ".nuts"

📢❄ DESCRIPTOR_FILE_NAME

public static final String DESCRIPTOR_FILE_NAME = "nuts.json"

📢❄ NUTS_COMMAND_FILE_EXTENSION

public static final String NUTS_COMMAND_FILE_EXTENSION = ".nuts-cmd-alias.json"

📢❄ REPOSITORY_CONFIG_FILE_NAME

public static final String REPOSITORY_CONFIG_FILE_NAME = "nuts-repository.json"

📢❄ WORKSPACE_API_CONFIG_FILE_NAME

public static final String WORKSPACE_API_CONFIG_FILE_NAME = "nuts-api-config.json"

📢❄ WORKSPACE_CONFIG_FILE_NAME

public static final String WORKSPACE_CONFIG_FILE_NAME = "nuts-workspace.json"

📢❄ WORKSPACE_EXTENSION_CACHE_FILE_NAME

public static final String WORKSPACE_EXTENSION_CACHE_FILE_NAME = "nuts-extension-cache.json"

📢❄ WORKSPACE_RUNTIME_CACHE_FILE_NAME

public static final String WORKSPACE_RUNTIME_CACHE_FILE_NAME = "nuts-runtime-cache.json"

☕ NutsConstants.Folders

public static final net.vpc.app.nuts.NutsConstants.Folders

default folder names

📢❄ Constant Fields

📢❄ BOOT

public static final String BOOT = "boot"

📢❄ ID

public static final String ID = "id"

📢❄ REPOSITORIES

public static final String REPOSITORIES = "repos"

☕ NutsConstants.IdProperties

public static final net.vpc.app.nuts.NutsConstants.IdProperties

Nuts Id query parameter names. Nuts id has the following form +namespace://group:name#version?query where query is in the form +key=value{\@literal \@}key=value... +\<p> +This class defines all standard key names and their default values in the +query part.

📢❄ Constant Fields

📢❄ ARCH

public static final String ARCH = "arch"

📢❄ CLASSIFIER

public static final String CLASSIFIER = "classifier"

📢❄ EXCLUSIONS

public static final String EXCLUSIONS = "exclusions"

📢❄ FACE

public static final String FACE = "face"

📢❄ NAMESPACE

public static final String NAMESPACE = "namespace"

📢❄ OPTIONAL

public static final String OPTIONAL = "optional"

📢❄ OS

public static final String OS = "os"

📢❄ OSDIST

public static final String OSDIST = "osdist"

📢❄ PACKAGING

public static final String PACKAGING = "packaging"

📢❄ PLATFORM

public static final String PLATFORM = "platform"

📢❄ SCOPE

public static final String SCOPE = "scope"

📢❄ VERSION

public static final String VERSION = "version"

☕ NutsConstants.Ids

public static final net.vpc.app.nuts.NutsConstants.Ids

identifier related constants

📢❄ Constant Fields

📢❄ NUTS_API

public static final String NUTS_API = "net.vpc.app.nuts:nuts"

📢❄ NUTS_RUNTIME

public static final String NUTS_RUNTIME = "net.vpc.app.nuts:nuts-core"

📢❄ NUTS_SHELL

public static final String NUTS_SHELL = "net.vpc.app.nuts.toolbox:nsh"

☕ NutsConstants.Names

public static final net.vpc.app.nuts.NutsConstants.Names

name constants

📢❄ Constant Fields

📢❄ DEFAULT_REPOSITORY_NAME

public static final String DEFAULT_REPOSITORY_NAME = "local"

📢❄ DEFAULT_WORKSPACE_NAME

public static final String DEFAULT_WORKSPACE_NAME = "default-workspace"

☕ NutsConstants.Permissions

public static final net.vpc.app.nuts.NutsConstants.Permissions

standard right keys for distinct operations in nuts.

📢❄ Constant Fields

📢❄ ADD_REPOSITORY

public static final String ADD_REPOSITORY = "add-repo"

📢❄ ADMIN

public static final String ADMIN = "admin"

📢❄ ALL

public static final Set ALL

📢❄ AUTO_INSTALL

public static final String AUTO_INSTALL = "auto-install"

📢❄ DEPLOY

public static final String DEPLOY = "deploy"

📢❄ EXEC

public static final String EXEC = "exec"

📢❄ FETCH_CONTENT

public static final String FETCH_CONTENT = "fetch-content"

📢❄ FETCH_DESC

public static final String FETCH_DESC = "fetch-desc"

📢❄ INSTALL

public static final String INSTALL = "install"

📢❄ PUSH

public static final String PUSH = "push"

📢❄ REMOVE_REPOSITORY

public static final String REMOVE_REPOSITORY = "remove-repo"

📢❄ SAVE

public static final String SAVE = "save"

📢❄ SET_PASSWORD

public static final String SET_PASSWORD = "set-password"

📢❄ UNDEPLOY

public static final String UNDEPLOY = "undeploy"

📢❄ UNINSTALL

public static final String UNINSTALL = "uninstall"

📢❄ UPDATE

public static final String UPDATE = "update"

☕ NutsConstants.QueryFaces

public static final net.vpc.app.nuts.NutsConstants.QueryFaces

valid values for Query parameter "face"

📢❄ Constant Fields

📢❄ CONTENT

public static final String CONTENT = "content"

📢❄ CONTENT_HASH

public static final String CONTENT_HASH = "content-hash"

📢❄ DESCRIPTOR

public static final String DESCRIPTOR = "descriptor"

📢❄ DESCRIPTOR_HASH

public static final String DESCRIPTOR_HASH = "descriptor-hash"

☕ NutsConstants.RepoTypes

public static final net.vpc.app.nuts.NutsConstants.RepoTypes

📢❄ Constant Fields

📢❄ MAVEN

public static final String MAVEN = "maven"

📢❄ NUTS

public static final String NUTS = "nuts"

📢❄ NUTS_SERVER

public static final String NUTS_SERVER = "nuts-server"

☕ NutsConstants.Users

public static final net.vpc.app.nuts.NutsConstants.Users

nuts standard user names

📢❄ Constant Fields

📢❄ ADMIN

public static final String ADMIN = "admin"

📢❄ ANONYMOUS

public static final String ANONYMOUS = "anonymous"

☕ NutsConstants.Versions

public static final net.vpc.app.nuts.NutsConstants.Versions

version special names

📢❄ Constant Fields

📢❄ LATEST

public static final String LATEST = "LATEST"

📢❄ RELEASE

public static final String RELEASE = "RELEASE"

☕ NutsExecCommandFormat.ArgEntry

public static interface net.vpc.app.nuts.NutsExecCommandFormat.ArgEntry

argument entry

🎛 Instance Properties

📄🎛 index

argument index

[read-only] int public index
public int getIndex()

📄🎛 value

argument value

[read-only] String public value
public String getValue()

☕ NutsExecCommandFormat.EnvEntry

public static interface net.vpc.app.nuts.NutsExecCommandFormat.EnvEntry

env entry

🎛 Instance Properties

📄🎛 name

env name

[read-only] String public name
public String getName()

📄🎛 value

env value

[read-only] String public value
public String getValue()

☕ NutsIOCopyValidationException

public net.vpc.app.nuts.NutsIOCopyValidationException

Exception thrown when copy validation fails

🪄 Constructors

🪄 NutsIOCopyValidationException(ws)

Constructs a new Validation Exception

NutsIOCopyValidationException(NutsWorkspace ws)
  • NutsWorkspace ws :

🪄 NutsIOCopyValidationException(ws, cause)

Constructs a new Validation Exception

NutsIOCopyValidationException(NutsWorkspace ws, Throwable cause)
  • NutsWorkspace ws :
  • Throwable cause : cause

🪄 NutsIOCopyValidationException(ws, message)

Constructs a new Validation Exception

NutsIOCopyValidationException(NutsWorkspace ws, String message)
  • NutsWorkspace ws :
  • String message : message

🪄 NutsIOCopyValidationException(ws, message, cause)

Constructs a new Validation Exception

NutsIOCopyValidationException(NutsWorkspace ws, String message, Throwable cause)
  • NutsWorkspace ws :
  • String message : message
  • Throwable cause : cause

☕ NutsRepositoryRef

public net.vpc.app.nuts.NutsRepositoryRef

\@author vpc +\@since 0.5.4

🪄 Constructors

🪄 NutsRepositoryRef()

NutsRepositoryRef()

🪄 NutsRepositoryRef(other)

NutsRepositoryRef(NutsRepositoryRef other)
  • NutsRepositoryRef other :

🪄 NutsRepositoryRef(name, location, deployPriority, enabled)

NutsRepositoryRef(String name, String location, int deployPriority, boolean enabled)
  • String name :
  • String location :
  • int deployPriority :
  • boolean enabled :

🎛 Instance Properties

📄🎛 deployOrder

[read-only] int public deployOrder
public int getDeployOrder()

📄🎛 enabled

[read-only] boolean public enabled
public boolean isEnabled()

📄🎛 failSafe

[read-only] boolean public failSafe
public boolean isFailSafe()

📄🎛 location

[read-only] String public location
public String getLocation()

📄🎛 name

[read-only] String public name
public String getName()

⚙ Instance Methods

⚙ copy()

NutsRepositoryRef copy()

return:NutsRepositoryRef

⚙ equals(obj)

boolean equals(Object obj)

return:boolean

  • Object obj :

⚙ hashCode()

int hashCode()

return:int

⚙ setDeployOrder(deployPriority)

NutsRepositoryRef setDeployOrder(int deployPriority)

return:NutsRepositoryRef

  • int deployPriority :

⚙ setEnabled(enabled)

NutsRepositoryRef setEnabled(boolean enabled)

return:NutsRepositoryRef

  • boolean enabled :

⚙ setFailSafe(failSafe)

NutsRepositoryRef setFailSafe(boolean failSafe)

return:NutsRepositoryRef

  • boolean failSafe :

⚙ setLocation(location)

NutsRepositoryRef setLocation(String location)

return:NutsRepositoryRef

  • String location :

⚙ setName(name)

NutsRepositoryRef setName(String name)

return:NutsRepositoryRef

  • String name :

⚙ toString()

String toString()

return:String

☕ NutsRepositorySecurityManager

public interface net.vpc.app.nuts.NutsRepositorySecurityManager

\@author vpc +\@since 0.5.4

🎛 Instance Properties

📄🎛 allowed

[read-only] boolean public allowed
public boolean isAllowed(right)

📄🎛 authenticationAgent

[read-only] NutsAuthenticationAgent public authenticationAgent
public NutsAuthenticationAgent getAuthenticationAgent(id)

📄🎛 effectiveUser

[read-only] NutsUser public effectiveUser
public NutsUser getEffectiveUser(username)

⚙ Instance Methods

⚙ addUser(name)

NutsAddUserCommand addUser(String name)

return:NutsAddUserCommand

  • String name :

⚙ checkAllowed(right, operationName)

NutsRepositorySecurityManager checkAllowed(String right, String operationName)

return:NutsRepositorySecurityManager

  • String right :
  • String operationName :

⚙ checkCredentials(credentialsId, password)

check if the given \<code>password\</code> is valid against the one stored +by the Authentication Agent for \<code>credentialsId\</code>

void checkCredentials(char[] credentialsId, char[] password)
  • char[] credentialsId : credentialsId
  • char[] password : password

⚙ createCredentials(credentials, allowRetreive, credentialId)

store credentials in the agent\'s and return the credential id to store +into the config. if credentialId is not null, the given credentialId will +be updated and the credentialId is returned. The {\@code credentialsId},if +present or returned, \<strong>MUST\</strong> be prefixed with +AuthenticationAgent\'d id and \':\' character

char[] createCredentials(char[] credentials, boolean allowRetreive, char[] credentialId)

return:char[]

  • char[] credentials : credential
  • boolean allowRetreive : when true {@link #getCredentials(char[])} can be invoked over {@code credentialId}
  • char[] credentialId : preferred credentialId, if null, a new one is created

⚙ findUsers()

NutsUser[] findUsers()

return:NutsUser[]

⚙ getCredentials(credentialsId)

get the credentials for the given id. The {\@code credentialsId} +\<strong>MUST\</strong> be prefixed with AuthenticationAgent\'d id and \':\' +character

char[] getCredentials(char[] credentialsId)

return:char[]

  • char[] credentialsId : credentials-id

⚙ removeCredentials(credentialsId)

remove existing credentials with the given id The {\@code credentialsId} +\<strong>MUST\</strong> be prefixed with AuthenticationAgent\'d id and \':\' +character

boolean removeCredentials(char[] credentialsId)

return:boolean

  • char[] credentialsId : credentials-id

⚙ removeUser(name)

NutsRemoveUserCommand removeUser(String name)

return:NutsRemoveUserCommand

  • String name :

⚙ setAuthenticationAgent(authenticationAgent, options)

NutsRepositorySecurityManager setAuthenticationAgent(String authenticationAgent, NutsUpdateOptions options)

return:NutsRepositorySecurityManager

  • String authenticationAgent :
  • NutsUpdateOptions options :

⚙ updateUser(name)

NutsUpdateUserCommand updateUser(String name)

return:NutsUpdateUserCommand

  • String name :

☕ NutsTableFormat.Separator

public static final net.vpc.app.nuts.NutsTableFormat.Separator

📢❄ Constant Fields

📢❄ FIRST_ROW_END

public static final Separator FIRST_ROW_END

📢❄ FIRST_ROW_LINE

public static final Separator FIRST_ROW_LINE

📢❄ FIRST_ROW_SEP

public static final Separator FIRST_ROW_SEP

📢❄ FIRST_ROW_START

public static final Separator FIRST_ROW_START

📢❄ LAST_ROW_END

public static final Separator LAST_ROW_END

📢❄ LAST_ROW_LINE

public static final Separator LAST_ROW_LINE

📢❄ LAST_ROW_SEP

public static final Separator LAST_ROW_SEP

📢❄ LAST_ROW_START

public static final Separator LAST_ROW_START

📢❄ MIDDLE_ROW_END

public static final Separator MIDDLE_ROW_END

📢❄ MIDDLE_ROW_LINE

public static final Separator MIDDLE_ROW_LINE

📢❄ MIDDLE_ROW_SEP

public static final Separator MIDDLE_ROW_SEP

📢❄ MIDDLE_ROW_START

public static final Separator MIDDLE_ROW_START

📢❄ ROW_END

public static final Separator ROW_END

📢❄ ROW_SEP

public static final Separator ROW_SEP

📢❄ ROW_START

public static final Separator ROW_START

📢⚙ Static Methods

📢⚙ valueOf(name)

Separator valueOf(String name)

return:Separator

  • String name :

📢⚙ values()

Separator[] values()

return:Separator[]

⚙ Instance Methods

⚙ id()

lower cased identifier.

String id()

return:String

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_SPI_Base/index.html b/docs/docs/javadocs/javadoc_SPI_Base/index.html new file mode 100644 index 000000000..d5857177f --- /dev/null +++ b/docs/docs/javadocs/javadoc_SPI_Base/index.html @@ -0,0 +1,143 @@ + + + + + + +SPI Base | Nuts + + + + + + + + + + + + +
+

SPI Base

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsBootWorkspace

public final net.vpc.app.nuts.NutsBootWorkspace

NutsBootWorkspace is responsible of loading initial nuts-core.jar and its +dependencies and for creating workspaces using the method +{\@link #openWorkspace()} . NutsBootWorkspace is also responsible of managing +local jar cache folder located at ~/.cache/nuts/default-workspace/boot +\<p> +Default Bootstrap implementation. This class is responsible of loading +initial nuts-core.jar and its dependencies and for creating workspaces using +the method {\@link #openWorkspace()}. +\<p>

\@author vpc +\@since 0.5.4 +\@category SPI Base

🪄 Constructors

🪄 NutsBootWorkspace(args)

NutsBootWorkspace(String[] args)
  • String[] args :

🪄 NutsBootWorkspace(options)

NutsBootWorkspace(NutsWorkspaceOptions options)
  • NutsWorkspaceOptions options :

🎛 Instance Properties

📄🎛 contextClassLoader

[read-only] ClassLoader protected contextClassLoader
protected ClassLoader getContextClassLoader()

📄🎛 home

[read-only] String protected home
protected String getHome(storeFolder)

📄🎛 options

[read-only] NutsWorkspaceOptions public options
public NutsWorkspaceOptions getOptions()

⚙ Instance Methods

⚙ createProcessBuilder()

ProcessBuilder createProcessBuilder()

return:ProcessBuilder

⚙ createProcessCommandLine()

String[] createProcessCommandLine()

return:String[]

⚙ expandPath(path, base)

String expandPath(String path, String base)

return:String

  • String path :
  • String base :

⚙ getRequirementsHelpString(unsatisfiedOnly)

return a string representing unsatisfied contrains

String getRequirementsHelpString(boolean unsatisfiedOnly)

return:String

  • boolean unsatisfiedOnly : when true return requirements for new instance

⚙ hasUnsatisfiedRequirements()

boolean hasUnsatisfiedRequirements()

return:boolean

⚙ openWorkspace()

NutsWorkspace openWorkspace()

return:NutsWorkspace

⚙ resolveBootRepositories()

Collection resolveBootRepositories()

return:Collection

⚙ runWorkspace()

void runWorkspace()

⚙ startNewProcess()

int startNewProcess()

return:int

☕ NutsBootWorkspaceFactory

public interface net.vpc.app.nuts.NutsBootWorkspaceFactory

Class responsible of creating and initializing Workspace +Created by vpc on 1/5/17.

\@since 0.5.4 +\@category SPI Base

⚙ Instance Methods

⚙ createWorkspace(options)

create workspace with the given options

NutsWorkspace createWorkspace(NutsWorkspaceInitInformation options)

return:NutsWorkspace

  • NutsWorkspaceInitInformation options : boot init options

⚙ getBootSupportLevel(options)

when multiple factories are available, the best one is selected according to +the maximum value of {\@code getBootSupportLevel(options)}. +Note that default value (for the reference implementation) is {\@code NutsComponent.DEFAULT_SUPPORT}. +Any value less or equal to zero is ignored (and the factory is discarded)

int getBootSupportLevel(NutsWorkspaceOptions options)

return:int

  • NutsWorkspaceOptions options : command line options

☕ NutsCommandAliasFactoryConfig

public net.vpc.app.nuts.NutsCommandAliasFactoryConfig

Command Alias Factory Definition Config

\@author vpc +\@since 0.5.4 +\@category SPI Base

🪄 Constructors

🪄 NutsCommandAliasFactoryConfig()

NutsCommandAliasFactoryConfig()

🎛 Instance Properties

📝🎛 factoryId

Factory id (unique identifier in the workspace)

[read-write] NutsCommandAliasFactoryConfig public factoryId
public String getFactoryId()
public NutsCommandAliasFactoryConfig setFactoryId(value)

📝🎛 factoryType

Factory Type

[read-write] NutsCommandAliasFactoryConfig public factoryType
public String getFactoryType()
public NutsCommandAliasFactoryConfig setFactoryType(value)

📝🎛 parameters

factory parameters

[read-write] NutsCommandAliasFactoryConfig public parameters
public Map getParameters()
public NutsCommandAliasFactoryConfig setParameters(value)

📝🎛 priority

priority (the higher the better)

[read-write] NutsCommandAliasFactoryConfig public priority
public int getPriority()
public NutsCommandAliasFactoryConfig setPriority(value)

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsComponent

public interface net.vpc.app.nuts.NutsComponent

Top Level extension Point in Nuts. +Extension mechanism in nuts is based on a factory thats select the best +implementation for a given predefined interface (named Extension Point). +Such interfaces must extend this {\@code NutsComponent} interface. +Implementations must implement these extension points by providing their +best support level (when method {\@link #getSupportLevel(net.vpc.app.nuts.NutsSupportLevelContext)} is invoked). +Only implementations with positive support level are considered. +Implementations with higher support level are selected first.

\@param \<CriteriaType> support criteria type +\@since 0.5.4 +\@category SPI Base

📢❄ Constant Fields

📢❄ CUSTOM_SUPPORT

public static final int CUSTOM_SUPPORT = 1000

📢❄ DEFAULT_SUPPORT

public static final int DEFAULT_SUPPORT = 10

📢❄ NO_SUPPORT

public static final int NO_SUPPORT = -1

⚙ Instance Methods

⚙ getSupportLevel(context)

evaluate support level (who much this instance should be considered convenient, acceptable) +for the given arguments (provided in context).

int getSupportLevel(NutsSupportLevelContext context)

return:int

  • NutsSupportLevelContext context : evaluation context

☕ NutsDefaultSupportLevelContext

public net.vpc.app.nuts.NutsDefaultSupportLevelContext

Default and dummy NutsSupportLevelContext implementation +\@author vpc +\@param \<T> support level type +\@category SPI Base

🪄 Constructors

🪄 NutsDefaultSupportLevelContext(ws, constraints)

default constructor

NutsDefaultSupportLevelContext(NutsWorkspace ws, Object constraints)
  • NutsWorkspace ws : workspace
  • Object constraints : constraints

🎛 Instance Properties

📄🎛 constraints

[read-only] Object public constraints
public Object getConstraints()

📄🎛 workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsDeployRepositoryCommand

public interface net.vpc.app.nuts.NutsDeployRepositoryCommand

Repository Deploy command provided by Repository and used by Workspace. +This class is part of Nuts SPI and is not to be used by end users. +\@author vpc +\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📝🎛 content

set content to deploy

[read-write] NutsDeployRepositoryCommand public content
public Object getContent()
public NutsDeployRepositoryCommand setContent(content)

📝🎛 descriptor

set descriptor to deploy

[read-write] NutsDeployRepositoryCommand public descriptor
public NutsDescriptor getDescriptor()
public NutsDeployRepositoryCommand setDescriptor(descriptor)

📝🎛 id

set id to deploy

[read-write] NutsDeployRepositoryCommand public id
public NutsId getId()
public NutsDeployRepositoryCommand setId(id)

✏🎛 session

session

[write-only] NutsDeployRepositoryCommand public session
public NutsDeployRepositoryCommand setSession(session)

⚙ Instance Methods

⚙ run()

run deploy command

NutsDeployRepositoryCommand run()

return:NutsDeployRepositoryCommand

☕ NutsDescriptorContentParserComponent

public interface net.vpc.app.nuts.NutsDescriptorContentParserComponent

Content parser component is responsible of resolving a Nuts descriptor form a content file

\@since 0.5.4 +\@category SPI Base

⚙ Instance Methods

⚙ parse(parserContext)

parse content and return a valid NutsDescriptor or null if not supported.

NutsDescriptor parse(NutsDescriptorContentParserContext parserContext)

return:NutsDescriptor

  • NutsDescriptorContentParserContext parserContext : context

☕ NutsDescriptorContentParserContext

public interface net.vpc.app.nuts.NutsDescriptorContentParserContext

context holding useful information for {\@link NutsDescriptorContentParserComponent#parse(NutsDescriptorContentParserContext)}

\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📄🎛 fileExtension

content file extension or null. At least one of file extension or file mime-type is provided.

[read-only] String public fileExtension
public String getFileExtension()

📄🎛 fullStream

content stream

[read-only] InputStream public fullStream
public InputStream getFullStream()

📄🎛 headStream

return content header stream. +if the content size is less than 1Mb, then all the content is returned. +If not, at least 1Mb is returned.

[read-only] InputStream public headStream
public InputStream getHeadStream()

📄🎛 mimeType

content mime-type or null. At least one of file extension or file mime-type is provided.

[read-only] String public mimeType
public String getMimeType()

📄🎛 name

content name (mostly content file name)

[read-only] String public name
public String getName()

📄🎛 parseOptions

command line options that can be parsed to +configure parsing options. +A good example of it is the --all-mains option that can be passed +as executor option which will be catched by parser to force resolution +of all main classes even though a Main-Class attribute is visited in the MANIFEST.MF +file. +This array may continue any non supported options. They should be discarded by the parser.

[read-only] String[] public parseOptions
public String[] getParseOptions()

📄🎛 session

return session

[read-only] NutsSession public session
public NutsSession getSession()

📄🎛 workspace

return workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsExecutorComponent

public interface net.vpc.app.nuts.NutsExecutorComponent

An Executor Component is responsible of "executing" a nuts component +(package) Created by vpc on 1/7/17.

\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📄🎛 id

artifact id

[read-only] NutsId public id
public NutsId getId()

⚙ Instance Methods

⚙ dryExec(executionContext)

performs a dry execution (simulation) avoiding any side effect and issuing trace to standard +output in order to log simulation workflow.

void dryExec(NutsExecutionContext executionContext)
  • NutsExecutionContext executionContext : executionContext

⚙ exec(executionContext)

execute the artifact

void exec(NutsExecutionContext executionContext)
  • NutsExecutionContext executionContext : executionContext

☕ NutsFetchContentRepositoryCommand

public interface net.vpc.app.nuts.NutsFetchContentRepositoryCommand

Repository command bound to FetchCommand used to fetch an artifact content from a specific repository. +\@author vpc +\@since 0.5.5 +\@category SPI Base

🎛 Instance Properties

📝🎛 descriptor

set descriptor to fetch.

[read-write] NutsFetchContentRepositoryCommand public descriptor
public NutsDescriptor getDescriptor()
public NutsFetchContentRepositoryCommand setDescriptor(descriptor)

📝🎛 fetchMode

fetchMode

[read-write] NutsFetchContentRepositoryCommand public fetchMode
public NutsFetchMode getFetchMode()
public NutsFetchContentRepositoryCommand setFetchMode(fetchMode)

📝🎛 id

set id to fetch.

[read-write] NutsFetchContentRepositoryCommand public id
public NutsId getId()
public NutsFetchContentRepositoryCommand setId(id)

📝🎛 localPath

set localPath to store to.

[read-write] NutsFetchContentRepositoryCommand public localPath
public Path getLocalPath()
public NutsFetchContentRepositoryCommand setLocalPath(localPath)

📄🎛 result

return fetch result. if the command is not yet executed, it will be executed first.

[read-only] NutsContent public result
public NutsContent getResult()

✏🎛 session

set current session.

[write-only] NutsFetchContentRepositoryCommand public session
public NutsFetchContentRepositoryCommand setSession(session)

⚙ Instance Methods

⚙ run()

preform command. Should be called after setting all parameters. +Result is retrievable with {\@link #getResult()}.

NutsFetchContentRepositoryCommand run()

return:NutsFetchContentRepositoryCommand

☕ NutsFetchDescriptorRepositoryCommand

public interface net.vpc.app.nuts.NutsFetchDescriptorRepositoryCommand

Repository command used to fetch an artifact descriptor from a specific repository. +\@author vpc +\@since 0.5.5 +\@category SPI Base

🎛 Instance Properties

📝🎛 fetchMode

fetchMode

[read-write] NutsFetchDescriptorRepositoryCommand public fetchMode
public NutsFetchMode getFetchMode()
public NutsFetchDescriptorRepositoryCommand setFetchMode(fetchMode)

📝🎛 id

set id to fetch

[read-write] NutsFetchDescriptorRepositoryCommand public id
public NutsId getId()
public NutsFetchDescriptorRepositoryCommand setId(id)

📄🎛 result

return fetch result. if the command is not yet executed, it will be executed first.

[read-only] NutsDescriptor public result
public NutsDescriptor getResult()

⚙ Instance Methods

⚙ run()

preform command. Should be called after setting all parameters. +Result is retrievable with {\@link #getResult()}.

NutsFetchDescriptorRepositoryCommand run()

return:NutsFetchDescriptorRepositoryCommand

⚙ setSession(session)

NutsFetchDescriptorRepositoryCommand setSession(NutsSession session)

return:NutsFetchDescriptorRepositoryCommand

  • NutsSession session :

☕ NutsInstallerComponent

public interface net.vpc.app.nuts.NutsInstallerComponent

Component responsible of installing other artifacts.

\@since 0.5.4 +\@category SPI Base

⚙ Instance Methods

⚙ install(executionContext)

install artifact

void install(NutsExecutionContext executionContext)
  • NutsExecutionContext executionContext : execution context

⚙ uninstall(executionContext, deleteData)

uninstall artifact

void uninstall(NutsExecutionContext executionContext, boolean deleteData)
  • NutsExecutionContext executionContext : execution context
  • boolean deleteData : delete data after uninstall

⚙ update(executionContext)

update artifact

void update(NutsExecutionContext executionContext)
  • NutsExecutionContext executionContext : execution context

☕ NutsPrototype

public interface net.vpc.app.nuts.NutsPrototype

classes that are marked with this annotation will be created at each call by +the factory.

\@since 0.5.4 +\@category SPI Base

☕ NutsPushRepositoryCommand

public interface net.vpc.app.nuts.NutsPushRepositoryCommand

Push Command +\@author vpc +\@category SPI Base

🎛 Instance Properties

📝🎛 args

args args to push

[read-write] NutsPushRepositoryCommand public args
public String[] getArgs()
public NutsPushRepositoryCommand setArgs(args)

📝🎛 id

set id to push.

[read-write] NutsPushRepositoryCommand public id
public NutsId getId()
public NutsPushRepositoryCommand setId(id)

📝🎛 offline

local only (installed or not)

[read-write] NutsPushRepositoryCommand public offline
public boolean isOffline()
public NutsPushRepositoryCommand setOffline(offline)

📝🎛 repository

repository to push from

[read-write] NutsPushRepositoryCommand public repository
public String getRepository()
public NutsPushRepositoryCommand setRepository(repository)

✏🎛 session

set session

[write-only] NutsPushRepositoryCommand public session
public NutsPushRepositoryCommand setSession(session)

⚙ Instance Methods

⚙ run()

run this command and return {\@code this} instance

NutsPushRepositoryCommand run()

return:NutsPushRepositoryCommand

☕ NutsRepositoryCommand

public interface net.vpc.app.nuts.NutsRepositoryCommand

Root class for all Repository commands. +\@author vpc +\@category SPI Base

🎛 Instance Properties

📝🎛 session

set session

[read-write] NutsRepositoryCommand public session
public NutsSession getSession()
public NutsRepositoryCommand setSession(session)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsRepositoryCommand configure(boolean skipUnsupported, String[] args)

return:NutsRepositoryCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ run()

run this command and return {\@code this} instance

NutsRepositoryCommand run()

return:NutsRepositoryCommand

☕ NutsRepositoryFactoryComponent

public interface net.vpc.app.nuts.NutsRepositoryFactoryComponent

Created by vpc on 1/15/17.

\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📄🎛 defaultRepositories

[read-only] NutsRepositoryDefinition[] public defaultRepositories
public NutsRepositoryDefinition[] getDefaultRepositories(workspace)

⚙ Instance Methods

⚙ create(options, workspace, parentRepository)

NutsRepository create(NutsAddRepositoryOptions options, NutsWorkspace workspace, NutsRepository parentRepository)

return:NutsRepository

  • NutsAddRepositoryOptions options :
  • NutsWorkspace workspace :
  • NutsRepository parentRepository :

☕ NutsRepositoryUndeployCommand

public interface net.vpc.app.nuts.NutsRepositoryUndeployCommand

\@author vpc +\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📄🎛 id

[read-only] NutsId public id
public NutsId getId()

📄🎛 offline

[read-only] boolean public offline
public boolean isOffline()

📄🎛 repository

[read-only] String public repository
public String getRepository()

📄🎛 transitive

[read-only] boolean public transitive
public boolean isTransitive()

⚙ Instance Methods

⚙ run()

run this command and return {\@code this} instance

NutsRepositoryUndeployCommand run()

return:NutsRepositoryUndeployCommand

⚙ setId(id)

NutsRepositoryUndeployCommand setId(NutsId id)

return:NutsRepositoryUndeployCommand

  • NutsId id :

⚙ setOffline(offline)

NutsRepositoryUndeployCommand setOffline(boolean offline)

return:NutsRepositoryUndeployCommand

  • boolean offline :

⚙ setRepository(repository)

NutsRepositoryUndeployCommand setRepository(String repository)

return:NutsRepositoryUndeployCommand

  • String repository :

⚙ setSession(session)

NutsRepositoryUndeployCommand setSession(NutsSession session)

return:NutsRepositoryUndeployCommand

  • NutsSession session :

⚙ setTransitive(transitive)

NutsRepositoryUndeployCommand setTransitive(boolean transitive)

return:NutsRepositoryUndeployCommand

  • boolean transitive :

☕ NutsSearchRepositoryCommand

public interface net.vpc.app.nuts.NutsSearchRepositoryCommand

\@author vpc +\@category SPI Base

🎛 Instance Properties

📝🎛 fetchMode

fetchMode

[read-write] NutsSearchRepositoryCommand public fetchMode
public NutsFetchMode getFetchMode()
public NutsSearchRepositoryCommand setFetchMode(fetchMode)

📄🎛 filter

[read-only] NutsIdFilter public filter
public NutsIdFilter getFilter()

📄🎛 result

this method should return immediately and returns valid iterator. +visiting iterator may be blocking but not this method call. +If {\@code run()} method has not been called yet, it will be called.

[read-only] Iterator public result
public Iterator getResult()

⚙ Instance Methods

⚙ run()

this method should return immediately after initializing a valid iterator to be +retrieved by {\@code getResult()}

NutsSearchRepositoryCommand run()

return:NutsSearchRepositoryCommand

⚙ setFilter(filter)

NutsSearchRepositoryCommand setFilter(NutsIdFilter filter)

return:NutsSearchRepositoryCommand

  • NutsIdFilter filter :

⚙ setSession(session)

NutsSearchRepositoryCommand setSession(NutsSession session)

return:NutsSearchRepositoryCommand

  • NutsSession session :

☕ NutsSearchVersionsRepositoryCommand

public interface net.vpc.app.nuts.NutsSearchVersionsRepositoryCommand

\@author vpc +\@category SPI Base

🎛 Instance Properties

📝🎛 fetchMode

fetchMode

[read-write] NutsSearchVersionsRepositoryCommand public fetchMode
public NutsFetchMode getFetchMode()
public NutsSearchVersionsRepositoryCommand setFetchMode(fetchMode)

📄🎛 filter

[read-only] NutsIdFilter public filter
public NutsIdFilter getFilter()

📄🎛 id

[read-only] NutsId public id
public NutsId getId()

📄🎛 result

[read-only] Iterator public result
public Iterator getResult()

⚙ Instance Methods

⚙ run()

run this command and return {\@code this} instance

NutsSearchVersionsRepositoryCommand run()

return:NutsSearchVersionsRepositoryCommand

⚙ setFilter(filter)

NutsSearchVersionsRepositoryCommand setFilter(NutsIdFilter filter)

return:NutsSearchVersionsRepositoryCommand

  • NutsIdFilter filter :

⚙ setId(id)

NutsSearchVersionsRepositoryCommand setId(NutsId id)

return:NutsSearchVersionsRepositoryCommand

  • NutsId id :

⚙ setSession(session)

NutsSearchVersionsRepositoryCommand setSession(NutsSession session)

return:NutsSearchVersionsRepositoryCommand

  • NutsSession session :

☕ NutsServiceLoader

public interface net.vpc.app.nuts.NutsServiceLoader

Component service class loader. +\@author vpc +\@param \<T> component type +\@param \<B> component support constraint type +\@since 0.5.4 +\@category SPI Base

⚙ Instance Methods

⚙ loadAll(criteria)

load all NutsComponent instances matching criteria

List loadAll(NutsSupportLevelContext criteria)

return:List

  • NutsSupportLevelContext criteria : criteria to match

⚙ loadBest(criteria)

load best NutsComponent instance matching criteria

NutsComponent loadBest(NutsSupportLevelContext criteria)

return:NutsComponent

  • NutsSupportLevelContext criteria : criteria to match

☕ NutsSessionTerminalBase

public interface net.vpc.app.nuts.NutsSessionTerminalBase

Session Terminal Base instance are special Terminal Base classes instances that handle workspace session.

\@since 0.5.4 +\@category SPI Base

☕ NutsSingleton

public interface net.vpc.app.nuts.NutsSingleton

classes that are marked with this annotation will be created once by the +factory.

\@since 0.5.4 +\@category SPI Base

☕ NutsSupportLevelContext

public interface net.vpc.app.nuts.NutsSupportLevelContext

\@author vpc +\@category SPI Base

🎛 Instance Properties

📄🎛 constraints

[read-only] Object public constraints
public Object getConstraints()

📄🎛 workspace

[read-only] NutsWorkspace public workspace
public NutsWorkspace getWorkspace()

☕ NutsSystemTerminalBase

public interface net.vpc.app.nuts.NutsSystemTerminalBase

Created by vpc on 2/20/17.

\@since 0.5.4 +\@category SPI Base

☕ NutsTerminalBase

public interface net.vpc.app.nuts.NutsTerminalBase

Created by vpc on 2/20/17.

\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📄🎛 err

[read-only] PrintStream public err
public PrintStream getErr()

📄🎛 errMode

[read-only] NutsTerminalMode public errMode
public NutsTerminalMode getErrMode()

📄🎛 in

[read-only] InputStream public in
public InputStream getIn()

📄🎛 out

[read-only] PrintStream public out
public PrintStream getOut()

📄🎛 outMode

[read-only] NutsTerminalMode public outMode
public NutsTerminalMode getOutMode()

📄🎛 parent

[read-only] NutsTerminalBase public parent
public NutsTerminalBase getParent()

⚙ Instance Methods

⚙ readLine(out, prompt, params)

String readLine(PrintStream out, String prompt, Object[] params)

return:String

  • PrintStream out :
  • String prompt :
  • Object[] params :

⚙ readPassword(out, prompt, params)

char[] readPassword(PrintStream out, String prompt, Object[] params)

return:char[]

  • PrintStream out :
  • String prompt :
  • Object[] params :

⚙ setErrMode(mode)

NutsTerminalBase setErrMode(NutsTerminalMode mode)

return:NutsTerminalBase

  • NutsTerminalMode mode :

⚙ setOutMode(mode)

NutsTerminalBase setOutMode(NutsTerminalMode mode)

return:NutsTerminalBase

  • NutsTerminalMode mode :

☕ NutsTransportComponent

public interface net.vpc.app.nuts.NutsTransportComponent

Transport component responsible of creating a connexion to remote servers. +Should handle at least valid http connections. +\@since 0.5.4 +\@category SPI Base

⚙ Instance Methods

⚙ open(url)

open url and return a valid {\@link NutsTransportConnection}

NutsTransportConnection open(String url)

return:NutsTransportConnection

  • String url : url to open

☕ NutsTransportConnection

public interface net.vpc.app.nuts.NutsTransportConnection

Connection to a remote server.

\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📄🎛 uRLHeader

parse connection header and return meaningful information

[read-only] NutsURLHeader public uRLHeader
public NutsURLHeader getURLHeader()

⚙ Instance Methods

⚙ open()

option connection and retrieve input stream

InputStream open()

return:InputStream

⚙ upload(parts)

parse connection header and return meaningful information

InputStream upload(NutsTransportParamPart[] parts)

return:InputStream

  • NutsTransportParamPart[] parts : parts to upload

☕ NutsTransportParamBinaryFilePart

public net.vpc.app.nuts.NutsTransportParamBinaryFilePart

Created by vpc on 1/8/17.

\@since 0.5.4 +\@category SPI Base

🪄 Constructors

🪄 NutsTransportParamBinaryFilePart(name, fileName, value)

NutsTransportParamBinaryFilePart(String name, String fileName, Path value)
  • String name :
  • String fileName :
  • Path value :

🎛 Instance Properties

📄🎛 fileName

[read-only] String public fileName
public String getFileName()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 value

[read-only] Path public value
public Path getValue()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsTransportParamBinaryStreamPart

public net.vpc.app.nuts.NutsTransportParamBinaryStreamPart

Created by vpc on 1/8/17.

\@since 0.5.4 +\@category SPI Base

🪄 Constructors

🪄 NutsTransportParamBinaryStreamPart(name, fileName, value)

NutsTransportParamBinaryStreamPart(String name, String fileName, InputStream value)
  • String name :
  • String fileName :
  • InputStream value :

🎛 Instance Properties

📄🎛 fileName

[read-only] String public fileName
public String getFileName()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 value

[read-only] InputStream public value
public InputStream getValue()

☕ NutsTransportParamParamPart

public net.vpc.app.nuts.NutsTransportParamParamPart

Created by vpc on 1/8/17.

\@since 0.5.4 +\@category SPI Base

🪄 Constructors

🪄 NutsTransportParamParamPart(name, value)

NutsTransportParamParamPart(String name, String value)
  • String name :
  • String value :

🎛 Instance Properties

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 value

[read-only] String public value
public String getValue()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsTransportParamPart

public net.vpc.app.nuts.NutsTransportParamPart

Created by vpc on 1/8/17.

\@since 0.5.4 +\@category SPI Base

🪄 Constructors

🪄 NutsTransportParamPart()

NutsTransportParamPart()

☕ NutsTransportParamTextFilePart

public net.vpc.app.nuts.NutsTransportParamTextFilePart

Created by vpc on 1/8/17.

\@since 0.5.4 +\@category SPI Base

🪄 Constructors

🪄 NutsTransportParamTextFilePart(name, fileName, value)

NutsTransportParamTextFilePart(String name, String fileName, Path value)
  • String name :
  • String fileName :
  • Path value :

🎛 Instance Properties

📄🎛 fileName

[read-only] String public fileName
public String getFileName()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 value

[read-only] Path public value
public Path getValue()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsTransportParamTextReaderPart

public net.vpc.app.nuts.NutsTransportParamTextReaderPart

Created by vpc on 1/8/17.

\@since 0.5.4 +\@category SPI Base

🪄 Constructors

🪄 NutsTransportParamTextReaderPart(name, fileName, value)

NutsTransportParamTextReaderPart(String name, String fileName, Reader value)
  • String name :
  • String fileName :
  • Reader value :

🎛 Instance Properties

📄🎛 fileName

[read-only] String public fileName
public String getFileName()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 value

[read-only] Reader public value
public Reader getValue()

⚙ Instance Methods

⚙ equals(o)

boolean equals(Object o)

return:boolean

  • Object o :

⚙ hashCode()

int hashCode()

return:int

⚙ toString()

String toString()

return:String

☕ NutsURLHeader

public interface net.vpc.app.nuts.NutsURLHeader

url header meaning ful information +\@author vpc +\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📄🎛 contentEncoding

url content encoding

[read-only] String public contentEncoding
public String getContentEncoding()

📄🎛 contentLength

url content length (file size)

[read-only] long public contentLength
public long getContentLength()

📄🎛 contentType

url content type (file type)

[read-only] String public contentType
public String getContentType()

📄🎛 lastModified

url content last modified

[read-only] Instant public lastModified
public Instant getLastModified()

📄🎛 url

url value

[read-only] String public url
public String getUrl()

☕ NutsUpdateRepositoryStatisticsCommand

public interface net.vpc.app.nuts.NutsUpdateRepositoryStatisticsCommand

\@author vpc +\@since 0.5.5 +\@category SPI Base

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsUpdateRepositoryStatisticsCommand configure(boolean skipUnsupported, String[] args)

return:NutsUpdateRepositoryStatisticsCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ run()

run this command and return {\@code this} instance

NutsUpdateRepositoryStatisticsCommand run()

return:NutsUpdateRepositoryStatisticsCommand

⚙ setSession(session)

NutsUpdateRepositoryStatisticsCommand setSession(NutsSession session)

return:NutsUpdateRepositoryStatisticsCommand

  • NutsSession session :

☕ NutsWorkspaceArchetypeComponent

public interface net.vpc.app.nuts.NutsWorkspaceArchetypeComponent

Created by vpc on 1/23/17.

\@since 0.5.4 +\@category SPI Base

🎛 Instance Properties

📄🎛 name

[read-only] String public name
public String getName()

⚙ Instance Methods

⚙ initialize(session)

void initialize(NutsSession session)
  • NutsSession session :

☕ NutsWorkspaceAware

public interface net.vpc.app.nuts.NutsWorkspaceAware

classes that implement this class will have their method {\@link #setWorkspace(NutsWorkspace)} +called upon its creation (by factory) with a non {\@code null} argument to \<strong>initialize\</strong>. +They \<strong>may\</strong> accept a call with a {\@code null} +argument later to \<strong>dispose\</strong> the instance. +\@author vpc +\@category SPI Base

🎛 Instance Properties

✏🎛 workspace

initialize or dispose the instance. +when workspace is not null, the instance should initialize it values +accordingly. +when workspace is null, the instance should dispose resources.

[write-only] void public workspace
public void setWorkspace(workspace)

☕ NutsWorkspaceInitInformation

public interface net.vpc.app.nuts.NutsWorkspaceInitInformation

workspace initialization options.

Created by vpc on 1/23/17.

\@since 0.5.7 +\@category SPI Base

🎛 Instance Properties

📄🎛 apiId

[read-only] String public apiId
public String getApiId()

📄🎛 apiVersion

[read-only] String public apiVersion
public String getApiVersion()

📄🎛 bootRepositories

[read-only] String public bootRepositories
public String getBootRepositories()

📄🎛 bootWorkspaceFactory

[read-only] NutsBootWorkspaceFactory public bootWorkspaceFactory
public NutsBootWorkspaceFactory getBootWorkspaceFactory()

📄🎛 classWorldLoader

[read-only] ClassLoader public classWorldLoader
public ClassLoader getClassWorldLoader()

📄🎛 classWorldURLs

[read-only] URL[] public classWorldURLs
public URL[] getClassWorldURLs()

📄🎛 extensionDependencies

[read-only] String public extensionDependencies
public String getExtensionDependencies()

📄🎛 extensionDependenciesSet

[read-only] Set public extensionDependenciesSet
public Set getExtensionDependenciesSet()

📄🎛 javaCommand

[read-only] String public javaCommand
public String getJavaCommand()

📄🎛 javaOptions

[read-only] String public javaOptions
public String getJavaOptions()

📄🎛 name

[read-only] String public name
public String getName()

📄🎛 options

[read-only] NutsWorkspaceOptions public options
public NutsWorkspaceOptions getOptions()

📄🎛 repositoryStoreLocationStrategy

[read-only] NutsStoreLocationStrategy public repositoryStoreLocationStrategy
public NutsStoreLocationStrategy getRepositoryStoreLocationStrategy()

📄🎛 runtimeDependencies

[read-only] String public runtimeDependencies
public String getRuntimeDependencies()

📄🎛 runtimeDependenciesSet

[read-only] Set public runtimeDependenciesSet
public Set getRuntimeDependenciesSet()

📄🎛 runtimeId

[read-only] String public runtimeId
public String getRuntimeId()

📄🎛 storeLocation

[read-only] String public storeLocation
public String getStoreLocation(location)

📄🎛 storeLocationLayout

[read-only] NutsOsFamily public storeLocationLayout
public NutsOsFamily getStoreLocationLayout()

📄🎛 storeLocationStrategy

[read-only] NutsStoreLocationStrategy public storeLocationStrategy
public NutsStoreLocationStrategy getStoreLocationStrategy()

📄🎛 uuid

[read-only] String public uuid
public String getUuid()

📄🎛 workspaceLocation

[read-only] String public workspaceLocation
public String getWorkspaceLocation()
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/javadocs/javadoc_Security/index.html b/docs/docs/javadocs/javadoc_Security/index.html new file mode 100644 index 000000000..d7efb3d09 --- /dev/null +++ b/docs/docs/javadocs/javadoc_Security/index.html @@ -0,0 +1,87 @@ + + + + + + +Security | Nuts + + + + + + + + + + + + +
+

Security

__ __ ___ ____ ____
/\ \ \ _ __/ /______ / | / __ \/ _/
/ \/ / / / / __/ ___/ / /| | / /_/ // /
/ /\ / /_/ / /_(__ ) / ___ |/ ____// /
\_\ \/\__,_/\__/____/ /_/ |_/_/ /___/ version 0.7.0

☕ NutsAddUserCommand

public interface net.vpc.app.nuts.NutsAddUserCommand

Command class for adding users to workspaces and repositories. All Command +classes have a \'run\' method to perform the operation.

\@see NutsWorkspaceSecurityManager#addUser(java.lang.String) +\@see NutsRepositorySecurityManager#addUser(java.lang.String)

\@author vpc +\@since 0.5.5 +\@category Security

🎛 Instance Properties

📝🎛 credentials

return credentials

[read-write] NutsAddUserCommand public credentials
public char[] getCredentials()
public NutsAddUserCommand setCredentials(password)

📄🎛 groups

group list defined by {\@link #addGroup}, \@link {\@link #addGroups(String...)}} and \@link {\@link #addGroups(Collection)}}

[read-only] String[] public groups
public String[] getGroups()

📄🎛 permissions

return permissions

[read-only] String[] public permissions
public String[] getPermissions()

📝🎛 remoteCredentials

set remote credentials

[read-write] NutsAddUserCommand public remoteCredentials
public char[] getRemoteCredentials()
public NutsAddUserCommand setRemoteCredentials(password)

📝🎛 remoteIdentity

set remote identity

[read-write] NutsAddUserCommand public remoteIdentity
public String getRemoteIdentity()
public NutsAddUserCommand setRemoteIdentity(remoteIdentity)

✏🎛 session

update session

[write-only] NutsAddUserCommand public session
public NutsAddUserCommand setSession(session)

📝🎛 username

set username

[read-write] NutsAddUserCommand public username
public String getUsername()
public NutsAddUserCommand setUsername(username)

⚙ Instance Methods

⚙ addGroup(group)

add group named {\@code group} to the specified user

NutsAddUserCommand addGroup(String group)

return:NutsAddUserCommand

  • String group : group name

⚙ addGroups(groups)

add group list named {\@code groups} to the specified user

NutsAddUserCommand addGroups(String[] groups)

return:NutsAddUserCommand

  • String[] groups : group list

⚙ addGroups(groups)

add group list named {\@code groups} to the specified user

NutsAddUserCommand addGroups(Collection groups)

return:NutsAddUserCommand

  • Collection groups : group list

⚙ addPermission(permission)

add permission named {\@code permission} to the specified user

NutsAddUserCommand addPermission(String permission)

return:NutsAddUserCommand

  • String permission : permission name from {@code NutsConstants.Permissions}

⚙ addPermissions(permissions)

add permissions list named {\@code permissions} to the specified user

NutsAddUserCommand addPermissions(String[] permissions)

return:NutsAddUserCommand

  • String[] permissions : group list

⚙ addPermissions(permissions)

add permissions list named {\@code permissions} to the specified user

NutsAddUserCommand addPermissions(Collection permissions)

return:NutsAddUserCommand

  • Collection permissions : group list

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsAddUserCommand configure(boolean skipUnsupported, String[] args)

return:NutsAddUserCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsAddUserCommand copySession()

return:NutsAddUserCommand

⚙ removeGroups(groups)

remove group

NutsAddUserCommand removeGroups(String[] groups)

return:NutsAddUserCommand

  • String[] groups : new value

⚙ removeGroups(groups)

remove groups

NutsAddUserCommand removeGroups(Collection groups)

return:NutsAddUserCommand

  • Collection groups : groups to remove

⚙ removePermissions(permissions)

remove permissions

NutsAddUserCommand removePermissions(String[] permissions)

return:NutsAddUserCommand

  • String[] permissions : permission to remove

⚙ removePermissions(permissions)

remove permissions

NutsAddUserCommand removePermissions(Collection permissions)

return:NutsAddUserCommand

  • Collection permissions : permissions to remove

⚙ run()

execute the command and return this instance

NutsAddUserCommand run()

return:NutsAddUserCommand

☕ NutsAuthenticationAgent

public interface net.vpc.app.nuts.NutsAuthenticationAgent

an Authentication Agent is responsible of storing and retrieving credentials +in external repository (password manager, kwallet, keypads, +gnome-keyring...). And Id of the stored password is then saved as plain text +in nuts config file. +Criteria type is a string representing authentication agent id +\@author vpc +\@since 0.5.4 +\@category Security

🎛 Instance Properties

📄🎛 id

agent id;

[read-only] String public id
public String getId()

⚙ Instance Methods

⚙ checkCredentials(credentialsId, password, envProvider)

check if the given \<code>password\</code> is valid against the one stored +by the Authentication Agent for \<code>credentialsId\</code>

void checkCredentials(char[] credentialsId, char[] password, Map envProvider)
  • char[] credentialsId : credentialsId
  • char[] password : password
  • Map envProvider : environment provider, nullable

⚙ createCredentials(credentials, allowRetrieve, credentialId, envProvider)

store credentials in the agent\'s and return the credential id to store +into the config. if credentialId is not null, the given credentialId will +be updated and the credentialId is returned. The {\@code credentialsId},if +present or returned, \<strong>MUST\</strong> be prefixed with +AuthenticationAgent\'d id and \':\' character

char[] createCredentials(char[] credentials, boolean allowRetrieve, char[] credentialId, Map envProvider)

return:char[]

  • char[] credentials : credential
  • boolean allowRetrieve : when true {@link #getCredentials(char[], Map)} } +can be invoked over {@code credentialId}
  • char[] credentialId : preferred credentialId, if null, a new one is created
  • Map envProvider : environment provider, nullable

⚙ getCredentials(credentialsId, envProvider)

get the credentials for the given id. The {\@code credentialsId} +\<strong>MUST\</strong> be prefixed with AuthenticationAgent\'d id and \':\' +character

char[] getCredentials(char[] credentialsId, Map envProvider)

return:char[]

  • char[] credentialsId : credentials-id
  • Map envProvider : environment provider, nullable

⚙ removeCredentials(credentialsId, envProvider)

remove existing credentials with the given id The {\@code credentialsId} +\<strong>MUST\</strong> be prefixed with AuthenticationAgent\'d id and \':\' +character

boolean removeCredentials(char[] credentialsId, Map envProvider)

return:boolean

  • char[] credentialsId : credentials-id
  • Map envProvider : environment provider, nullable

☕ NutsRemoveUserCommand

public interface net.vpc.app.nuts.NutsRemoveUserCommand

Remove User Command +\@author vpc +\@category Security

🎛 Instance Properties

✏🎛 session

update session

[write-only] NutsRemoveUserCommand public session
public NutsRemoveUserCommand setSession(session)

📝🎛 username

set username of user to remove

[read-write] NutsRemoveUserCommand public username
public String getUsername()
public NutsRemoveUserCommand setUsername(username)

⚙ Instance Methods

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsRemoveUserCommand configure(boolean skipUnsupported, String[] args)

return:NutsRemoveUserCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsRemoveUserCommand copySession()

return:NutsRemoveUserCommand

⚙ run()

execute the command and return this instance

NutsRemoveUserCommand run()

return:NutsRemoveUserCommand

⚙ username(username)

set username of user to remove

NutsRemoveUserCommand username(String username)

return:NutsRemoveUserCommand

  • String username : user name

☕ NutsUpdateUserCommand

public interface net.vpc.app.nuts.NutsUpdateUserCommand

\@author vpc +\@since 0.5.5 +\@category Security

🎛 Instance Properties

📄🎛 addGroups

[read-only] String[] public addGroups
public String[] getAddGroups()

📄🎛 addPermissions

[read-only] String[] public addPermissions
public String[] getAddPermissions()

📄🎛 credentials

[read-only] char[] public credentials
public char[] getCredentials()

📄🎛 oldCredentials

[read-only] char[] public oldCredentials
public char[] getOldCredentials()

📄🎛 remoteCredentials

[read-only] char[] public remoteCredentials
public char[] getRemoteCredentials()

📄🎛 remoteIdentity

[read-only] String public remoteIdentity
public String getRemoteIdentity()

📄🎛 removeGroups

[read-only] String[] public removeGroups
public String[] getRemoveGroups()

📄🎛 removePermissions

[read-only] String[] public removePermissions
public String[] getRemovePermissions()

📄🎛 resetGroups

[read-only] boolean public resetGroups
public boolean isResetGroups()

📄🎛 resetPermissions

[read-only] boolean public resetPermissions
public boolean isResetPermissions()

✏🎛 session

update session

[write-only] NutsUpdateUserCommand public session
public NutsUpdateUserCommand setSession(session)

📄🎛 username

[read-only] String public username
public String getUsername()

⚙ Instance Methods

⚙ addGroup(group)

NutsUpdateUserCommand addGroup(String group)

return:NutsUpdateUserCommand

  • String group :

⚙ addGroups(groups)

NutsUpdateUserCommand addGroups(String[] groups)

return:NutsUpdateUserCommand

  • String[] groups :

⚙ addGroups(groups)

NutsUpdateUserCommand addGroups(Collection groups)

return:NutsUpdateUserCommand

  • Collection groups :

⚙ addPermission(permission)

NutsUpdateUserCommand addPermission(String permission)

return:NutsUpdateUserCommand

  • String permission :

⚙ addPermissions(permissions)

NutsUpdateUserCommand addPermissions(String[] permissions)

return:NutsUpdateUserCommand

  • String[] permissions :

⚙ addPermissions(permissions)

NutsUpdateUserCommand addPermissions(Collection permissions)

return:NutsUpdateUserCommand

  • Collection permissions :

⚙ configure(skipUnsupported, args)

configure the current command with the given arguments. This is an +override of the {\@link NutsConfigurable#configure(boolean, java.lang.String...) } +to help return a more specific return type;

NutsUpdateUserCommand configure(boolean skipUnsupported, String[] args)

return:NutsUpdateUserCommand

  • boolean skipUnsupported : when true, all unsupported options are skipped
  • String[] args : argument to configure with

⚙ copySession()

copy session

NutsUpdateUserCommand copySession()

return:NutsUpdateUserCommand

⚙ credentials(password)

NutsUpdateUserCommand credentials(char[] password)

return:NutsUpdateUserCommand

  • char[] password :

⚙ oldCredentials(password)

NutsUpdateUserCommand oldCredentials(char[] password)

return:NutsUpdateUserCommand

  • char[] password :

⚙ remoteCredentials(password)

NutsUpdateUserCommand remoteCredentials(char[] password)

return:NutsUpdateUserCommand

  • char[] password :

⚙ remoteIdentity(remoteIdentity)

NutsUpdateUserCommand remoteIdentity(String remoteIdentity)

return:NutsUpdateUserCommand

  • String remoteIdentity :

⚙ removeGroup(group)

NutsUpdateUserCommand removeGroup(String group)

return:NutsUpdateUserCommand

  • String group :

⚙ removeGroups(groups)

NutsUpdateUserCommand removeGroups(String[] groups)

return:NutsUpdateUserCommand

  • String[] groups :

⚙ removeGroups(groups)

NutsUpdateUserCommand removeGroups(Collection groups)

return:NutsUpdateUserCommand

  • Collection groups :

⚙ removePermission(permission)

NutsUpdateUserCommand removePermission(String permission)

return:NutsUpdateUserCommand

  • String permission :

⚙ removePermissions(permissions)

NutsUpdateUserCommand removePermissions(String[] permissions)

return:NutsUpdateUserCommand

  • String[] permissions :

⚙ removePermissions(permissions)

NutsUpdateUserCommand removePermissions(Collection permissions)

return:NutsUpdateUserCommand

  • Collection permissions :

⚙ resetGroups()

NutsUpdateUserCommand resetGroups()

return:NutsUpdateUserCommand

⚙ resetGroups(resetGroups)

NutsUpdateUserCommand resetGroups(boolean resetGroups)

return:NutsUpdateUserCommand

  • boolean resetGroups :

⚙ resetPermissions()

NutsUpdateUserCommand resetPermissions()

return:NutsUpdateUserCommand

⚙ resetPermissions(resetPermissions)

NutsUpdateUserCommand resetPermissions(boolean resetPermissions)

return:NutsUpdateUserCommand

  • boolean resetPermissions :

⚙ run()

execute the command and return this instance

NutsUpdateUserCommand run()

return:NutsUpdateUserCommand

⚙ setCredentials(password)

NutsUpdateUserCommand setCredentials(char[] password)

return:NutsUpdateUserCommand

  • char[] password :

⚙ setOldCredentials(oldCredentials)

NutsUpdateUserCommand setOldCredentials(char[] oldCredentials)

return:NutsUpdateUserCommand

  • char[] oldCredentials :

⚙ setRemoteCredentials(password)

NutsUpdateUserCommand setRemoteCredentials(char[] password)

return:NutsUpdateUserCommand

  • char[] password :

⚙ setRemoteIdentity(remoteIdentity)

NutsUpdateUserCommand setRemoteIdentity(String remoteIdentity)

return:NutsUpdateUserCommand

  • String remoteIdentity :

⚙ setResetGroups(resetGroups)

NutsUpdateUserCommand setResetGroups(boolean resetGroups)

return:NutsUpdateUserCommand

  • boolean resetGroups :

⚙ setResetPermissions(resetPermissions)

NutsUpdateUserCommand setResetPermissions(boolean resetPermissions)

return:NutsUpdateUserCommand

  • boolean resetPermissions :

⚙ setUsername(login)

NutsUpdateUserCommand setUsername(String login)

return:NutsUpdateUserCommand

  • String login :

⚙ undoAddGroup(group)

NutsUpdateUserCommand undoAddGroup(String group)

return:NutsUpdateUserCommand

  • String group :

⚙ undoAddGroups(groups)

NutsUpdateUserCommand undoAddGroups(String[] groups)

return:NutsUpdateUserCommand

  • String[] groups :

⚙ undoAddGroups(groups)

NutsUpdateUserCommand undoAddGroups(Collection groups)

return:NutsUpdateUserCommand

  • Collection groups :

⚙ undoAddPermission(permissions)

NutsUpdateUserCommand undoAddPermission(String permissions)

return:NutsUpdateUserCommand

  • String permissions :

⚙ undoAddPermissions(permissions)

NutsUpdateUserCommand undoAddPermissions(String[] permissions)

return:NutsUpdateUserCommand

  • String[] permissions :

⚙ undoAddPermissions(permissions)

NutsUpdateUserCommand undoAddPermissions(Collection permissions)

return:NutsUpdateUserCommand

  • Collection permissions :

⚙ undoRemoveGroups(groups)

NutsUpdateUserCommand undoRemoveGroups(String[] groups)

return:NutsUpdateUserCommand

  • String[] groups :

⚙ undoRemoveGroups(groups)

NutsUpdateUserCommand undoRemoveGroups(Collection groups)

return:NutsUpdateUserCommand

  • Collection groups :

⚙ undoRemovePermissions(permissions)

NutsUpdateUserCommand undoRemovePermissions(String[] permissions)

return:NutsUpdateUserCommand

  • String[] permissions :

⚙ undoRemovePermissions(permissions)

NutsUpdateUserCommand undoRemovePermissions(Collection permissions)

return:NutsUpdateUserCommand

  • Collection permissions :

⚙ username(login)

NutsUpdateUserCommand username(String login)

return:NutsUpdateUserCommand

  • String login :

☕ NutsWorkspaceSecurityManager

public interface net.vpc.app.nuts.NutsWorkspaceSecurityManager

Workspace Security configuration manager +\@author vpc +\@since 0.5.4 +\@category Security

🎛 Instance Properties

📄🎛 admin

return true if current user has admin privileges

[read-only] boolean public admin
public boolean isAdmin()

📄🎛 currentLoginStack

current user stack. +this is useful when login with multiple user identities.

[read-only] String[] public currentLoginStack
public String[] getCurrentLoginStack()

📄🎛 currentUsername

current user

[read-only] String public currentUsername
public String getCurrentUsername()

📄🎛 secure

return true if workspace is running secure mode

[read-only] boolean public secure
public boolean isSecure()

⚙ Instance Methods

⚙ addUser(name)

create a User Create command. +No user will be added when simply calling this method. +You must fill in command parameters then call {\@link NutsAddUserCommand#run()}.

NutsAddUserCommand addUser(String name)

return:NutsAddUserCommand

  • String name : user name

⚙ checkAllowed(permission, operationName)

check if allowed and throw a Security exception if not.

NutsWorkspaceSecurityManager checkAllowed(String permission, String operationName)

return:NutsWorkspaceSecurityManager

  • String permission : permission name. see {@code NutsConstants.Rights } class
  • String operationName : operation name

⚙ checkCredentials(credentialsId, password)

check if the given \<code>password\</code> is valid against the one stored +by the Authentication Agent for \<code>credentialsId\</code>

void checkCredentials(char[] credentialsId, char[] password)
  • char[] credentialsId : credentialsId
  • char[] password : password

⚙ createCredentials(credentials, allowRetrieve, credentialId)

store credentials in the agent\'s and return the credential id to store +into the config. if credentialId is not null, the given credentialId will +be updated and the credentialId is returned. The {\@code credentialsId},if +present or returned, \<strong>MUST\</strong> be prefixed with +AuthenticationAgent\'d id and \':\' character

char[] createCredentials(char[] credentials, boolean allowRetrieve, char[] credentialId)

return:char[]

  • char[] credentials : credential
  • boolean allowRetrieve : when true {@link #getCredentials(char[])} can be +invoked over {@code credentialId}
  • char[] credentialId : preferred credentialId, if null, a new one is created

⚙ currentLoginStack()

equivalent to {\@link #getCurrentLoginStack()}.

String[] currentLoginStack()

return:String[]

⚙ currentUsername()

equivalent to {\@link #getCurrentUsername()}.

String currentUsername()

return:String

⚙ findUser(username)

find user with the given name or null.

NutsUser findUser(String username)

return:NutsUser

  • String username : user name

⚙ findUsers()

find all registered users

NutsUser[] findUsers()

return:NutsUser[]

⚙ getAuthenticationAgent(authenticationAgentId)

get authentication agent with id {\@code authenticationAgentId}. +if is blank, return default authentication agent

NutsAuthenticationAgent getAuthenticationAgent(String authenticationAgentId)

return:NutsAuthenticationAgent

  • String authenticationAgentId : agent id

⚙ getCredentials(credentialsId)

get the credentials for the given id. The {\@code credentialsId} +\<strong>MUST\</strong> be prefixed with AuthenticationAgent\'d id and \':\' +character

char[] getCredentials(char[] credentialsId)

return:char[]

  • char[] credentialsId : credentials-id

⚙ isAllowed(permission)

return true if permission is valid and allowed for the current user.

boolean isAllowed(String permission)

return:boolean

  • String permission : permission name. see {@code NutsConstants.Rights } class

⚙ login(handler)

impersonate user and log as a distinct user with the given credentials and stack +user name so that it can be retrieved using \@{code getCurrentLoginStack()}.

NutsWorkspaceSecurityManager login(CallbackHandler handler)

return:NutsWorkspaceSecurityManager

  • CallbackHandler handler : security handler

⚙ login(username, password)

impersonate user and log as a distinct user with the given credentials.

NutsWorkspaceSecurityManager login(String username, char[] password)

return:NutsWorkspaceSecurityManager

  • String username : user name
  • char[] password : user password

⚙ logout()

log out from last logged in user (if any) and pop out from user name stack.

NutsWorkspaceSecurityManager logout()

return:NutsWorkspaceSecurityManager

⚙ removeCredentials(credentialsId)

remove existing credentials with the given id The {\@code credentialsId} +\<strong>MUST\</strong> be prefixed with AuthenticationAgent\'d id and \':\' +character

boolean removeCredentials(char[] credentialsId)

return:boolean

  • char[] credentialsId : credentials-id

⚙ removeUser(name)

create a Remove Create command. +No user will be removed when simply calling this method. +You must fill in command parameters then call {\@link NutsRemoveUserCommand#run()}.

NutsRemoveUserCommand removeUser(String name)

return:NutsRemoveUserCommand

  • String name : user name

⚙ setAuthenticationAgent(authenticationAgentId, options)

update default authentication agent.

NutsWorkspaceSecurityManager setAuthenticationAgent(String authenticationAgentId, NutsUpdateOptions options)

return:NutsWorkspaceSecurityManager

  • String authenticationAgentId : authentication agent id
  • NutsUpdateOptions options : update options

⚙ setSecureMode(secure, adminPassword, options)

switch from/to secure mode. +when secure mode is disabled, no authorizations are checked against.

boolean setSecureMode(boolean secure, char[] adminPassword, NutsUpdateOptions options)

return:boolean

  • boolean secure : true if secure mode
  • char[] adminPassword : password for admin user
  • NutsUpdateOptions options : update options

⚙ updateUser(name)

create a Update Create command. +No user will be updated when simply calling this method. +You must fill in command parameters then call {\@link NutsUpdateUserCommand#run()}.

NutsUpdateUserCommand updateUser(String name)

return:NutsUpdateUserCommand

  • String name : user name
+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/docs/mdx/index.html b/docs/docs/mdx/index.html new file mode 100644 index 000000000..5fde0b53f --- /dev/null +++ b/docs/docs/mdx/index.html @@ -0,0 +1,33 @@ + + + + + + +Powered by MDX | Nuts + + + + + + + + + + + + +
+

Powered by MDX

You can write JSX and use React components within your Markdown thanks to MDX.

Docusaurus green and Facebook blue are my favorite colors.

I can write Markdown alongside my JSX!

+ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/e80fa6fd.c4f0986d.js b/docs/e80fa6fd.c4f0986d.js new file mode 100644 index 000000000..f3f76597a --- /dev/null +++ b/docs/e80fa6fd.c4f0986d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{109:function(e,t,a){"use strict";a.r(t),a.d(t,"frontMatter",(function(){return c})),a.d(t,"metadata",(function(){return b})),a.d(t,"rightToc",(function(){return o})),a.d(t,"default",(function(){return s}));var n=a(2),r=a(6),l=(a(0),a(118)),c={id:"javadoc_Internal",title:"Internal",sidebar_label:"Internal"},b={unversionedId:"javadocs/javadoc_Internal",id:"javadocs/javadoc_Internal",isDocsHomePage:!1,title:"Internal",description:"`",source:"@site/docs/javadocs/Internal.md",permalink:"/nuts/docs/javadocs/javadoc_Internal",editUrl:"https://github.com/facebook/docusaurus/edit/master/website/docs/javadocs/Internal.md",sidebar_label:"Internal",sidebar:"someSidebar",previous:{title:"Other",permalink:"/nuts/docs/javadocs/javadoc_Other"},next:{title:"SPI Base",permalink:"/nuts/docs/javadocs/javadoc_SPI_Base"}},o=[{value:"\u2615 PrivateNutsLog",id:"-privatenutslog",children:[{value:"\ud83d\udce2\u2744 Constant Fields",id:"-constant-fields",children:[]},{value:"\ud83e\ude84 Constructors",id:"\ud83e\ude84-constructors",children:[]},{value:"\ud83c\udf9b Instance Properties",id:"-instance-properties",children:[]},{value:"\u2699 Instance Methods",id:"-instance-methods",children:[]}]}],i={rightToc:o};function s(e){var t=e.components,a=Object(r.a)(e,["components"]);return Object(l.b)("wrapper",Object(n.a)({},i,a,{components:t,mdxType:"MDXLayout"}),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{})," __ __ ___ ____ ____\n /\\ \\ \\ _ __/ /______ / | / __ \\/ _/\n / \\/ / / / / __/ ___/ / /| | / /_/ // / \n/ /\\ / /_/ / /_(__ ) / ___ |/ ____// / \n\\_\\ \\/\\__,_/\\__/____/ /_/ |_/_/ /___/ version 0.7.0\n")),Object(l.b)("h2",{id:"-privatenutslog"},"\u2615 PrivateNutsLog"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.PrivateNutsLog\n")),Object(l.b)("p",null," \\@author vpc\n\\@category Internal"),Object(l.b)("h3",{id:"-constant-fields"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-cache"},"\ud83d\udce2\u2744 CACHE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String CACHE = "CACHE"\n')),Object(l.b)("h4",{id:"-default_date_time_formatter"},"\ud83d\udce2\u2744 DEFAULT_DATE_TIME_FORMATTER"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final DateTimeFormatter DEFAULT_DATE_TIME_FORMATTER\n")),Object(l.b)("h4",{id:"-fail"},"\ud83d\udce2\u2744 FAIL"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String FAIL = "FAIL"\n')),Object(l.b)("h4",{id:"-read"},"\ud83d\udce2\u2744 READ"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String READ = "READ"\n')),Object(l.b)("h4",{id:"-start"},"\ud83d\udce2\u2744 START"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String START = "START"\n')),Object(l.b)("h4",{id:"-success"},"\ud83d\udce2\u2744 SUCCESS"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String SUCCESS = "SUCCESS"\n')),Object(l.b)("h4",{id:"-warning"},"\ud83d\udce2\u2744 WARNING"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),'public static final String WARNING = "WARNING"\n')),Object(l.b)("h3",{id:"\ud83e\ude84-constructors"},"\ud83e\ude84 Constructors"),Object(l.b)("h4",{id:"\ud83e\ude84-privatenutslog"},"\ud83e\ude84 PrivateNutsLog()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrivateNutsLog()\n")),Object(l.b)("h3",{id:"-instance-properties"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-loggable"},"\ud83d\udcc4\ud83c\udf9b loggable"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public loggable\npublic boolean isLoggable(lvl)\n")),Object(l.b)("h3",{id:"-instance-methods"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-loglvl-logverb-message"},"\u2699 log(lvl, logVerb, message)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void log(Level lvl, String logVerb, String message)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Level lvl")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String logVerb")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String message")," : ")),Object(l.b)("h4",{id:"-loglvl-message-err"},"\u2699 log(lvl, message, err)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void log(Level lvl, String message, Throwable err)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Level lvl")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String message")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Throwable err")," : ")),Object(l.b)("h4",{id:"-loglvl-logverb-message-object"},"\u2699 log(lvl, logVerb, message, object)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void log(Level lvl, String logVerb, String message, Object object)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Level lvl")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String logVerb")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String message")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object object")," : ")),Object(l.b)("h4",{id:"-loglvl-logverb-message-objects"},"\u2699 log(lvl, logVerb, message, objects)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void log(Level lvl, String logVerb, String message, Object[] objects)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Level lvl")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String logVerb")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String message")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] objects")," : ")),Object(l.b)("h4",{id:"-setoptionsoptions"},"\u2699 setOptions(options)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void setOptions(NutsWorkspaceOptions options)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsWorkspaceOptions options")," : ")))}s.isMDXComponent=!0},118:function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return g}));var n=a(0),r=a.n(n);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function b(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var i=r.a.createContext({}),s=function(e){var t=r.a.useContext(i),a=t;return e&&(a="function"==typeof e?e(t):b(b({},t),e)),a},p=function(e){var t=s(e.components);return r.a.createElement(i.Provider,{value:t},e.children)},j={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},u=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,l=e.originalType,c=e.parentName,i=o(e,["components","mdxType","originalType","parentName"]),p=s(a),u=n,g=p["".concat(c,".").concat(u)]||p[u]||j[u]||l;return a?r.a.createElement(g,b(b({ref:t},i),{},{components:a})):r.a.createElement(g,b({ref:t},i))}));function g(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var l=a.length,c=new Array(l);c[0]=u;var b={};for(var o in t)hasOwnProperty.call(t,o)&&(b[o]=t[o]);b.originalType=e,b.mdxType="string"==typeof e?e:n,c[1]=b;for(var i=2;i=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=o.a.createContext({}),p=function(e){var t=o.a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},s=function(e){var t=p(e.components);return o.a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},f=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,c=e.parentName,l=u(e,["components","mdxType","originalType","parentName"]),s=p(n),f=r,b=s["".concat(c,".").concat(f)]||s[f]||d[f]||i;return n?o.a.createElement(b,a(a({ref:t},l),{},{components:n})):o.a.createElement(b,a({ref:t},l))}));function b(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,c=new Array(i);c[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a.mdxType="string"==typeof e?e:r,c[1]=a;for(var l=2;l=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=o.a.createContext({}),u=function(e){var r=o.a.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):i(i({},r),e)),t},l=function(e){var r=u(e.components);return o.a.createElement(s.Provider,{value:r},e.children)},b={inlineCode:"code",wrapper:function(e){var r=e.children;return o.a.createElement(o.a.Fragment,{},r)}},d=o.a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,a=e.originalType,c=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),l=u(t),d=n,f=l["".concat(c,".").concat(d)]||l[d]||b[d]||a;return t?o.a.createElement(f,i(i({ref:r},s),{},{components:t})):o.a.createElement(f,i({ref:r},s))}));function f(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var a=t.length,c=new Array(a);c[0]=d;var i={};for(var p in r)hasOwnProperty.call(r,p)&&(i[p]=r[p]);i.originalType=e,i.mdxType="string"==typeof e?e:n,c[1]=i;for(var s=2;s","{","\\@code &","}","optional=","<","optional",">","\nIf the string cannot be evaluated, return null."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependency parse(String dependency)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDependency"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String dependency")," : dependency")),Object(l.b)("h4",{id:"-parserequireddependency"},"\u2699 parseRequired(dependency)"),Object(l.b)("p",null,"parse dependency in the form\nnamespace://group:name#version?scope=","<","scope",">","{","\\@code &","}","optional=","<","optional",">","\nIf the string cannot be evaluated, return null."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependency parseRequired(String dependency)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDependency"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String dependency")," : dependency")),Object(l.b)("h4",{id:"-setomitquerypropertyname-value"},"\u2699 setOmitQueryProperty(name, value)"),Object(l.b)("p",null,"if true omit (do not include) query property named ","{","\\@code name","}"," when formatting the value\nset using ","{","\\@link #setValue(NutsDependency)","}"," ."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDependencyFormat setOmitQueryProperty(String name, boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDependencyFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : property name"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : new value")),Object(l.b)("h2",{id:"-nutsdescriptorformat"},"\u2615 NutsDescriptorFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsDescriptorFormat\n")),Object(l.b)("p",null," Descriptor Format class that help building, formatting and parsing Descriptors.\n\\@author vpc\n\\@since 0.5.4\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-1"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-compact"},"\ud83d\udcdd\ud83c\udf9b compact"),Object(l.b)("p",null,"value compact flag.\nWhen true, formatted Descriptor will compact JSON result."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsDescriptorFormat public compact\npublic boolean isCompact()\npublic NutsDescriptorFormat setCompact(compact)\n")),Object(l.b)("h3",{id:"-instance-methods-1"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-callbuilder"},"\u2699 callBuilder()"),Object(l.b)("p",null,"create executor builder."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsArtifactCallBuilder callBuilder()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsArtifactCallBuilder"),Object(l.b)("h4",{id:"-classifierbuilder"},"\u2699 classifierBuilder()"),Object(l.b)("p",null,"create classifier mappings builder."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsClassifierMappingBuilder classifierBuilder()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsClassifierMappingBuilder"),Object(l.b)("h4",{id:"-compact-1"},"\u2699 compact()"),Object(l.b)("p",null,"value compact flag to true.\nWhen true, formatted Descriptor will compact JSON result."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorFormat compact()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptorFormat"),Object(l.b)("h4",{id:"-compactcompact"},"\u2699 compact(compact)"),Object(l.b)("p",null,"value compact flag.\nWhen true, formatted Descriptor will compact JSON result."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorFormat compact(boolean compact)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptorFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean compact")," : compact value")),Object(l.b)("h4",{id:"-configureskipunsupported-args-1"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptorFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-descriptorbuilder"},"\u2699 descriptorBuilder()"),Object(l.b)("p",null,"create descriptor builder."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorBuilder descriptorBuilder()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptorBuilder"),Object(l.b)("h4",{id:"-locationbuilder"},"\u2699 locationBuilder()"),Object(l.b)("p",null,"create descriptor builder."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdLocationBuilder locationBuilder()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdLocationBuilder"),Object(l.b)("h4",{id:"-parsebytes"},"\u2699 parse(bytes)"),Object(l.b)("p",null,"parse descriptor."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor parse(byte[] bytes)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"byte[] bytes")," : value to parse")),Object(l.b)("h4",{id:"-parsedescriptorstring"},"\u2699 parse(descriptorString)"),Object(l.b)("p",null,"parse descriptor."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor parse(String descriptorString)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String descriptorString")," : string to parse")),Object(l.b)("h4",{id:"-parsefile"},"\u2699 parse(file)"),Object(l.b)("p",null,"parse descriptor."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor parse(File file)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"File file")," : file to parse")),Object(l.b)("h4",{id:"-parsepath"},"\u2699 parse(path)"),Object(l.b)("p",null,"parse descriptor."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor parse(Path path)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Path path")," : path to parse")),Object(l.b)("h4",{id:"-parsestream"},"\u2699 parse(stream)"),Object(l.b)("p",null,"parse descriptor."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor parse(InputStream stream)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"InputStream stream")," : stream to parse")),Object(l.b)("h4",{id:"-parseurl"},"\u2699 parse(url)"),Object(l.b)("p",null,"parse descriptor."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptor parse(URL url)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptor"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"URL url")," : URL to parse")),Object(l.b)("h4",{id:"-valuedescriptor"},"\u2699 value(descriptor)"),Object(l.b)("p",null,"set the descriptor instance to print"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsDescriptorFormat value(NutsDescriptor descriptor)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsDescriptorFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsDescriptor descriptor")," : value to format")),Object(l.b)("h2",{id:"-nutselementformat"},"\u2615 NutsElementFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsElementFormat\n")),Object(l.b)("p",null," Class responsible of manipulating ","{","\\@link NutsElement","}"," type. It help parsing\nfrom, converting to and formatting such types."),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-2"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-session-1"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"set current session."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsElementFormat public session\npublic NutsElementFormat setSession(session)\n")),Object(l.b)("h4",{id:"-value-1"},"\ud83d\udcdd\ud83c\udf9b value"),Object(l.b)("p",null,"set current value to format."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsElementFormat public value\npublic Object getValue()\npublic NutsElementFormat setValue(value)\n")),Object(l.b)("h3",{id:"-instance-methods-2"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-builder-1"},"\u2699 builder()"),Object(l.b)("p",null,"element builder"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsElementBuilder builder()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsElementBuilder"),Object(l.b)("h4",{id:"-compilepathpathexpression"},"\u2699 compilePath(pathExpression)"),Object(l.b)("p",null,"compile pathExpression into a valid NutsElementPath that helps filtering\nelements tree.\nJSONPath expressions refer to a JSON structure the same way as XPath expression are used with XML documents.\nJSONPath expressions can use the dot notation and/or bracket notations\n.store.book","[0]",".title\nThe trailing root is not necessary :\n.store.book","[0]",".title\nYou can also use bracket notation\nstore","[\\'book\\'][0]",".title\nfor input paths."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsElementPath compilePath(String pathExpression)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsElementPath"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String pathExpression")," : element path expression")),Object(l.b)("h4",{id:"-configureskipunsupported-args-2"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...)\n","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsElementFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsElementFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-fromelementelement-clazz"},"\u2699 fromElement(element, clazz)"),Object(l.b)("p",null,"convert element to the specified object if applicable or throw an\nexception."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object fromElement(NutsElement element, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsElement element")," : element to convert"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : class type")),Object(l.b)("h4",{id:"-setvalue"},"\u2699 set(value)"),Object(l.b)("p",null,"set current value to format."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsElementFormat set(Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsElementFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value to format")),Object(l.b)("h4",{id:"-toelementobject"},"\u2699 toElement(object)"),Object(l.b)("p",null,"convert any object to valid ","{","\\@link NutsElement","}","."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsElement toElement(Object object)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsElement"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object object")," : object to convert")),Object(l.b)("h2",{id:"-nutsexeccommandformat"},"\u2615 NutsExecCommandFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsExecCommandFormat\n")),Object(l.b)("p",null," Format used to format command line by ","{","\\@link NutsExecCommand","}"),Object(l.b)("p",null," \\@author vpc\n\\@see NutsExecCommand#format()\n\\@since 0.5.4\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-3"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-argumentfilter"},"\ud83d\udcdd\ud83c\udf9b argumentFilter"),Object(l.b)("p",null,"set arg filter"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsExecCommandFormat public argumentFilter\npublic Predicate getArgumentFilter()\npublic NutsExecCommandFormat setArgumentFilter(filter)\n")),Object(l.b)("h4",{id:"-argumentreplacer"},"\ud83d\udcdd\ud83c\udf9b argumentReplacer"),Object(l.b)("p",null,"set arg replacer"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsExecCommandFormat public argumentReplacer\npublic Function getArgumentReplacer()\npublic NutsExecCommandFormat setArgumentReplacer(replacer)\n")),Object(l.b)("h4",{id:"-envfilter"},"\ud83d\udcdd\ud83c\udf9b envFilter"),Object(l.b)("p",null,"set env filter"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsExecCommandFormat public envFilter\npublic Predicate getEnvFilter()\npublic NutsExecCommandFormat setEnvFilter(filter)\n")),Object(l.b)("h4",{id:"-envreplacer"},"\ud83d\udcdd\ud83c\udf9b envReplacer"),Object(l.b)("p",null,"set env replacer"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsExecCommandFormat public envReplacer\npublic Function getEnvReplacer()\npublic NutsExecCommandFormat setEnvReplacer(replacer)\n")),Object(l.b)("h4",{id:"-redirecterror"},"\ud83d\udcdd\ud83c\udf9b redirectError"),Object(l.b)("p",null,"if true error redirection is displayed"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsExecCommandFormat public redirectError\npublic boolean isRedirectError()\npublic NutsExecCommandFormat setRedirectError(redirectError)\n")),Object(l.b)("h4",{id:"-redirectinput"},"\ud83d\udcdd\ud83c\udf9b redirectInput"),Object(l.b)("p",null,"if true input redirection is displayed"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsExecCommandFormat public redirectInput\npublic boolean isRedirectInput()\npublic NutsExecCommandFormat setRedirectInput(redirectInput)\n")),Object(l.b)("h4",{id:"-redirectoutput"},"\ud83d\udcdd\ud83c\udf9b redirectOutput"),Object(l.b)("p",null,"if true output redirection is displayed"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsExecCommandFormat public redirectOutput\npublic boolean isRedirectOutput()\npublic NutsExecCommandFormat setRedirectOutput(redirectOutput)\n")),Object(l.b)("h4",{id:"-value-2"},"\ud83d\udcdd\ud83c\udf9b value"),Object(l.b)("p",null,"set value to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsExecCommandFormat public value\npublic NutsExecCommand getValue()\npublic NutsExecCommandFormat setValue(value)\n")),Object(l.b)("h3",{id:"-instance-methods-3"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-valuevalue"},"\u2699 value(value)"),Object(l.b)("p",null,"set value to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsExecCommandFormat value(NutsExecCommand value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsExecCommandFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsExecCommand value")," : value to format")),Object(l.b)("h2",{id:"-nutsformat"},"\u2615 NutsFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsFormat\n")),Object(l.b)("p",null,' Base Format Interface used to print "things".\n\\@author vpc\n\\@since 0.5.5\n\\@category Format'),Object(l.b)("h3",{id:"-instance-properties-4"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-session-2"},"\ud83d\udcdd\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsFormat public session\npublic NutsSession getSession()\npublic NutsFormat setSession(session)\n")),Object(l.b)("h3",{id:"-instance-methods-4"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-configureskipunsupported-args-3"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...)\n","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-format"},"\u2699 format()"),Object(l.b)("p",null,"format current value and return the string result"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String format()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h4",{id:"-print"},"\u2699 print()"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code getSession().out()","}","."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void print()\n")),Object(l.b)("h4",{id:"-printout"},"\u2699 print(out)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void print(PrintStream out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintStream out")," : recipient print stream")),Object(l.b)("h4",{id:"-printout-1"},"\u2699 print(out)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void print(Writer out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Writer out")," : recipient writer")),Object(l.b)("h4",{id:"-printout-2"},"\u2699 print(out)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void print(OutputStream out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"OutputStream out")," : recipient writer")),Object(l.b)("h4",{id:"-printout-3"},"\u2699 print(out)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void print(Path out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Path out")," : recipient path")),Object(l.b)("h4",{id:"-printout-4"},"\u2699 print(out)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void print(File out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"File out")," : recipient file")),Object(l.b)("h4",{id:"-printterminal"},"\u2699 print(terminal)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code terminal","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void print(NutsTerminal terminal)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTerminal terminal")," : recipient terminal")),Object(l.b)("h4",{id:"-println"},"\u2699 println()"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code getSession().out()","}"," and\nfinally appends a new line."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void println()\n")),Object(l.b)("h4",{id:"-printlnfile"},"\u2699 println(file)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"," and finally appends\na new line."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void println(File file)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"File file")," : recipient file")),Object(l.b)("h4",{id:"-printlnout"},"\u2699 println(out)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"," and finally appends\na new line."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void println(Writer out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Writer out")," : recipient")),Object(l.b)("h4",{id:"-printlnout-1"},"\u2699 println(out)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"," and finally appends\na new line."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void println(PrintStream out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintStream out")," : recipient print stream")),Object(l.b)("h4",{id:"-printlnout-2"},"\u2699 println(out)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code out","}"," and finally appends\na new line."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void println(Path out)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Path out")," : recipient path")),Object(l.b)("h4",{id:"-printlnterminal"},"\u2699 println(terminal)"),Object(l.b)("p",null,"format current value and write result to ","{","\\@code terminal","}"," and finally appends\na new line."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void println(NutsTerminal terminal)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTerminal terminal")," : recipient terminal")),Object(l.b)("h4",{id:"-tostring"},"\u2699 toString()"),Object(l.b)("p",null,"equivalent to ","{","\\@link #format() ","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsidformat"},"\u2615 NutsIdFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIdFormat\n")),Object(l.b)("p",null," Class responsible of manipulating ","{","\\@link NutsId","}"," instances:\n\\","\n\\","formatting (in Nuts Stream Format)\\","\n\\","parsing\\","\n\\","\n\\@author vpc\n\\@since 0.5.4\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-5"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-highlightimportedgroupid"},"\ud83d\udcdd\ud83c\udf9b highlightImportedGroupId"),Object(l.b)("p",null,"update highlightImportedGroupId"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public highlightImportedGroupId\npublic boolean isHighlightImportedGroupId()\npublic NutsIdFormat setHighlightImportedGroupId(value)\n")),Object(l.b)("h4",{id:"-highlightoptional-1"},"\ud83d\udcdd\ud83c\udf9b highlightOptional"),Object(l.b)("p",null,"update highlightOptional"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public highlightOptional\npublic boolean isHighlightOptional()\npublic NutsIdFormat setHighlightOptional(value)\n")),Object(l.b)("h4",{id:"-highlightscope-1"},"\ud83d\udcdd\ud83c\udf9b highlightScope"),Object(l.b)("p",null,"update highlightScope"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public highlightScope\npublic boolean isHighlightScope()\npublic NutsIdFormat setHighlightScope(value)\n")),Object(l.b)("h4",{id:"-omitclassifier-1"},"\ud83d\udcdd\ud83c\udf9b omitClassifier"),Object(l.b)("p",null,"if true omit (do not include) face when formatting the value\nset using ","{","\\@link #setValue(NutsId)","}"," ."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public omitClassifier\npublic boolean isOmitClassifier()\npublic NutsIdFormat setOmitClassifier(value)\n")),Object(l.b)("h4",{id:"-omitface"},"\ud83d\udcdd\ud83c\udf9b omitFace"),Object(l.b)("p",null,"update omitFace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public omitFace\npublic boolean isOmitFace()\npublic NutsIdFormat setOmitFace(value)\n")),Object(l.b)("h4",{id:"-omitgroupid-1"},"\ud83d\udcdd\ud83c\udf9b omitGroupId"),Object(l.b)("p",null,"update omitGroup"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public omitGroupId\npublic boolean isOmitGroupId()\npublic NutsIdFormat setOmitGroupId(value)\n")),Object(l.b)("h4",{id:"-omitimportedgroupid-1"},"\ud83d\udcdd\ud83c\udf9b omitImportedGroupId"),Object(l.b)("p",null,"update omitImportedGroupId"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public omitImportedGroupId\npublic boolean isOmitImportedGroupId()\npublic NutsIdFormat setOmitImportedGroupId(value)\n")),Object(l.b)("h4",{id:"-omitnamespace-1"},"\ud83d\udcdd\ud83c\udf9b omitNamespace"),Object(l.b)("p",null,"update omitNamespace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public omitNamespace\npublic boolean isOmitNamespace()\npublic NutsIdFormat setOmitNamespace(value)\n")),Object(l.b)("h4",{id:"-omitotherproperties-1"},"\ud83d\udcdd\ud83c\udf9b omitOtherProperties"),Object(l.b)("p",null,"update omitOtherProperties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public omitOtherProperties\npublic boolean isOmitOtherProperties()\npublic NutsIdFormat setOmitOtherProperties(value)\n")),Object(l.b)("h4",{id:"-omitproperties"},"\ud83d\udcc4\ud83c\udf9b omitProperties"),Object(l.b)("p",null,"query properties omitted"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public omitProperties\npublic String[] getOmitProperties()\n")),Object(l.b)("h4",{id:"-session-3"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsIdFormat public session\npublic NutsIdFormat setSession(session)\n")),Object(l.b)("h4",{id:"-value-3"},"\ud83d\udcdd\ud83c\udf9b value"),Object(l.b)("p",null,"id to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsIdFormat public value\npublic NutsId getValue()\npublic NutsIdFormat setValue(id)\n")),Object(l.b)("h3",{id:"-instance-methods-5"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-builder-2"},"\u2699 builder()"),Object(l.b)("p",null,"create new instance of id builder"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdBuilder builder()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdBuilder"),Object(l.b)("h4",{id:"-configureskipunsupported-args-4"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-highlightimportedgroupid-1"},"\u2699 highlightImportedGroupId()"),Object(l.b)("p",null,"update highlightImportedGroupId to true"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat highlightImportedGroupId()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-highlightimportedgroupidvalue"},"\u2699 highlightImportedGroupId(value)"),Object(l.b)("p",null,"update highlightImportedGroupId"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat highlightImportedGroupId(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(l.b)("h4",{id:"-highlightoptional-2"},"\u2699 highlightOptional()"),Object(l.b)("p",null,"update highlightOptional tot true"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat highlightOptional()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-highlightoptionalvalue"},"\u2699 highlightOptional(value)"),Object(l.b)("p",null,"update highlightOptional"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat highlightOptional(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(l.b)("h4",{id:"-highlightscope-2"},"\u2699 highlightScope()"),Object(l.b)("p",null,"update highlightScope to true"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat highlightScope()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-highlightscopevalue"},"\u2699 highlightScope(value)"),Object(l.b)("p",null,"update highlightScope"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat highlightScope(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(l.b)("h4",{id:"-isomitpropertyname"},"\u2699 isOmitProperty(name)"),Object(l.b)("p",null,"return true if omit query property named ","{","\\@code name","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean isOmitProperty(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : property name")),Object(l.b)("h4",{id:"-omitclassifier-2"},"\u2699 omitClassifier()"),Object(l.b)("p",null,"omit scope"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitClassifier()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-omitclassifiervalue"},"\u2699 omitClassifier(value)"),Object(l.b)("p",null,"if true omit (do not include) face when formatting the value\nset using ","{","\\@link #setValue(NutsId)","}"," ."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitClassifier(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : new value")),Object(l.b)("h4",{id:"-omitface-1"},"\u2699 omitFace()"),Object(l.b)("p",null,"update omitFace to true"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitFace()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-omitfacevalue"},"\u2699 omitFace(value)"),Object(l.b)("p",null,"update omitFace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitFace(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(l.b)("h4",{id:"-omitgroupid-2"},"\u2699 omitGroupId()"),Object(l.b)("p",null,"update omitGroup to true"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitGroupId()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-omitgroupidvalue"},"\u2699 omitGroupId(value)"),Object(l.b)("p",null,"update omitGroup"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitGroupId(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : new value")),Object(l.b)("h4",{id:"-omitimportedgroupid-2"},"\u2699 omitImportedGroupId()"),Object(l.b)("p",null,"update omitImportedGroupId to ture"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitImportedGroupId()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-omitimportedgroupidvalue"},"\u2699 omitImportedGroupId(value)"),Object(l.b)("p",null,"update omitImportedGroupId"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitImportedGroupId(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(l.b)("h4",{id:"-omitnamespace-2"},"\u2699 omitNamespace()"),Object(l.b)("p",null,"update omitNamespace to true"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitNamespace()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-omitnamespacevalue"},"\u2699 omitNamespace(value)"),Object(l.b)("p",null,"update omitNamespace"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitNamespace(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : true when the namespace should not be included in formatted instance")),Object(l.b)("h4",{id:"-omitotherproperties-2"},"\u2699 omitOtherProperties()"),Object(l.b)("p",null,"update omitOtherProperties to true"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitOtherProperties()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("h4",{id:"-omitotherpropertiesvalue"},"\u2699 omitOtherProperties(value)"),Object(l.b)("p",null,"update omitOtherProperties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitOtherProperties(boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : value")),Object(l.b)("h4",{id:"-omitpropertyname"},"\u2699 omitProperty(name)"),Object(l.b)("p",null,"omit query property named ","{","\\@code name","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitProperty(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : property name")),Object(l.b)("h4",{id:"-omitpropertyname-value"},"\u2699 omitProperty(name, value)"),Object(l.b)("p",null,"if true omit (do not include) query property named ","{","\\@code name","}"," when formatting the value\nset using ","{","\\@link #setValue(NutsId)","}"," ."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat omitProperty(String name, boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : property name"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : new value")),Object(l.b)("h4",{id:"-parseid"},"\u2699 parse(id)"),Object(l.b)("p",null,"parse id or null if not valid.\nid is parsed in the form\nnamespace://group:name#version?key=","<","value",">","{","\\@code &","}","key=","<","value",">"," ..."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsId parse(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsId"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : to parse")),Object(l.b)("h4",{id:"-parserequiredid"},"\u2699 parseRequired(id)"),Object(l.b)("p",null,"parse id or error if not valid"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsId parseRequired(String id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsId"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String id")," : to parse")),Object(l.b)("h4",{id:"-resolveidclazz"},"\u2699 resolveId(clazz)"),Object(l.b)("p",null,"detect nuts id from resources containing the given class\nor null if not found. If multiple resolutions return the first."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsId resolveId(Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsId"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : to search for")),Object(l.b)("h4",{id:"-resolveidsclazz"},"\u2699 resolveIds(clazz)"),Object(l.b)("p",null,"detect all nuts ids from resources containing the given class."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsId[] resolveIds(Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsId[]"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : to search for")),Object(l.b)("h4",{id:"-setid"},"\u2699 set(id)"),Object(l.b)("p",null,"id to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat set(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to format")),Object(l.b)("h4",{id:"-setomitpropertyname-value"},"\u2699 setOmitProperty(name, value)"),Object(l.b)("p",null,"if true omit (do not include) query property named ","{","\\@code name","}"," when formatting the value\nset using ","{","\\@link #setValue(NutsId)","}"," ."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat setOmitProperty(String name, boolean value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : property name"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean value")," : new value")),Object(l.b)("h4",{id:"-valueid"},"\u2699 value(id)"),Object(l.b)("p",null,"set id to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIdFormat value(NutsId id)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIdFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsId id")," : id to format")),Object(l.b)("h2",{id:"-nutsinfoformat"},"\u2615 NutsInfoFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsInfoFormat\n")),Object(l.b)("p",null,' this class is responsible of displaying general information about the current workspace and repositories.\nIt is invoked by the "info" standard commmad,\n\\@author vpc\n\\@since 0.5.4\n\\@category Format'),Object(l.b)("h3",{id:"-instance-properties-6"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-fancy"},"\ud83d\udcdd\ud83c\udf9b fancy"),Object(l.b)("p",null,"enable fancy (custom, pretty) display mode"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsInfoFormat public fancy\npublic boolean isFancy()\npublic NutsInfoFormat setFancy(fancy)\n")),Object(l.b)("h4",{id:"-session-4"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsInfoFormat public session\npublic NutsInfoFormat setSession(session)\n")),Object(l.b)("h4",{id:"-showrepositories"},"\ud83d\udcdd\ud83c\udf9b showRepositories"),Object(l.b)("p",null,"enable or disable display of all repositories information"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsInfoFormat public showRepositories\npublic boolean isShowRepositories()\npublic NutsInfoFormat setShowRepositories(enable)\n")),Object(l.b)("h3",{id:"-instance-methods-6"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addpropertiescustomproperties"},"\u2699 addProperties(customProperties)"),Object(l.b)("p",null,"include custom properties from the given map"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInfoFormat addProperties(Map customProperties)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInfoFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Map customProperties")," : custom properties")),Object(l.b)("h4",{id:"-addpropertykey-value"},"\u2699 addProperty(key, value)"),Object(l.b)("p",null,"include a custom property"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInfoFormat addProperty(String key, String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInfoFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String key")," : custom property key"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : custom property value")),Object(l.b)("h4",{id:"-configureskipunsupported-args-5"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInfoFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInfoFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-showrepositories-1"},"\u2699 showRepositories()"),Object(l.b)("p",null,"enable display of all repositories information"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInfoFormat showRepositories()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInfoFormat"),Object(l.b)("h4",{id:"-showrepositoriesenable"},"\u2699 showRepositories(enable)"),Object(l.b)("p",null,"enable or disable display of all repositories information"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsInfoFormat showRepositories(boolean enable)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsInfoFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean enable")," : if true enable")),Object(l.b)("h2",{id:"-nutsiterableformat"},"\u2615 NutsIterableFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIterableFormat\n")),Object(l.b)("p",null," This class handles formatting of iterable items in Search.\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-7"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-outputformat"},"\ud83d\udcc4\ud83c\udf9b outputFormat"),Object(l.b)("p",null,"Current output format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsOutputFormat public outputFormat\npublic NutsOutputFormat getOutputFormat()\n")),Object(l.b)("h3",{id:"-instance-methods-7"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-completecount"},"\u2699 complete(count)"),Object(l.b)("p",null,"called at the iteration completing"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void complete(long count)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"long count")," : iterated items count")),Object(l.b)("h4",{id:"-configureskipunsupported-args-6"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIterableFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIterableFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-nextobject-index"},"\u2699 next(object, index)"),Object(l.b)("p",null,"called at each new item visited"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void next(Object object, long index)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object object")," : visited item"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"long index")," : visited item index")),Object(l.b)("h4",{id:"-start"},"\u2699 start()"),Object(l.b)("p",null,"called at the iteration start"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void start()\n")),Object(l.b)("h2",{id:"-nutsiterableoutput"},"\u2615 NutsIterableOutput"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsIterableOutput\n")),Object(l.b)("p",null," Classes implementing this interface are responsible of printing objects in multiple format\nusing ","{","\\@link NutsIterableFormat","}",".\nTODO : should merge with NutsIterableFormat\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-8"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-out"},"\u270f\ud83c\udf9b out"),Object(l.b)("p",null,"configure out c"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsIterableOutput public out\npublic NutsIterableOutput setOut(out)\n")),Object(l.b)("h4",{id:"-session-5"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"configure session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsIterableOutput public session\npublic NutsIterableOutput setSession(session)\n")),Object(l.b)("h3",{id:"-instance-methods-8"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-complete"},"\u2699 complete()"),Object(l.b)("p",null,"called at the iteration completing"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void complete()\n")),Object(l.b)("h4",{id:"-configureskipunsupported-args-7"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIterableOutput configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIterableOutput"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-nextobject"},"\u2699 next(object)"),Object(l.b)("p",null,"called at the each visited item"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void next(Object object)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object object")," : visited item")),Object(l.b)("h4",{id:"-outout"},"\u2699 out(out)"),Object(l.b)("p",null,"configure out stream"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIterableOutput out(PrintStream out)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIterableOutput"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintStream out")," : out stream")),Object(l.b)("h4",{id:"-outout-1"},"\u2699 out(out)"),Object(l.b)("p",null,"configure out stream"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsIterableOutput out(PrintWriter out)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsIterableOutput"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintWriter out")," : out stream")),Object(l.b)("h4",{id:"-start-1"},"\u2699 start()"),Object(l.b)("p",null,"called at the iteration start"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"void start()\n")),Object(l.b)("h2",{id:"-nutsjsonformat"},"\u2615 NutsJsonFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsJsonFormat\n")),Object(l.b)("p",null," Implementation of this interface will provide\nsimple mechanism to write json text from given object.\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-9"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-compact-2"},"\ud83d\udcdd\ud83c\udf9b compact"),Object(l.b)("p",null,"enable or disable compact json"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsJsonFormat public compact\npublic boolean isCompact()\npublic NutsJsonFormat setCompact(compact)\n")),Object(l.b)("h4",{id:"-session-6"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsJsonFormat public session\npublic NutsJsonFormat setSession(session)\n")),Object(l.b)("h4",{id:"-value-4"},"\ud83d\udcdd\ud83c\udf9b value"),Object(l.b)("p",null,"return value to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsJsonFormat public value\npublic Object getValue()\npublic NutsJsonFormat setValue(value)\n")),Object(l.b)("h3",{id:"-instance-methods-9"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-compact-3"},"\u2699 compact()"),Object(l.b)("p",null,"enable compact json"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsJsonFormat compact()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsJsonFormat"),Object(l.b)("h4",{id:"-compactcompact-1"},"\u2699 compact(compact)"),Object(l.b)("p",null,"enable or disable compact json"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsJsonFormat compact(boolean compact)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsJsonFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean compact")," : enable when true")),Object(l.b)("h4",{id:"-configureskipunsupported-args-8"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...)\n","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsJsonFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsJsonFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-parsebytes-clazz"},"\u2699 parse(bytes, clazz)"),Object(l.b)("p",null,"parse bytes as a valid object of the given type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(byte[] bytes, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"byte[] bytes")," : source bytes"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target type")),Object(l.b)("h4",{id:"-parsefile-clazz"},"\u2699 parse(file, clazz)"),Object(l.b)("p",null,"parse file as a valid object of the given type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(Path file, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Path file")," : source url"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target type")),Object(l.b)("h4",{id:"-parsefile-clazz-1"},"\u2699 parse(file, clazz)"),Object(l.b)("p",null,"parse file as a valid object of the given type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(File file, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"File file")," : source url"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target type")),Object(l.b)("h4",{id:"-parseinputstream-clazz"},"\u2699 parse(inputStream, clazz)"),Object(l.b)("p",null,"parse inputStream as a valid object of the given type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(InputStream inputStream, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"InputStream inputStream")," : source inputStream"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target type")),Object(l.b)("h4",{id:"-parsejsonstring-clazz"},"\u2699 parse(jsonString, clazz)"),Object(l.b)("p",null,"parse inputStream as a valid object of the given type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(String jsonString, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String jsonString")," : source as json string"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target type")),Object(l.b)("h4",{id:"-parsereader-clazz"},"\u2699 parse(reader, clazz)"),Object(l.b)("p",null,"parse reader as a valid object of the given type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(Reader reader, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Reader reader")," : source reader"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target type")),Object(l.b)("h4",{id:"-parseurl-clazz"},"\u2699 parse(url, clazz)"),Object(l.b)("p",null,"parse url as a valid object of the given type"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(URL url, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"URL url")," : source url"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target type")),Object(l.b)("h4",{id:"-valuevalue-1"},"\u2699 value(value)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsJsonFormat value(Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsJsonFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value to format")),Object(l.b)("h2",{id:"-nutsmutabletablemodel"},"\u2615 NutsMutableTableModel"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsMutableTableModel\n")),Object(l.b)("p",null," Mutable Table Model\n\\@author vpc\n\\@category Format"),Object(l.b)("h3",{id:"-instance-methods-10"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addcellvalue"},"\u2699 addCell(value)"),Object(l.b)("p",null,"add row cell"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel addCell(Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : cell")),Object(l.b)("h4",{id:"-addcellsvalues"},"\u2699 addCells(values)"),Object(l.b)("p",null,"add row cells"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel addCells(Object[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] values")," : row cells")),Object(l.b)("h4",{id:"-addheadercellvalue"},"\u2699 addHeaderCell(value)"),Object(l.b)("p",null,"add header cell"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel addHeaderCell(Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : cell")),Object(l.b)("h4",{id:"-addheadercellsvalues"},"\u2699 addHeaderCells(values)"),Object(l.b)("p",null,"add header cells"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel addHeaderCells(Object[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] values")," : cells")),Object(l.b)("h4",{id:"-addrowvalues"},"\u2699 addRow(values)"),Object(l.b)("p",null,"add row cells"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel addRow(Object[] values)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] values")," : row cells")),Object(l.b)("h4",{id:"-clearheader"},"\u2699 clearHeader()"),Object(l.b)("p",null,"clear header"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel clearHeader()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("h4",{id:"-newrow"},"\u2699 newRow()"),Object(l.b)("p",null,"add new row to the model"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel newRow()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("h4",{id:"-setcellcolspanrow-column-value"},"\u2699 setCellColSpan(row, column, value)"),Object(l.b)("p",null,"update cell colspan"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel setCellColSpan(int row, int column, int value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int row")," : row index"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int column")," : column index"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int value")," : new value")),Object(l.b)("h4",{id:"-setcellrowspanrow-column-value"},"\u2699 setCellRowSpan(row, column, value)"),Object(l.b)("p",null,"update cell rowspan"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel setCellRowSpan(int row, int column, int value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int row")," : row index"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int column")," : column index"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int value")," : new value")),Object(l.b)("h4",{id:"-setcellvaluerow-column-value"},"\u2699 setCellValue(row, column, value)"),Object(l.b)("p",null,"update cell at the given position"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel setCellValue(int row, int column, Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int row")," : row index"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int column")," : column index"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : cell value")),Object(l.b)("h4",{id:"-setheadercolspancolumn-value"},"\u2699 setHeaderColSpan(column, value)"),Object(l.b)("p",null,"update header colspan"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel setHeaderColSpan(int column, int value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int column")," : new value"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int value")," : new value")),Object(l.b)("h4",{id:"-setheadervaluecolumn-value"},"\u2699 setHeaderValue(column, value)"),Object(l.b)("p",null,"update header value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel setHeaderValue(int column, Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int column")," : header column"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : new value")),Object(l.b)("h2",{id:"-nutsnamedelement"},"\u2615 NutsNamedElement"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsNamedElement\n")),Object(l.b)("p",null," Named Element\n\\@author vpc\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-10"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-name"},"\ud83d\udcc4\ud83c\udf9b name"),Object(l.b)("p",null,"element name"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public name\npublic String getName()\n")),Object(l.b)("h4",{id:"-value-5"},"\ud83d\udcc4\ud83c\udf9b value"),Object(l.b)("p",null,"element value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsElement public value\npublic NutsElement getValue()\n")),Object(l.b)("h2",{id:"-nutsobjectelementbuilder"},"\u2615 NutsObjectElementBuilder"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsObjectElementBuilder\n")),Object(l.b)("p",null," Builder for manipulating ","{","\\@link NutsObjectElement","}"," instances\n\\@author vpc\n\\@category Format"),Object(l.b)("h3",{id:"-instance-methods-11"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addother"},"\u2699 add(other)"),Object(l.b)("p",null,"set all properties from the given ","{","\\@code other","}"," instance.\nall properties not found in ","{","\\@code other","}"," will be retained."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectElementBuilder add(NutsObjectElement other)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectElementBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsObjectElement other")," : other instance")),Object(l.b)("h4",{id:"-addother-1"},"\u2699 add(other)"),Object(l.b)("p",null,"set all properties from the given ","{","\\@code other","}"," instance.\nall properties not found in ","{","\\@code other","}"," will be retained."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectElementBuilder add(NutsObjectElementBuilder other)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectElementBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsObjectElementBuilder other")," : other instance")),Object(l.b)("h4",{id:"-build"},"\u2699 build()"),Object(l.b)("p",null,"create a immutable instance of ","{","\\@link NutsObjectElement","}"," representing\nthis builder."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectElement build()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectElement"),Object(l.b)("h4",{id:"-children"},"\u2699 children()"),Object(l.b)("p",null,"object (key,value) attributes"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Collection children()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Collection"),Object(l.b)("h4",{id:"-clear"},"\u2699 clear()"),Object(l.b)("p",null,"remove all properties"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectElementBuilder clear()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectElementBuilder"),Object(l.b)("h4",{id:"-getname"},"\u2699 get(name)"),Object(l.b)("p",null,"return value for name or null.\nIf multiple values are available return any of them."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsElement get(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsElement"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : key name")),Object(l.b)("h4",{id:"-removename"},"\u2699 remove(name)"),Object(l.b)("p",null,"remove property"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectElementBuilder remove(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectElementBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : property name")),Object(l.b)("h4",{id:"-setother"},"\u2699 set(other)"),Object(l.b)("p",null,"set all properties from the given ","{","\\@code other","}"," instance.\nall properties not found in ","{","\\@code other","}"," will be removed."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectElementBuilder set(NutsObjectElement other)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectElementBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsObjectElement other")," : other instance")),Object(l.b)("h4",{id:"-setother-1"},"\u2699 set(other)"),Object(l.b)("p",null,"set all properties from the given ","{","\\@code other","}"," instance.\nall properties not found in ","{","\\@code other","}"," will be removed."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectElementBuilder set(NutsObjectElementBuilder other)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectElementBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsObjectElementBuilder other")," : other instance")),Object(l.b)("h4",{id:"-setname-value"},"\u2699 set(name, value)"),Object(l.b)("p",null,"set value for property ","{","\\@code name","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectElementBuilder set(String name, NutsElement value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectElementBuilder"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : property name"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsElement value")," : property value. should not be null")),Object(l.b)("h4",{id:"-size"},"\u2699 size()"),Object(l.b)("p",null,"element count"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int size()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":int"),Object(l.b)("h2",{id:"-nutsobjectformat"},"\u2615 NutsObjectFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsObjectFormat\n")),Object(l.b)("p",null," Object format is responsible of formatting to terminal\na given object. Multiple implementation should be available\nto support tables, trees, json, xml,...\n\\@author vpc\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-11"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-session-7"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsObjectFormat public session\npublic NutsObjectFormat setSession(session)\n")),Object(l.b)("h4",{id:"-value-6"},"\ud83d\udcdd\ud83c\udf9b value"),Object(l.b)("p",null,"set value to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsObjectFormat public value\npublic Object getValue()\npublic NutsObjectFormat setValue(value)\n")),Object(l.b)("h3",{id:"-instance-methods-12"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-configureskipunsupported-args-9"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-valuevalue-2"},"\u2699 value(value)"),Object(l.b)("p",null,"set value to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsObjectFormat value(Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsObjectFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value to format")),Object(l.b)("h2",{id:"-nutsoutputformat"},"\u2615 NutsOutputFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsOutputFormat\n")),Object(l.b)("p",null," Formats supported by Nuts\n\\@author vpc\n\\@since 0.5.4\n\\@category Format"),Object(l.b)("h3",{id:"-constant-fields"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-json"},"\ud83d\udce2\u2744 JSON"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOutputFormat JSON\n")),Object(l.b)("h4",{id:"-plain"},"\ud83d\udce2\u2744 PLAIN"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOutputFormat PLAIN\n")),Object(l.b)("h4",{id:"-props"},"\ud83d\udce2\u2744 PROPS"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOutputFormat PROPS\n")),Object(l.b)("h4",{id:"-table"},"\ud83d\udce2\u2744 TABLE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOutputFormat TABLE\n")),Object(l.b)("h4",{id:"-tree"},"\ud83d\udce2\u2744 TREE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOutputFormat TREE\n")),Object(l.b)("h4",{id:"-xml"},"\ud83d\udce2\u2744 XML"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsOutputFormat XML\n")),Object(l.b)("h3",{id:"-static-methods"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsOutputFormat valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsOutputFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsOutputFormat[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsOutputFormat[]"),Object(l.b)("h3",{id:"-instance-methods-13"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutspositiontype"},"\u2615 NutsPositionType"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsPositionType\n")),Object(l.b)("p",null," Text align constants"),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-constant-fields-1"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-center"},"\ud83d\udce2\u2744 CENTER"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsPositionType CENTER\n")),Object(l.b)("h4",{id:"-first"},"\ud83d\udce2\u2744 FIRST"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsPositionType FIRST\n")),Object(l.b)("h4",{id:"-header"},"\ud83d\udce2\u2744 HEADER"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsPositionType HEADER\n")),Object(l.b)("h4",{id:"-last"},"\ud83d\udce2\u2744 LAST"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsPositionType LAST\n")),Object(l.b)("h3",{id:"-static-methods-1"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-1"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPositionType valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPositionType"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-1"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPositionType[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPositionType[]"),Object(l.b)("h3",{id:"-instance-methods-14"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-id-1"},"\u2699 id()"),Object(l.b)("p",null,"lower cased identifier."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String id()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutspropertiesformat"},"\u2615 NutsPropertiesFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsPropertiesFormat\n")),Object(l.b)("p",null," Class formatting Map/Properties objects\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-12"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-model"},"\ud83d\udcdd\ud83c\udf9b model"),Object(l.b)("p",null,"set model to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPropertiesFormat public model\npublic Map getModel()\npublic NutsPropertiesFormat setModel(map)\n")),Object(l.b)("h4",{id:"-separator"},"\ud83d\udcdd\ud83c\udf9b separator"),Object(l.b)("p",null,"set key/value separator"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPropertiesFormat public separator\npublic String getSeparator()\npublic NutsPropertiesFormat setSeparator(separator)\n")),Object(l.b)("h4",{id:"-session-8"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsPropertiesFormat public session\npublic NutsPropertiesFormat setSession(session)\n")),Object(l.b)("h4",{id:"-sort"},"\ud83d\udcdd\ud83c\udf9b sort"),Object(l.b)("p",null,"enable/disable key sorting"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsPropertiesFormat public sort\npublic boolean isSort()\npublic NutsPropertiesFormat setSort(sort)\n")),Object(l.b)("h3",{id:"-instance-methods-15"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-configureskipunsupported-args-10"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...)\n","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPropertiesFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPropertiesFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-modelmap"},"\u2699 model(map)"),Object(l.b)("p",null,"set model to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPropertiesFormat model(Map map)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPropertiesFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Map map")," : model to format")),Object(l.b)("h4",{id:"-separatorseparator"},"\u2699 separator(separator)"),Object(l.b)("p",null,"set key/value separator"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPropertiesFormat separator(String separator)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPropertiesFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String separator")," : key/value separator")),Object(l.b)("h4",{id:"-sort-1"},"\u2699 sort()"),Object(l.b)("p",null,"enable key sorting"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPropertiesFormat sort()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPropertiesFormat"),Object(l.b)("h4",{id:"-sortsort"},"\u2699 sort(sort)"),Object(l.b)("p",null,"enable/disable key sorting"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsPropertiesFormat sort(boolean sort)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsPropertiesFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean sort")," : when true enable sorting")),Object(l.b)("h2",{id:"-nutsquestionformat"},"\u2615 NutsQuestionFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsQuestionFormat\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-13"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-defaultvalues"},"\ud83d\udcc4\ud83c\udf9b defaultValues"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object[] public defaultValues\npublic Object[] getDefaultValues(type, question)\n")),Object(l.b)("h3",{id:"-instance-methods-16"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-formatvalue-question"},"\u2699 format(value, question)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String format(Object value, NutsQuestion question)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsQuestion question")," : ")),Object(l.b)("h2",{id:"-nutsstring"},"\u2615 NutsString"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsString\n")),Object(l.b)("p",null," \\@author vpc\n\\@category Format"),Object(l.b)("h3",{id:"\ud83e\ude84-constructors"},"\ud83e\ude84 Constructors"),Object(l.b)("h4",{id:"\ud83e\ude84-nutsstringvalue"},"\ud83e\ude84 NutsString(value)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsString(String value)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : ")),Object(l.b)("h3",{id:"-instance-properties-14"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-value-7"},"\ud83d\udcc4\ud83c\udf9b value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public value\npublic String getValue()\n")),Object(l.b)("h3",{id:"-instance-methods-17"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-equalso"},"\u2699 equals(o)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object o")," : ")),Object(l.b)("h4",{id:"-hashcode"},"\u2699 hashCode()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":int"),Object(l.b)("h4",{id:"-tostring-1"},"\u2699 toString()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsstringformat"},"\u2615 NutsStringFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsStringFormat\n")),Object(l.b)("p",null," Class responsible of formatting a formatted string."),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-15"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-parameters"},"\ud83d\udcc4\ud83c\udf9b parameters"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object[] public parameters\npublic Object[] getParameters()\n")),Object(l.b)("h4",{id:"-session-9"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"set current session."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsStringFormat public session\npublic NutsStringFormat setSession(session)\n")),Object(l.b)("h4",{id:"-string"},"\ud83d\udcdd\ud83c\udf9b string"),Object(l.b)("p",null,"set current value to format."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsStringFormat public string\npublic String getString()\npublic NutsStringFormat setString(value)\n")),Object(l.b)("h4",{id:"-style"},"\ud83d\udcc4\ud83c\udf9b style"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTextFormatStyle public style\npublic NutsTextFormatStyle getStyle()\n")),Object(l.b)("h3",{id:"-instance-methods-18"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addparametersparameters"},"\u2699 addParameters(parameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat addParameters(Object[] parameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] parameters")," : ")),Object(l.b)("h4",{id:"-appendvalue-parameters"},"\u2699 append(value, parameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat append(String value, Object[] parameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] parameters")," : ")),Object(l.b)("h4",{id:"-configureskipunsupported-args-11"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, String...)\n","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-ofvalue-parameters"},"\u2699 of(value, parameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat of(String value, Object[] parameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] parameters")," : ")),Object(l.b)("h4",{id:"-setvalue-1"},"\u2699 set(value)"),Object(l.b)("p",null,"set current value to format."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat set(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : value to format")),Object(l.b)("h4",{id:"-setparametersparameters"},"\u2699 setParameters(parameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat setParameters(Object[] parameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] parameters")," : ")),Object(l.b)("h4",{id:"-setparametersparameters-1"},"\u2699 setParameters(parameters)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat setParameters(List parameters)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"List parameters")," : ")),Object(l.b)("h4",{id:"-setstylestyle"},"\u2699 setStyle(style)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat setStyle(NutsTextFormatStyle style)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTextFormatStyle style")," : ")),Object(l.b)("h4",{id:"-stylestyle"},"\u2699 style(style)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsStringFormat style(NutsTextFormatStyle style)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsStringFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTextFormatStyle style")," : ")),Object(l.b)("h2",{id:"-nutstablebordersformat"},"\u2615 NutsTableBordersFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTableBordersFormat\n")),Object(l.b)("p",null," \\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-methods-19"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-formats"},"\u2699 format(s)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String format(Separator s)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Separator s")," : ")),Object(l.b)("h2",{id:"-nutstablecell"},"\u2615 NutsTableCell"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTableCell\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-16"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-colspan"},"\ud83d\udcc4\ud83c\udf9b colspan"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public colspan\npublic int getColspan()\n")),Object(l.b)("h4",{id:"-rowspan"},"\ud83d\udcc4\ud83c\udf9b rowspan"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public rowspan\npublic int getRowspan()\n")),Object(l.b)("h4",{id:"-value-8"},"\ud83d\udcc4\ud83c\udf9b value"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public value\npublic Object getValue()\n")),Object(l.b)("h4",{id:"-x"},"\ud83d\udcc4\ud83c\udf9b x"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public x\npublic int getX()\n")),Object(l.b)("h4",{id:"-y"},"\ud83d\udcc4\ud83c\udf9b y"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public y\npublic int getY()\n")),Object(l.b)("h3",{id:"-instance-methods-20"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-setcolspancolspan"},"\u2699 setColspan(colspan)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableCell setColspan(int colspan)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableCell"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int colspan")," : ")),Object(l.b)("h4",{id:"-setrowspanrowspan"},"\u2699 setRowspan(rowspan)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableCell setRowspan(int rowspan)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableCell"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int rowspan")," : ")),Object(l.b)("h4",{id:"-setvaluevalue"},"\u2699 setValue(value)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableCell setValue(Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableCell"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : ")),Object(l.b)("h2",{id:"-nutstablecellformat"},"\u2615 NutsTableCellFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTableCellFormat\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-17"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-horizontalalign"},"\ud83d\udcc4\ud83c\udf9b horizontalAlign"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsPositionType public horizontalAlign\npublic NutsPositionType getHorizontalAlign(row, col, value)\n")),Object(l.b)("h4",{id:"-verticalalign"},"\ud83d\udcc4\ud83c\udf9b verticalAlign"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsPositionType public verticalAlign\npublic NutsPositionType getVerticalAlign(row, col, value)\n")),Object(l.b)("h3",{id:"-instance-methods-21"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-formatrow-col-value"},"\u2699 format(row, col, value)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String format(int row, int col, Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int row")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int col")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : ")),Object(l.b)("h2",{id:"-nutstableformat"},"\u2615 NutsTableFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTableFormat\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-18"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-border"},"\ud83d\udcc4\ud83c\udf9b border"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTableBordersFormat public border\npublic NutsTableBordersFormat getBorder()\n")),Object(l.b)("h4",{id:"-model-1"},"\ud83d\udcc4\ud83c\udf9b model"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] NutsTableModel public model\npublic NutsTableModel getModel()\n")),Object(l.b)("h4",{id:"-session-10"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsTableFormat public session\npublic NutsTableFormat setSession(session)\n")),Object(l.b)("h4",{id:"-visiblecolumn"},"\ud83d\udcc4\ud83c\udf9b visibleColumn"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Boolean public visibleColumn\npublic Boolean getVisibleColumn(col)\n")),Object(l.b)("h4",{id:"-visibleheader"},"\ud83d\udcc4\ud83c\udf9b visibleHeader"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public visibleHeader\npublic boolean isVisibleHeader()\n")),Object(l.b)("h3",{id:"-instance-methods-22"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-configureskipunsupported-args-12"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-createmodel"},"\u2699 createModel()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsMutableTableModel createModel()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsMutableTableModel"),Object(l.b)("h4",{id:"-setborderborder"},"\u2699 setBorder(border)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableFormat setBorder(NutsTableBordersFormat border)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTableBordersFormat border")," : ")),Object(l.b)("h4",{id:"-setcellformatformatter"},"\u2699 setCellFormat(formatter)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableFormat setCellFormat(NutsTableCellFormat formatter)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTableCellFormat formatter")," : ")),Object(l.b)("h4",{id:"-setmodelmodel"},"\u2699 setModel(model)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableFormat setModel(NutsTableModel model)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTableModel model")," : ")),Object(l.b)("h4",{id:"-setvisiblecolumncol-visible"},"\u2699 setVisibleColumn(col, visible)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableFormat setVisibleColumn(int col, boolean visible)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int col")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean visible")," : ")),Object(l.b)("h4",{id:"-setvisibleheadervisibleheader"},"\u2699 setVisibleHeader(visibleHeader)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableFormat setVisibleHeader(boolean visibleHeader)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean visibleHeader")," : ")),Object(l.b)("h4",{id:"-unsetvisiblecolumncol"},"\u2699 unsetVisibleColumn(col)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTableFormat unsetVisibleColumn(int col)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTableFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int col")," : ")),Object(l.b)("h2",{id:"-nutstablemodel"},"\u2615 NutsTableModel"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTableModel\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-19"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-cellcolspan"},"\ud83d\udcc4\ud83c\udf9b cellColSpan"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public cellColSpan\npublic int getCellColSpan(row, column)\n")),Object(l.b)("h4",{id:"-cellrowspan"},"\ud83d\udcc4\ud83c\udf9b cellRowSpan"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public cellRowSpan\npublic int getCellRowSpan(row, column)\n")),Object(l.b)("h4",{id:"-cellvalue"},"\ud83d\udcc4\ud83c\udf9b cellValue"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public cellValue\npublic Object getCellValue(row, column)\n")),Object(l.b)("h4",{id:"-columnscount"},"\ud83d\udcc4\ud83c\udf9b columnsCount"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public columnsCount\npublic int getColumnsCount()\n")),Object(l.b)("h4",{id:"-headercolspan"},"\ud83d\udcc4\ud83c\udf9b headerColSpan"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public headerColSpan\npublic int getHeaderColSpan(column)\n")),Object(l.b)("h4",{id:"-headervalue"},"\ud83d\udcc4\ud83c\udf9b headerValue"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public headerValue\npublic Object getHeaderValue(column)\n")),Object(l.b)("h4",{id:"-rowscount"},"\ud83d\udcc4\ud83c\udf9b rowsCount"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] int public rowsCount\npublic int getRowsCount()\n")),Object(l.b)("h2",{id:"-nutsterminalformat"},"\u2615 NutsTerminalFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTerminalFormat\n")),Object(l.b)("p",null," Filtered Terminal Format Helper"),Object(l.b)("p",null," \\@see NutsIOManager#getTerminalFormat()\n\\@see NutsWorkspace#io()\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-methods-23"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-escapetextvalue"},"\u2699 escapeText(value)"),Object(l.b)("p",null,'This method escapes all special characters that are interpreted by\n"nuts print format" o that this exact string is printed on\nsuch print streams When str is null, an empty string is return'),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String escapeText(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : input string")),Object(l.b)("h4",{id:"-filtertextvalue"},"\u2699 filterText(value)"),Object(l.b)("p",null,'this method removes all special "nuts print format" sequences support\nand returns the raw string to be printed on an\nordinary ',"{","\\@link PrintStream","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String filterText(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : input string")),Object(l.b)("h4",{id:"-formattextstyle-format-args"},"\u2699 formatText(style, format, args)"),Object(l.b)("p",null,"format string. supports ","{","\\@link Formatter#format(java.lang.String, java.lang.Object...)\n","}","\npattern format and adds NutsString special format to print unfiltered strings."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String formatText(NutsTextFormatStyle style, String format, Object[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTextFormatStyle style")," : format style"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String format")," : format"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] args")," : arguments")),Object(l.b)("h4",{id:"-formattextstyle-locale-format-args"},"\u2699 formatText(style, locale, format, args)"),Object(l.b)("p",null,"format string. supports ","{","\\@link Formatter#format(java.util.Locale, java.lang.String, java.lang.Object...)\n","}","\npattern format and adds NutsString special format to print unfiltered strings."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String formatText(NutsTextFormatStyle style, Locale locale, String format, Object[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTextFormatStyle style")," : style"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Locale locale")," : locale"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String format")," : format"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object[] args")," : arguments")),Object(l.b)("h4",{id:"-isformattedout"},"\u2699 isFormatted(out)"),Object(l.b)("p",null,"true if the stream is not null and could be resolved as Formatted Output\nStream. If False is returned this does no mean necessarily that the\nstream is not formatted."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean isFormatted(OutputStream out)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"OutputStream out")," : stream to check")),Object(l.b)("h4",{id:"-isformattedout-1"},"\u2699 isFormatted(out)"),Object(l.b)("p",null,"true if the stream is not null and could be resolved as Formatted Output\nStream. If False is returned this does no mean necessarily that the\nstream is not formatted."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean isFormatted(Writer out)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Writer out")," : stream to check")),Object(l.b)("h4",{id:"-prepareout"},"\u2699 prepare(out)"),Object(l.b)("p",null,"prepare PrintStream to handle NutsString aware format pattern. If the instance\nalready supports Nuts specific pattern it will be returned unmodified."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrintStream prepare(PrintStream out)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":PrintStream"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintStream out")," : PrintStream to check")),Object(l.b)("h4",{id:"-prepareout-1"},"\u2699 prepare(out)"),Object(l.b)("p",null,"prepare PrintWriter to handle %N (escape) format pattern. If the instance\nalready supports Nuts specific pattern it will be returned unmodified."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"PrintWriter prepare(PrintWriter out)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":PrintWriter"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"PrintWriter out")," : PrintWriter to check")),Object(l.b)("h4",{id:"-textlengthvalue"},"\u2699 textLength(value)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int textLength(String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":int"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : ")),Object(l.b)("h2",{id:"-nutstextformatstyle"},"\u2615 NutsTextFormatStyle"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public final net.vpc.app.nuts.NutsTextFormatStyle\n")),Object(l.b)("p",null," \\@author vpc\n\\@category Format"),Object(l.b)("h3",{id:"-constant-fields-2"},"\ud83d\udce2\u2744 Constant Fields"),Object(l.b)("h4",{id:"-cstyle"},"\ud83d\udce2\u2744 CSTYLE"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsTextFormatStyle CSTYLE\n")),Object(l.b)("h4",{id:"-positional"},"\ud83d\udce2\u2744 POSITIONAL"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public static final NutsTextFormatStyle POSITIONAL\n")),Object(l.b)("h3",{id:"-static-methods-2"},"\ud83d\udce2\u2699 Static Methods"),Object(l.b)("h4",{id:"-valueofname-2"},"\ud83d\udce2\u2699 valueOf(name)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTextFormatStyle valueOf(String name)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTextFormatStyle"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String name")," : ")),Object(l.b)("h4",{id:"-values-2"},"\ud83d\udce2\u2699 values()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTextFormatStyle[] values()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTextFormatStyle[]"),Object(l.b)("h2",{id:"-nutstreeformat"},"\u2615 NutsTreeFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTreeFormat\n")),Object(l.b)("p",null," Tree Format handles terminal output in Tree format.\nIt is one of the many formats supported bu nuts such as plain,table, xml, json.\nTo use Tree format, given an instance ws of Nuts Workspace you can :\n\\","\nws.\n\\","\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-20"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-linkformat"},"\ud83d\udcdd\ud83c\udf9b linkFormat"),Object(l.b)("p",null,"update link format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsTreeFormat public linkFormat\npublic NutsTreeLinkFormat getLinkFormat()\npublic NutsTreeFormat setLinkFormat(linkFormat)\n")),Object(l.b)("h4",{id:"-model-2"},"\ud83d\udcdd\ud83c\udf9b model"),Object(l.b)("p",null,"update tree model"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsTreeFormat public model\npublic NutsTreeModel getModel()\npublic NutsTreeFormat setModel(tree)\n")),Object(l.b)("h4",{id:"-nodeformat"},"\ud83d\udcdd\ud83c\udf9b nodeFormat"),Object(l.b)("p",null,"update node format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsTreeFormat public nodeFormat\npublic NutsTreeNodeFormat getNodeFormat()\npublic NutsTreeFormat setNodeFormat(nodeFormat)\n")),Object(l.b)("h4",{id:"-session-11"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsTreeFormat public session\npublic NutsTreeFormat setSession(session)\n")),Object(l.b)("h3",{id:"-instance-methods-24"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-configureskipunsupported-args-13"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...) ","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTreeFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTreeFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-linkformatlinkformat"},"\u2699 linkFormat(linkFormat)"),Object(l.b)("p",null,"update link format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTreeFormat linkFormat(NutsTreeLinkFormat linkFormat)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTreeFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTreeLinkFormat linkFormat")," : new link format")),Object(l.b)("h4",{id:"-modeltree"},"\u2699 model(tree)"),Object(l.b)("p",null,"update tree model"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTreeFormat model(NutsTreeModel tree)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTreeFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTreeModel tree")," : new tree model")),Object(l.b)("h4",{id:"-nodeformatnodeformat"},"\u2699 nodeFormat(nodeFormat)"),Object(l.b)("p",null,"update node format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsTreeFormat nodeFormat(NutsTreeNodeFormat nodeFormat)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsTreeFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsTreeNodeFormat nodeFormat")," : new node format")),Object(l.b)("h2",{id:"-nutstreelinkformat"},"\u2615 NutsTreeLinkFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTreeLinkFormat\n")),Object(l.b)("p",null," Format class responsible of formatting prefix of a tree\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-methods-25"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-formatchildtype"},"\u2699 formatChild(type)"),Object(l.b)("p",null,"return prefix for node child for the given layout"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String formatChild(NutsPositionType type)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsPositionType type")," : position type")),Object(l.b)("h4",{id:"-formatmaintype"},"\u2699 formatMain(type)"),Object(l.b)("p",null,"return prefix for node root for the given layout"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String formatMain(NutsPositionType type)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsPositionType type")," : position type")),Object(l.b)("h2",{id:"-nutstreemodel"},"\u2615 NutsTreeModel"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTreeModel\n")),Object(l.b)("p",null," Tree Model to use in tree format\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-21"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-root"},"\ud83d\udcc4\ud83c\udf9b root"),Object(l.b)("p",null,"tree node"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] Object public root\npublic Object getRoot()\n")),Object(l.b)("h3",{id:"-instance-methods-26"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-getchildrennode"},"\u2699 getChildren(node)"),Object(l.b)("p",null,"return children of the given ","{","\\@code node","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"List getChildren(Object node)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":List"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object node")," : node to retrieve children for")),Object(l.b)("h2",{id:"-nutstreenodeformat"},"\u2615 NutsTreeNodeFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsTreeNodeFormat\n")),Object(l.b)("p",null," classes implementing this interface handle formatting of the tree node.\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-methods-27"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-formatobject-depth"},"\u2699 format(object, depth)"),Object(l.b)("p",null,"format (transform to rich string) object at the given depth"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String format(Object object, int depth)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object object")," : object to transform"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"int depth")," : tree node depth")),Object(l.b)("h2",{id:"-nutsversionformat"},"\u2615 NutsVersionFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsVersionFormat\n")),Object(l.b)("p",null," \\@author vpc\n\\@since 0.5.4\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-22"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-session-12"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsVersionFormat public session\npublic NutsVersionFormat setSession(session)\n")),Object(l.b)("h4",{id:"-version"},"\ud83d\udcdd\ud83c\udf9b version"),Object(l.b)("p",null,"set version to print. if null, workspace version will be considered."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsVersionFormat public version\npublic NutsVersion getVersion()\npublic NutsVersionFormat setVersion(version)\n")),Object(l.b)("h4",{id:"-workspaceversion"},"\ud83d\udcc4\ud83c\udf9b workspaceVersion"),Object(l.b)("p",null,"return true if version is null (default). In such case, workspace version\nis considered."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public workspaceVersion\npublic boolean isWorkspaceVersion()\n")),Object(l.b)("h3",{id:"-instance-methods-28"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-addpropertiesp"},"\u2699 addProperties(p)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersionFormat addProperties(Map p)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsVersionFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Map p")," : ")),Object(l.b)("h4",{id:"-addpropertykey-value-1"},"\u2699 addProperty(key, value)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersionFormat addProperty(String key, String value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsVersionFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String key")," : "),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String value")," : ")),Object(l.b)("h4",{id:"-parseversion"},"\u2699 parse(version)"),Object(l.b)("p",null,"return version instance representing the ","{","\\@code version","}"," string"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsVersion parse(String version)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsVersion"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String version")," : string (may be null)")),Object(l.b)("h2",{id:"-nutsworkspaceoptionsformat"},"\u2615 NutsWorkspaceOptionsFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public net.vpc.app.nuts.NutsWorkspaceOptionsFormat\n")),Object(l.b)("p",null," \\@author vpc\n\\@category Format"),Object(l.b)("h3",{id:"\ud83e\ude84-constructors-1"},"\ud83e\ude84 Constructors"),Object(l.b)("h4",{id:"\ud83e\ude84-nutsworkspaceoptionsformatoptions"},"\ud83e\ude84 NutsWorkspaceOptionsFormat(options)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat(NutsWorkspaceOptions options)\n")),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"NutsWorkspaceOptions options")," : ")),Object(l.b)("h3",{id:"-instance-properties-23"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-bootcommand"},"\ud83d\udcc4\ud83c\udf9b bootCommand"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String[] public bootCommand\npublic String[] getBootCommand()\n")),Object(l.b)("h4",{id:"-bootcommandline"},"\ud83d\udcc4\ud83c\udf9b bootCommandLine"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] String public bootCommandLine\npublic String getBootCommandLine()\n")),Object(l.b)("h4",{id:"-exported"},"\ud83d\udcc4\ud83c\udf9b exported"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public exported\npublic boolean isExported()\n")),Object(l.b)("h4",{id:"-init"},"\ud83d\udcc4\ud83c\udf9b init"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public init\npublic boolean isInit()\n")),Object(l.b)("h4",{id:"-runtime"},"\ud83d\udcc4\ud83c\udf9b runtime"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-only] boolean public runtime\npublic boolean isRuntime()\n")),Object(l.b)("h3",{id:"-instance-methods-29"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-compact-4"},"\u2699 compact()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat compact()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("h4",{id:"-compactcompact-2"},"\u2699 compact(compact)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat compact(boolean compact)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean compact")," : ")),Object(l.b)("h4",{id:"-equalso-1"},"\u2699 equals(o)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"boolean equals(Object o)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":boolean"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object o")," : ")),Object(l.b)("h4",{id:"-exported-1"},"\u2699 exported()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat exported()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("h4",{id:"-exportede"},"\u2699 exported(e)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat exported(boolean e)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean e")," : ")),Object(l.b)("h4",{id:"-hashcode-1"},"\u2699 hashCode()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"int hashCode()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":int"),Object(l.b)("h4",{id:"-init-1"},"\u2699 init()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat init()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("h4",{id:"-inite"},"\u2699 init(e)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat init(boolean e)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean e")," : ")),Object(l.b)("h4",{id:"-runtime-1"},"\u2699 runtime()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat runtime()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("h4",{id:"-runtimee"},"\u2699 runtime(e)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat runtime(boolean e)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean e")," : ")),Object(l.b)("h4",{id:"-setcompactcompact"},"\u2699 setCompact(compact)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat setCompact(boolean compact)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean compact")," : ")),Object(l.b)("h4",{id:"-setexportede"},"\u2699 setExported(e)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat setExported(boolean e)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean e")," : ")),Object(l.b)("h4",{id:"-setinite"},"\u2699 setInit(e)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat setInit(boolean e)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean e")," : ")),Object(l.b)("h4",{id:"-setruntimee"},"\u2699 setRuntime(e)"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsWorkspaceOptionsFormat setRuntime(boolean e)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsWorkspaceOptionsFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean e")," : ")),Object(l.b)("h4",{id:"-tostring-2"},"\u2699 toString()"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"String toString()\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":String"),Object(l.b)("h2",{id:"-nutsxmlformat"},"\u2615 NutsXmlFormat"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"public interface net.vpc.app.nuts.NutsXmlFormat\n")),Object(l.b)("p",null," Xml Format Helper class\n\\@author vpc\n\\@since 0.5.5\n\\@category Format"),Object(l.b)("h3",{id:"-instance-properties-24"},"\ud83c\udf9b Instance Properties"),Object(l.b)("h4",{id:"-compact-5"},"\ud83d\udcdd\ud83c\udf9b compact"),Object(l.b)("p",null,"if true compact xml generated. if false, sue more versatile/formatted output."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsXmlFormat public compact\npublic boolean isCompact()\npublic NutsXmlFormat setCompact(compact)\n")),Object(l.b)("h4",{id:"-session-13"},"\u270f\ud83c\udf9b session"),Object(l.b)("p",null,"update session"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[write-only] NutsXmlFormat public session\npublic NutsXmlFormat setSession(session)\n")),Object(l.b)("h4",{id:"-value-9"},"\ud83d\udcdd\ud83c\udf9b value"),Object(l.b)("p",null,"set value to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"[read-write] NutsXmlFormat public value\npublic Object getValue()\npublic NutsXmlFormat setValue(value)\n")),Object(l.b)("h3",{id:"-instance-methods-30"},"\u2699 Instance Methods"),Object(l.b)("h4",{id:"-configureskipunsupported-args-14"},"\u2699 configure(skipUnsupported, args)"),Object(l.b)("p",null,"configure the current command with the given arguments. This is an\noverride of the ","{","\\@link NutsConfigurable#configure(boolean, java.lang.String...)\n","}","\nto help return a more specific return type;"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsXmlFormat configure(boolean skipUnsupported, String[] args)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsXmlFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"boolean skipUnsupported")," : when true, all unsupported options are skipped"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"String[] args")," : argument to configure with")),Object(l.b)("h4",{id:"-fromxmlelementxmlelement-clazz"},"\u2699 fromXmlElement(xmlElement, clazz)"),Object(l.b)("p",null,"convert ","{","\\@code xmlElement","}"," to a valid instance of type ","{","\\@code clazz","}"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object fromXmlElement(Element xmlElement, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Element xmlElement")," : xmlElement to convert"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target class")),Object(l.b)("h4",{id:"-parsebytes-clazz-1"},"\u2699 parse(bytes, clazz)"),Object(l.b)("p",null,"parse bytes as xml to the given class"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(byte[] bytes, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"byte[] bytes")," : bytes to parse"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target class")),Object(l.b)("h4",{id:"-parsefile-clazz-2"},"\u2699 parse(file, clazz)"),Object(l.b)("p",null,"Parse Xml Content as given class type."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(File file, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"File file")," : input content"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : type to parse to")),Object(l.b)("h4",{id:"-parseinputstream-clazz-1"},"\u2699 parse(inputStream, clazz)"),Object(l.b)("p",null,"parse inputStream as xml to the given class"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(InputStream inputStream, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"InputStream inputStream")," : inputStream to parse"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target class")),Object(l.b)("h4",{id:"-parsepath-clazz"},"\u2699 parse(path, clazz)"),Object(l.b)("p",null,"Parse Xml Content as given class type."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(Path path, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Path path")," : input content"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : type to parse to")),Object(l.b)("h4",{id:"-parsereader-clazz-1"},"\u2699 parse(reader, clazz)"),Object(l.b)("p",null,"Parse Xml Content as given class type."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(Reader reader, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Reader reader")," : input content"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : type to parse to")),Object(l.b)("h4",{id:"-parseurl-clazz-1"},"\u2699 parse(url, clazz)"),Object(l.b)("p",null,"parse url content as xml to the given class"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Object parse(URL url, Class clazz)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Object"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"URL url")," : url to parse"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Class clazz")," : target class")),Object(l.b)("h4",{id:"-toxmldocumentvalue"},"\u2699 toXmlDocument(value)"),Object(l.b)("p",null,"convert ","{","\\@code value","}"," to an xml document."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Document toXmlDocument(Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Document"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value to convert")),Object(l.b)("h4",{id:"-toxmlelementvalue-xmldocument"},"\u2699 toXmlElement(value, xmlDocument)"),Object(l.b)("p",null,"convert ","{","\\@code value","}"," to a valid root element to add to the given ","{","\\@code xmlDocument","}",".\nif the document is null, a new one will be created."),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"Element toXmlElement(Object value, Document xmlDocument)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":Element"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value to convert"),Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Document xmlDocument")," : target document")),Object(l.b)("h4",{id:"-valuevalue-3"},"\u2699 value(value)"),Object(l.b)("p",null,"set value to format"),Object(l.b)("pre",null,Object(l.b)("code",Object(n.a)({parentName:"pre"},{className:"language-java"}),"NutsXmlFormat value(Object value)\n")),Object(l.b)("p",null,Object(l.b)("strong",{parentName:"p"},"return"),":NutsXmlFormat"),Object(l.b)("ul",null,Object(l.b)("li",{parentName:"ul"},Object(l.b)("strong",{parentName:"li"},"Object value")," : value to format")))}p.isMDXComponent=!0},118:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return m}));var n=a(0),r=a.n(n);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function c(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=r.a.createContext({}),p=function(e){var t=r.a.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):c(c({},t),e)),a},s=function(e){var t=p(e.components);return r.a.createElement(o.Provider,{value:t},e.children)},i={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},j=r.a.forwardRef((function(e,t){var a=e.components,n=e.mdxType,l=e.originalType,b=e.parentName,o=u(e,["components","mdxType","originalType","parentName"]),s=p(a),j=n,m=s["".concat(b,".").concat(j)]||s[j]||i[j]||l;return a?r.a.createElement(m,c(c({ref:t},o),{},{components:a})):r.a.createElement(m,c({ref:t},o))}));function m(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var l=a.length,b=new Array(l);b[0]=j;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:n,b[1]=c;for(var o=2;o + + + + + +Hello from Nuts | Nuts + + + + + + + + +
+

Nuts

The Java Package Manager

[object Object]

Open Source

Nuts Package manager is an Open Source package manager for the Java © ecosystem. Nuts is your best companion for your maven built applications.

[object Object]

Any application, All applications

install, run and manage all the versions of your applications in parallal.

[object Object]

Automate your operations

Take advantage of the Nuts toolbox that offers GNU binutils equivalent tools (bash,ls, cp, and more), and extend them to support json and xml outputs to help automation.

+ + + + + + + + \ No newline at end of file diff --git a/docs/main.1a5596d8.js b/docs/main.1a5596d8.js new file mode 100644 index 000000000..3f811ca57 --- /dev/null +++ b/docs/main.1a5596d8.js @@ -0,0 +1,2 @@ +/*! For license information please see main.1a5596d8.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[59],[function(e,t,n){"use strict";e.exports=n(31)},function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return O})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return I})),n.d(t,"g",(function(){return L})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return S})),n.d(t,"j",(function(){return C})),n.d(t,"k",(function(){return M})),n.d(t,"l",(function(){return z})),n.d(t,"m",(function(){return B})),n.d(t,"n",(function(){return U})),n.d(t,"o",(function(){return D}));var r=n(3),a=n(0),o=n.n(a),i=(n(7),n(5)),l=n(18),s=n(4),u=n(2),c=n(19),d=n.n(c),f=(n(23),n(6)),p=n(28),m=n.n(p),h=function(e){var t=Object(l.a)();return t.displayName=e,t}("Router-History"),g=function(e){var t=Object(l.a)();return t.displayName=e,t}("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(g.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.a.Component);var b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),a=l(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},u=n(4);function c(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function h(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),d({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=h(e,t,f(),w.location);c.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,d({action:"REPLACE",location:r}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t=0||(a[n]=e[n]);return a}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(35)()},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s}));var r=n(1),a=n(2),o=n(0),i=n.n(o);function l(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?Object(r.j)(t,e):n.length?n[n.length-1].match:r.e.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&l(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?i.a.createElement(r.g,n,e.map((function(e,n){return i.a.createElement(r.d,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(Object(a.a)({},n,{},t,{route:e})):i.a.createElement(e.component,Object(a.a)({},n,t,{route:e}))}})}))):null}},function(e,t,n){"use strict";n.r(t),t.default={title:"Nuts",tagline:"The Java Package Manager",url:"https://thevpc.github.io/nuts",baseUrl:"/nuts/",onBrokenLinks:"log",favicon:"img/favicon.ico",organizationName:"facebook",projectName:"docusaurus",customFields:{appApiVersion:"0.7.0",appCoreVersion:"0.7.0.0"},themeConfig:{navbar:{title:"Nuts Package Manager",logo:{alt:"Nuts Package Manager",src:"img/shuriken.png"},items:[{to:"docs/",activeBasePath:"docs",label:"Docs",position:"left"},{to:"blog",label:"Blog",position:"left"},{href:"https://github.com/thevpc/nuts",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Style Guide",to:"docs/"},{label:"Second Doc",to:"docs/doc2/"}]},{title:"Community",items:[{label:"Stack Overflow",href:"https://stackoverflow.com/questions/tagged/nuts"},{label:"Discord",href:"https://discordapp.com/invite/nuts"},{label:"Twitter",href:"https://twitter.com/nuts"}]},{title:"More",items:[{label:"Blog",to:"blog"},{label:"GitHub",href:"https://github.com/thevpc/nuts"}]}],copyright:"Copyright \xa9 2020 Nuts Package Manager Team."},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1,switchConfig:{darkIcon:"\ud83c\udf1c",darkIconStyle:{},lightIcon:"\ud83c\udf1e",lightIconStyle:{}}}},presets:[["@docusaurus/preset-classic",{docs:{homePageId:"get-started/installation",sidebarPath:"/data/public/git/nuts/website/nuts/sidebars.js",editUrl:"https://github.com/facebook/docusaurus/edit/master/website/"},blog:{showReadingTime:!0,editUrl:"https://github.com/facebook/docusaurus/edit/master/website/blog/"},theme:{customCss:"/data/public/git/nuts/website/nuts/src/css/custom.css"}}]],onDuplicateRoutes:"warn",plugins:[],themes:[]}},function(e,t,n){"use strict";const r=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:r,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&!!window.screen};t.a=a},function(e){e.exports=JSON.parse('{"/nuts/-13b":{"component":"c4f5d8e4","config":"5e9f5e1a"},"/nuts/blog-ec3":{"component":"a6aa9e1f","items":[{"content":"af172acd"},{"content":"3570154c"},{"content":"8e9f0a8a"}],"metadata":"53baeae1"},"/nuts/blog/hello-world-313":{"component":"ccc49370","content":"d610846f"},"/nuts/blog/hola-dbb":{"component":"ccc49370","content":"bdd709f1"},"/nuts/blog/tags-2ec":{"component":"01a85c17","tags":"1010ef7d"},"/nuts/blog/tags/hola-f22":{"component":"6875c492","items":[{"content":"8e9f0a8a"}],"metadata":"89543a7b"},"/nuts/blog/tags/nuts-60f":{"component":"6875c492","items":[{"content":"af172acd"},{"content":"3570154c"},{"content":"8e9f0a8a"}],"metadata":"6b55986e"},"/nuts/blog/welcome-fca":{"component":"ccc49370","content":"2868cdab"},"/nuts/docs-f72":{"component":"1be78505","docsMetadata":"a1e23ae7"},"/nuts/docs/-629":{"component":"17896441","content":"1c28c6e3"},"/nuts/docs/advanced/aliases-a2e":{"component":"17896441","content":"bea1023d"},"/nuts/docs/advanced/automation-3cf":{"component":"17896441","content":"091f20d6"},"/nuts/docs/advanced/doc1-f6a":{"component":"17896441","content":"c2a6dbb5"},"/nuts/docs/advanced/filesystem-130":{"component":"17896441","content":"939b9698"},"/nuts/docs/advanced/portableWorkspaces-1cf":{"component":"17896441","content":"f3bc9563"},"/nuts/docs/doc1-969":{"component":"17896441","content":"b2f90839"},"/nuts/docs/doc2-f17":{"component":"17896441","content":"df361e2b"},"/nuts/docs/doc3-fc9":{"component":"17896441","content":"616665f6"},"/nuts/docs/fwk/firstNutsApp-c4c":{"component":"17896441","content":"284da823"},"/nuts/docs/fwk/nutsApp-64b":{"component":"17896441","content":"9956cada"},"/nuts/docs/get-started/commandline-828":{"component":"17896441","content":"9f5f5bbd"},"/nuts/docs/get-started/faq-2d7":{"component":"17896441","content":"50ece04e"},"/nuts/docs/get-started/running-22d":{"component":"17896441","content":"099a241d"},"/nuts/docs/intro/building-58e":{"component":"17896441","content":"f262255c"},"/nuts/docs/intro/introduction-827":{"component":"17896441","content":"62aa0aea"},"/nuts/docs/intro/license-bb9":{"component":"17896441","content":"3151bb86"},"/nuts/docs/intro/nutsAndMaven-424":{"component":"17896441","content":"cf25734a"},"/nuts/docs/intro/projects-c90":{"component":"17896441","content":"69d42aa1"},"/nuts/docs/javadocs/javadoc_Application-b61":{"component":"17896441","content":"965e1430"},"/nuts/docs/javadocs/javadoc_Base-44e":{"component":"17896441","content":"7aa86d71"},"/nuts/docs/javadocs/javadoc_Command_Line-60a":{"component":"17896441","content":"bf0694fa"},"/nuts/docs/javadocs/javadoc_Commands-984":{"component":"17896441","content":"83ad7e8f"},"/nuts/docs/javadocs/javadoc_Config-388":{"component":"17896441","content":"4ed1c10b"},"/nuts/docs/javadocs/javadoc_Constants-de7":{"component":"17896441","content":"d392a9ee"},"/nuts/docs/javadocs/javadoc_Descriptor-2a7":{"component":"17896441","content":"50b155a7"},"/nuts/docs/javadocs/javadoc_Elements-0bc":{"component":"17896441","content":"c182d085"},"/nuts/docs/javadocs/javadoc_Events-9c4":{"component":"17896441","content":"8181ab54"},"/nuts/docs/javadocs/javadoc_Exception-668":{"component":"17896441","content":"25554f14"},"/nuts/docs/javadocs/javadoc_Extensions-ebc":{"component":"17896441","content":"c32aa835"},"/nuts/docs/javadocs/javadoc_Format-be3":{"component":"17896441","content":"fccaaa09"},"/nuts/docs/javadocs/javadoc_Input_Output-ab2":{"component":"17896441","content":"7a6d83a2"},"/nuts/docs/javadocs/javadoc_Internal-85b":{"component":"17896441","content":"e80fa6fd"},"/nuts/docs/javadocs/javadoc_Logging-5a1":{"component":"17896441","content":"acb71bcc"},"/nuts/docs/javadocs/javadoc_Other-ab2":{"component":"17896441","content":"55789b7b"},"/nuts/docs/javadocs/javadoc_Security-319":{"component":"17896441","content":"73345845"},"/nuts/docs/javadocs/javadoc_SPI_Base-4f7":{"component":"17896441","content":"45a4b369"},"/nuts/docs/mdx-bef":{"component":"17896441","content":"ce3e42ad"}}')},function(e,t,n){var r,a;void 0===(a="function"==typeof(r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var s=n.render(!t),u=s.querySelector(r.barSelector),c=r.speed,d=r.easing;return s.offsetWidth,i((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(u,function(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}(e,c,d)),1===e?(l(s,{transition:"none",opacity:1}),s.offsetWidth,setTimeout((function(){l(s,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()})),t[n]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}(n))}function r(e,t,r){t=n(t),e.style[t]=r}return function(e,t){var n,a,o=arguments;if(2==o.length)for(n in t)void 0!==(a=t[n])&&t.hasOwnProperty(n)&&r(e,n,a);else r(e,o[1],o[2])}}();function s(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?r.call(t,n,t,e):r)||(e.exports=a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return b})),n.d(t,"e",(function(){return k}));var r=n(1);n.d(t,"d",(function(){return r.a})),n.d(t,"f",(function(){return r.b})),n.d(t,"g",(function(){return r.c})),n.d(t,"h",(function(){return r.d})),n.d(t,"i",(function(){return r.e})),n.d(t,"j",(function(){return r.f})),n.d(t,"k",(function(){return r.g})),n.d(t,"l",(function(){return r.i})),n.d(t,"m",(function(){return r.j})),n.d(t,"n",(function(){return r.k})),n.d(t,"o",(function(){return r.l})),n.d(t,"p",(function(){return r.m})),n.d(t,"q",(function(){return r.n})),n.d(t,"r",(function(){return r.o}));var a=n(3),o=n(0),i=n.n(o),l=n(5),s=(n(7),n(2)),u=n(6),c=n(4),d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;ae.length)return;if(!(k instanceof s)){if(h&&y!=t.length-1){if(f.lastIndex=w,!(C=f.exec(e)))break;for(var E=C.index+(m?C[1].length:0),S=C.index+C[0].length,x=y,T=w,_=t.length;x<_&&(T=(T+=t[x].length)&&(++y,w=T);if(t[y]instanceof s)continue;O=x-y,k=e.slice(w,T),C.index-=w}else{f.lastIndex=0;var C=f.exec(k),O=1}if(C){m&&(g=C[1]?C[1].length:0),S=(E=C.index+g)+(C=C[0].slice(g)).length;var j=k.slice(0,E),P=k.slice(S),A=[y,O];j&&(++y,w+=j.length,A.push(j));var R=new s(u,p?a.tokenize(C,p):C,v,C,h);if(A.push(R),P&&A.push(P),Array.prototype.splice.apply(t,A),1!=O&&a.matchGrammar(e,t,n,y,w,!0,u),i)break}else if(i)break}}}}},hooks:{add:function(){}},tokenize:function(e,t,n){var r=[e],o=t.rest;if(o){for(var i in o)t[i]=o[i];delete t.rest}return a.matchGrammar(e,r,t,0,0,!1),r}},(o=a.Token=function(e,t,n,r,a){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!a}).stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===a.util.type(e))return e.map((function(n){return o.stringify(n,t,e)})).join("");var r={type:e.type,content:o.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var i="Array"===a.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(r.classes,i)}var l=Object.keys(r.attributes).map((function(e){return e+'="'+(r.attributes[e]||"").replace(/"/g,""")+'"'})).join(" ");return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+(l?" "+l:"")+">"+r.content+""},a);i.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:i.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:r},i.languages.insertBefore("markup","cdata",a)}}),i.languages.xml=i.languages.extend("markup",{}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s*(?:\r?\n|\r)(?:[\s\S])*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s*(?:\r?\n|\r)(?:[\s\S])*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0},{pattern:/(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/,greedy:!0,inside:n}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}};for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=n.variable[1].inside,o=0;o=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},i.languages.c=i.languages.extend("clike",{"class-name":{pattern:/(\b(?:enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i}),i.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete i.languages.c.boolean,i.languages.cpp=i.languages.extend("c",{"class-name":{pattern:/(\b(?:class|enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+\.?[\da-f']*|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+\.?[\d']*|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]*/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),i.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+t.source+"|[^\n\r()]*)\\)","i"),inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(i),i.languages.css.selector={pattern:i.languages.css.selector,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-:.\w]+/,id:/#[-:.\w]+/,attribute:{pattern:/\[(?:[^[\]"']|("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1)*\]/,greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)[-*\w\xA0-\uFFFF]*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},attribute:{pattern:/^(\s*)[-\w\xA0-\uFFFF]+/,lookbehind:!0},value:[/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,{pattern:/(=\s*)[-\w\xA0-\uFFFF]+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],punctuation:/[()]/}},i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*/i,lookbehind:!0}}),i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:/#[\da-f]{3,8}/i,entity:/\\[\da-f]{1,8}/i,unit:{pattern:/(\d)(?:%|[a-z]+)/,lookbehind:!0},number:/-?[\d.]+/}),i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}}}),i.languages.markup&&i.languages.markup.tag.addInlined("script","javascript"),i.languages.js=i.languages.javascript,function(e){var t=e.util.clone(e.languages.javascript);e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+\s*(?:\s+(?:[\w.:-]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s{'">=]+|\{(?:\{(?:\{[^}]*\}|[^{}])*\}|[^{}])+\}))?|\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}))*\s*\/?)?>/i,e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\.{3}[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},e.languages.jsx.tag),e.languages.insertBefore("inside","attr-value",{script:{pattern:/=(\{(?:\{(?:\{[^}]*\}|[^}])*\}|[^}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var n=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(n).join(""):""},r=function(t){for(var a=[],o=0;o0&&a[a.length-1].tagName===n(i.content[0].content[1])&&a.pop():"/>"===i.content[i.content.length-1].content||a.push({tagName:n(i.content[0].content[1]),openedBraces:0}):a.length>0&&"punctuation"===i.type&&"{"===i.content?a[a.length-1].openedBraces++:a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?a[a.length-1].openedBraces--:l=!0),(l||"string"==typeof i)&&a.length>0&&0===a[a.length-1].openedBraces){var s=n(i);o0&&("string"==typeof t[o-1]||"plain-text"===t[o-1].type)&&(s=n(t[o-1])+s,t.splice(o-1,1),o--),t[o]=new e.Token("plain-text",s,null,s)}i.content&&"string"!=typeof i.content&&r(i.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||r(e.tokens)}))}(i),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^\s*(?:\/{3}|\*|\/\*\*)\s*@(?:param|arg|arguments)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^\s*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r=e.languages[t];if(r){var a=r["doc-comment"];if(!a){var o={"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,alias:"comment"}};a=(r=e.languages.insertBefore(t,"comment",o))["doc-comment"]}if(a instanceof RegExp&&(a=r["doc-comment"]={pattern:a}),Array.isArray(a))for(var i=0,l=a.length;i>>?=?|->|([-+&|])\2|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","class-name",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0},namespace:{pattern:/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)[a-z]\w*(\.[a-z]\w*)+/,lookbehind:!0,inside:{punctuation:/\./}},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(i),function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=f.substring(m+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),v&&b.push.apply(b,i([v])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(i),function(e){e.languages.php=e.languages.extend("clike",{keyword:/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,boolean:{pattern:/\b(?:false|true)\b/i,alias:"constant"},constant:[/\b[A-Z_][A-Z0-9_]*\b/,/\b(?:null)\b/i],comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),e.languages.insertBefore("php","string",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),e.languages.insertBefore("php","comment",{delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"}}),e.languages.insertBefore("php","keyword",{variable:/\$+(?:\w+\b|(?={))/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),e.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}});var t={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[.+?]|->\w+)*)/,lookbehind:!0,inside:{rest:e.languages.php}};e.languages.insertBefore("php","string",{"nowdoc-string":{pattern:/<<<'([^']+)'(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;/,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},"heredoc-string":{pattern:/<<<(?:"([^"]+)"(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;|([a-z_]\w*)(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\2;)/i,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:t}},"single-quoted-string":{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,alias:"string",inside:{interpolation:t}}}),delete e.languages.php.string,e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#)(?:[^?\n\r]|\?(?!>))*|\/\*[\s\S]*?(?:\*\/|$))*?(?:\?>|$)/gi)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(i),function(e){var t=e.languages.javascript,n=/{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})+}/.source,r="(@(?:param|arg|argument|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/[$\w\xA0-\uFFFF.]+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[[$\w\xA0-\uFFFF.]+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{punctuation:/[.,:?=<>|{}()[\]]/}},{pattern:/(@(?:augments|extends|class|interface|memberof!?|this)\s+)[A-Z]\w*(?:\.[A-Z]\w*)*/,lookbehind:!0,inside:{punctuation:/\./}}],example:{pattern:/(@example\s+)[^@]+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^(\s*(?:\*\s*)?).+$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(i),i.languages.actionscript=i.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),i.languages.actionscript["class-name"].alias="function",i.languages.markup&&i.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:{rest:i.languages.markup}}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},rest:e.languages.javascript}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(i),function(e){e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:/(\.\s*)#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*/,lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var t=["function","function-variable","method","method-variable","property-access"],n=0;n))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:type|opaque|declare|Class)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:await|Diff|Exact|Keys|ObjMap|PropertyType|Shape|Record|Supertype|Subtype|Enum)\b(?!\$)/,lookbehind:!0})}(i),i.languages.n4js=i.languages.extend("javascript",{keyword:/\b(?:any|Array|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),i.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),i.languages.n4jsd=i.languages.n4js,i.languages.typescript=i.languages.extend("javascript",{keyword:/\b(?:abstract|as|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),i.languages.ts=i.languages.typescript,function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),f=Object.keys(c);return i=0,function e(t){for(var n=0;n=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),p=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),p){var h=[p];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:md|markdown)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r/g,t),n&&(e=e+"|"+e.replace(/_/g,"\\*")),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``.+?``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\r?\n|\r)|$)/.source.replace(/__/g,r),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\r?\n|\r)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/(^[ \t]*(?:\r?\n|\r))(?: {4}|\t).+(?:(?:\r?\n|\r)(?: {4}|\t).+)*/m,lookbehind:!0,alias:"keyword"},{pattern:/``.+?``|`[^`\r\n]+`/,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\r?\n|\r))[\s\S]+?(?=(?:\r?\n|\r)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\r?\n|\r)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#+.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/__(?:(?!_)|_(?:(?!_))+_)+__/.source,!0),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/_(?:(?!_)|__(?:(?!_))+__)+_/.source,!0),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+?\2/.source,!1),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)| ?\[(?:(?!\]))+\])/.source,!1),lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(\[)[^\]]+(?=\]$)/,lookbehind:!0},content:{pattern:/(^!?\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},string:{pattern:/"(?:\\.|[^"\\])*"(?=\)$)/}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(i),i.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m},i.languages.go=i.languages.extend("clike",{keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,number:/(?:\b0x[a-f\d]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[-+]?\d+)?)i?/i,string:{pattern:/(["'`])(\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0}}),delete i.languages.go["class-name"],function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/i,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:true|false)\b/,block:{pattern:/^(\s*~?\s*)[#\/]\S+?(?=\s*~?\s*$|\s)/i,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}))}(i),i.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,number:/-?\d+\.?\d*(e[+-]?\d+)?/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},i.languages.less=i.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,operator:/[+\-*\/]/}),i.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}}),i.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^[^:=\r\n]+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},i.languages.objectivec=i.languages.extend("c",{keyword:/\b(?:asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,string:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.ocaml={comment:/\(\*[\s\S]*?\*\)/,string:[{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},{pattern:/(['`])(?:\\(?:\d+|x[\da-f]+|.)|(?!\1)[^\\\r\n])\1/i,greedy:!0}],number:/\b(?:0x[\da-f][\da-f_]+|(?:0[bo])?\d[\d_]*\.?[\d_]*(?:e[+-]?[\d_]+)?)/i,type:{pattern:/\B['`]\w*/,alias:"variable"},directive:{pattern:/\B#\w+/,alias:"function"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|object|of|open|prefix|private|rec|then|sig|struct|to|try|type|val|value|virtual|where|while|with)\b/,boolean:/\b(?:false|true)\b/,operator:/:=|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lxor|lsl|lsr|mod|nor|or)\b/,punctuation:/[(){}\[\]|_.,:;]/},i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]+?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/i,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},i.languages.python["string-interpolation"].inside.interpolation.inside.rest=i.languages.python,i.languages.py=i.languages.python,i.languages.reason=i.languages.extend("clike",{comment:{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:mod|land|lor|lxor|lsl|lsr|asr)\b/}),i.languages.insertBefore("reason","class-name",{character:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,alias:"string"},constructor:{pattern:/\b[A-Z]\w*\b(?!\s*\.)/,alias:"variable"},label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete i.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(i),i.languages.scss=i.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()]|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),i.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),i.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),i.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),i.languages.scss.atrule.inside.rest=i.languages.scss,i.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+\.?\d*|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t={url:/url\((["']?).*?\1\)/i,string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:if|else|for|return|unless)(?=\s+|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,number:/\b\d+(?:\.\d+)?%?/,boolean:/\b(?:true|false)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.+|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],punctuation:/[{}()\[\];:,]/};t.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^{|}$/,alias:"punctuation"},rest:t}},t.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:t}},e.languages.stylus={comment:{pattern:/(^|[^\\])(\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},"atrule-declaration":{pattern:/(^\s*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:t}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:(?:\{[^}]*\}|.+)|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:t}},statement:{pattern:/(^[ \t]*)(?:if|else|for|return|unless)[ \t]+.+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:t}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)[^{\r\n]*(?:;|[^{\r\n,](?=$)(?!(\r?\n|\r)(?:\{|\2[ \t]+)))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:t.interpolation}},rest:t}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\))?|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t]+)))/m,lookbehind:!0,inside:{interpolation:t.interpolation,punctuation:/[{},]/}},func:t.func,string:t.string,interpolation:t.interpolation,punctuation:/[{}()\[\];:.]/}}(i);var l=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",l),i.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^_`|~]+/i,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},i.languages.yaml={scalar:{pattern:/([\-:]\s*(?:![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\2[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:/(\s*(?:^|[:\-,[{\r\n?])[ \t]*(?:![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?)(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,alias:"number"},boolean:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:true|false)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},null:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \t]*(?:$|,|]|}|\s*#))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+\.?\d*|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml,t.a=i},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,t){for(var n,l,s=i(e),u=1;uP.length&&P.push(e)}function N(e,t,n){return null==e?0:function e(t,n,r,a){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var s=!1;if(null===t)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case i:s=!0}}if(s)return r(a,t,""===n?"."+I(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u