[BEAM-2779] PipelineOptionsFactory should prevent non PipelineOptions interfaces from being constructed
This closes #3949 Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/dc3e2f75 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/dc3e2f75 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/dc3e2f75 Branch: refs/heads/master Commit: dc3e2f756caf29309bcfb54321f390d50787a49b Parents: 92615ca 7165e55 Author: Luke Cwik <[email protected]> Authored: Wed Oct 11 16:10:12 2017 -0700 Committer: Luke Cwik <[email protected]> Committed: Wed Oct 11 16:10:12 2017 -0700 ---------------------------------------------------------------------- .../beam/runners/apex/ApexPipelineOptions.java | 2 +- .../dataflow/options/CloudDebuggerOptions.java | 3 +- .../options/DataflowProfilingOptions.java | 3 +- .../sdk/options/PipelineOptionsFactory.java | 45 ++++++++++++++++++++ .../sdk/options/PipelineOptionsFactoryTest.java | 39 +++++++++++++++++ 5 files changed, 89 insertions(+), 3 deletions(-) ----------------------------------------------------------------------
