thanks a ton.
Collection<View> hudson = Hudson.getInstance().getViews();
Iterator<View> iteratorv = hudson.iterator();
// while loop
while (iteratorv.hasNext()) {
listener.getLogger().println("value= " +
iteratorv.next().getViewName());
}
regards
On Thu, Apr 3, 2014 at 2:22 PM, Ulli Hafner <[email protected]>wrote:
> Jenkins.getViews()
>
> Am 03.04.2014 um 07:30 schrieb Irfan Sayed <[email protected]>:
>
> hi,
>
> i need to get the list of all views currently present in the jenkins
> instance programmatically
> is there any API which can give this info ?
>
> if not, which class i can use/extend to get this info
>
> please suggest
>
> regards
> irfan
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.