version = pi.getPluginVersion();
}
@Override
public SimpleFieldSet getFieldSet() {
SimpleFieldSet sfs = new SimpleFieldSet(true);
if(identifier != null) // is optional on these two only
sfs.putSingle("Identifier", identifier);
sfs.putSingle("PluginName", classname);
sfs.put("IsTalkable", isTalkable);
sfs.put("LongVersion", longVersion);
sfs.putSingle("Version", version);
if (detailed) {
sfs.putSingle("OriginUri", originuri);
sfs.put("Started", started);
//sfs.putSingle("TempFilename", tempfilename);
}
return sfs;
}