ibi.broker.api.data.schedule
Class DistributionPrint
java.lang.Object
ibi.broker.api.data.schedule.Distribution
ibi.broker.api.data.schedule.DistributionPrint
- All Implemented Interfaces:
- java.io.Serializable
public class DistributionPrint
- extends Distribution
Print distribution is one of five distribution types supported by ReportCaster.
The DistributionPrint class extends the abstract Distribution class and is used when the
intended distribution method for the scheduled ReportCaster job is via a Printer.
The code below illustrates how DistributionPrint is used:
+ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Copyright (c) 2004 Information Builders, Inc. All Rights Reserved. +
+ +
+ Information Builders offers sample API programs as a heuristic device. +
+ They are not intended, as is, for production use. Licensed users are +
+ welcome to alter and extend these samples and deploy them in other +
+ environments, or alternate configurations, as they see fit. +
+ Information Builders will support the documented functionality of +
+ its API classes and methods. However, Information Builders is not +
+ responsible for functionality or behavior of products built with +
+ its API unless the documented behavior of its discrete classes and +
+ methods is different than the actual results. +
+ +
+ Redistributions of IBI source code and documentation must be within +
+ the scope of the Information Builders Software License Agreement. +
+ +
+ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
public Destination createDestinationSingleAddress()
{
Destination destination = new Destination();
destination.setType(Destination.SINGLE_ADDRESS);
destination.setSingleAddress("NETWORK_PPRINTER_21X");
return destination;
}
public DistributionPrint createDistributionPrint()
{
DistributionPrint distribution = new DistributionPrint();
Destination destination = createDestinationSingleAddress();
distribution.setDestination(destination);
return distribution;
}
- See Also:
- Serialized Form
Method Summary |
Destination |
getDestination()
Throws the destination object, which contains information indicating
the target(s) of distribution. |
void |
setDestination(Destination destination)
Assigns the destination object, which contains information indicating
the target(s) of distribution. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributionPrint
public DistributionPrint()
getDestination
public Destination getDestination()
- Throws the destination object, which contains information indicating
the target(s) of distribution.
- Returns:
- The Destination object indicating the target of distribution.
setDestination
public void setDestination(Destination destination)
- Assigns the destination object, which contains information indicating
the target(s) of distribution.
- Parameters:
destination
- A Destination object indicating the target of distribution.
Copyright © 2006 Information Builders, Incorporated.