Current Slide

Small screen detected. You are viewing the mobile version of SlideWiki. If you wish to edit slides you will need to use a larger device.

Beispiel: Pipelet

public class Example extends Pipelet
{
   // a pipelet instance variable
   private String name;
   // the execute method - called by multiple threads concurrently
   public int execute(PipelineDictionary dict)
   {
       // we get the company name from a profile and store it in an instance variable
      Profile profile = (Profile)dict.get("SomeProfile");
      name = profile.getDataSheet().getCompanyName();
      // do something here
      // ...
      profile.getDataSheet().setCompanyName(name);
      return PIPELET_NEXT;
   }
}

Speaker notes:

Content Tools

Sources

There are currently no sources for this slide.