Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
HOON
Contributor
Contributor

I want to print the list in the console.

I'm using a talend component kit, and I finished developing it like in the picture, but I want to print the value I chose on the console. I want to print the console from the processor class where the Init Begin Main runs.

And I would like to specify the Default value in the form of that list. What should I do?

Labels (2)
1 Reply
undx
Creator
Creator

Hi @Lee Jaehoon​ ,

I don't get why you're using the `@Proposable` annotation as your `@Option` is type of enum. It's not necessary. To set a default value to your option, just set your member to an enum value. smtg like `ActionEnum config = ActionEnum.Insert; `

For logging, you can use a logger in your class and do smtg like log.warn("[myMethod] vlaue: {}", config);

 

Best regards