🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Java API and predefined processes"

User: "colo"
New Altair Community Member
Updated by Jocelyn
Hi everybody,

I am developing some generic processes that shall be configured by a minimal GUI. So I have to do some parameter settings using the Java API.
I just wrote some wrapper classes to easily use different data sources (DB, Repository or File). I first thought of adding the relevant operator from my Java code, but then I have to take care of connections and such things. My last idea was to use the "Select Subprocess" operator and add the three alternatives as already connected operators inside. This way I will just have to choose the correct subprocess and set the corresponding operator's parameters. Do you see any disadvantages for this approach?

Working on this, some specific questions came to my mind:
  • Which way of addressing operators from Java do you suggest? Assigning unique names in the RapidMiner GUI and use them for getOperator()?
  • Is there a way to get the names of the predefined database connections? I couldn't find the place, where they are loaded for the ParameterTypeDatabaseConnection.
  • What is the best way for loading a process from repository and store it at another location? I am currently loading the process as described here
I'd be glad if someone could answer some of the questions.

Thanks and best regards
Matthias

Find more posts tagged with