You cannot do that due to following. Application Type is an artifact type which is deployed only in AppFactory. So you can read what ever things in apptype only from App Factory. So the simplest and most straight forward solution is to from RestBasedJenkinsCIConnector and pass it to jenkins as a parameter. Thats how we did similar thing in other places.
Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Nov 14, 2014 at 8:08 PM, Mahesh Chinthaka <[email protected]> wrote: > Hi all, > > Is there a way to do $subject ? > > Actually my requirement is like following. > I need to execute following code in appfactory.deployers bundle > > String deploymentType=ApplicationTypeManager.getInstance() > .getApplicationTypeBean(applicationType) > .getProperty(DEPLOYER_TYPE).toString(); > Any helps please ? > > -- > *Mahesh Chinthaka Vidanagama* | Software Engineer > WSO2, Inc | lean. enterprise. middleware. > #20, Palm Grove, Colombo 03, Sri Lanka > Mobile: +94 71 63 63 083 | Work: +94 112 145 345 > Email: [email protected] | Web: www.wso2.com >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
