SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Java API - method JobPropertyEx

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Java API - method JobPropertyEx
Author Message
swapswire



Joined: 22 Jun 2007
Posts: 7

Post Java API - method JobPropertyEx Reply with quote
Hi,

I am attempting to use the method JobPropertyEx and retrieve values for a configurable set of properties and am coming across the following problem. If I specify the property list "ACCOUNT,COMMAND,HOST" I am getting back something along the lines of:

<Command>tab<Host>

I was anticipating that it would return:

tab<Command>tab<Host>

The issue is that unless I can parse the StringHolder using getToken and get back a number of tabs consistent with the number of properties requested I cannot use this method. I would never know which value relates to which property.

Any suggestions or advice welcome?

Can I also put in an enhancement request that there are methods returning lists of jobs/folders/properties etc return an array of values (or even HashTable or TreeMap) as well as StringHolder.

Thanks

Peter
Wed Apr 30, 2008 7:45 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7949

Post Reply with quote
I guess it should return tab<Command>tab<Host> in case ACCOUNT is empty. This could be a bug.

As a suggestion, you can fetch one property at a time, using either JobProperty or JobPropertyEx. The result will be a single value and you will not need to parse packed strings returned for multi-property results.


BTW, as a status update for your other post regarding web-browser refresh issues with the web interface, this issue is still in the queue. I don't have an ETA as we don't yet know the cause of it and so cannot estimate what is required to fix it.
Wed Apr 30, 2008 10:58 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.