rhbz1110627 zanata init

https://bugzilla.redhat.com/show_bug.cgi?id=1110627
and https://bugzilla.redhat.com/show_bug.cgi?id=1038852

Depends on https://github.com/zanata/zanata-api/pull/15 and https://github.com/zanata/zanata-server/pull/520
Probably no. setter is always string (taken from command line) whereas getter can be usable type (consumed by the application). 

----- Original Message -----

> From: "David Mason" <notifications@github.com>
> To: "zanata/zanata-client" <zanata-client@noreply.github.com>
> Cc: "Patrick Huang" <pahuang@redhat.com>
> Sent: Friday, July 18, 2014 1:43:58 PM
> Subject: Re: [zanata-client] rhbz1110627 zanata init (#27)

> In
> zanata-client-commands/src/main/java/org/zanata/client/commands/init/SourceConfigPrompt.java:
> > +/**
> > + * Prompt for src dir.
> > + * Prompt for includes and excludes.
> > + * Show a sample of the document names.
> > + * Prompt for acceptance or back to the start.
> > + *
> > + * @author Patrick Huang <a
> > + *         href="mailto:pahuang@redhat.com">pahuang@redhat.com</a>
> > + */
> > +class SourceConfigPrompt {
> > +    private final Interactiveable console;
> > +    private final ConfigurableProjectOptions opts;
> > +    private final PushOptions pushOptions;
> > +    // includes and excludes in ConfigurableProjectOptions do not have
> > symmetric
> > +    // setter/getter (set method accepts String but get method returns
> > +    // ImmutableList) therefore we have to keep instance variables here

> Is this something that could be fixed, rather than using a workaround?

> —
> Reply to this email directly or view it on GitHub .