public interface

IUnitContribution

com.pnfsoftware.jeb.core.IUnitContribution

Class Overview

A unit contribution.

Summary

Public Methods
abstract String getItemBasicInformation(IInteractiveUnit targetUnit, long itemId)
Retrieve a simple contribution for a given interactive item.
abstract boolean isTarget(IUnit unit)
Convenience method used to determine if a unit is the (or one of the) intended target of this contribution.

Public Methods

public abstract String getItemBasicInformation (IInteractiveUnit targetUnit, long itemId)

Retrieve a simple contribution for a given interactive item. The contribution is presentation-less string whose format is unspecified.

Parameters
targetUnit the target unit
itemId the identifier of an item managed by the target unit
Returns
  • a contribution string, or null

public abstract boolean isTarget (IUnit unit)

Convenience method used to determine if a unit is the (or one of the) intended target of this contribution.

Parameters
unit the intended target
Returns
  • true of the provided unit can be contributed to by this contribution