AnalyzeOptions#
Options for Project#analyze. They select which analytics the returned ScheduleResult carries. new AnalyzeOptions() requests no analytics.
Declaration#
Set the field with the fluent setter: new AnalyzeOptions().withAnalytics(new AnalyticsOptions().withSlack(true)).
Constructors#
AnalyzeOptions()#
public
Creates options with analytics at its default.
Fields#
| Field | Type | Default | Description |
|---|---|---|---|
analytics |
AnalyticsOptions |
new AnalyticsOptions() (no analytics) |
Requests critical path and slack. Fills ScheduleResult.analytics. |
analytics#
public AnalyticsOptions analytics ;
Turns on AnalyticsOptions.slack and AnalyticsOptions.criticalPath. With both flags false (the default), ScheduleResult.analytics is null. With either flag set, it holds an Analytics value. Check its status before reading the data.
Methods#
withAnalytics#
public AnalyzeOptions
Assigns analytics and returns this instance for chaining.
Returns - this AnalyzeOptions.
deepClone#
public AnalyzeOptions
Returns a copy that doesn't share the analytics object with this instance.
Returns - a new AnalyzeOptions with the same values.
copy#
public AnalyzeOptions
Returns a shallow copy. The copy shares the analytics object with this instance.
Returns - a new AnalyzeOptions with the same field value.
equals, hashCode, toString#
public boolean
public int
public String
Inherited from ValueRecord. Two AnalyzeOptions are equal when their analytics values are equal. toString() lists the field.
Example#
;
;
Related#
Project#analyze- the call that takes itAnalyticsOptions- the slack and critical path switchesScheduleResult- the result it shapes- Analyzing without scheduling - analytics over supplied or current dates