equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
29 public class CDSOptions { |
29 public class CDSOptions { |
30 public String xShareMode = "on"; |
30 public String xShareMode = "on"; |
31 public String archiveName; |
31 public String archiveName; |
32 public ArrayList<String> prefix = new ArrayList<String>(); |
32 public ArrayList<String> prefix = new ArrayList<String>(); |
33 public ArrayList<String> suffix = new ArrayList<String>(); |
33 public ArrayList<String> suffix = new ArrayList<String>(); |
|
34 public boolean useSystemArchive = false; |
34 |
35 |
35 // Indicate whether to append "-version" when using CDS Archive. |
36 // Indicate whether to append "-version" when using CDS Archive. |
36 // Most of tests will use '-version' |
37 // Most of tests will use '-version' |
37 public boolean useVersion = true; |
38 public boolean useVersion = true; |
38 |
39 |
66 |
67 |
67 public CDSOptions setUseVersion(boolean use) { |
68 public CDSOptions setUseVersion(boolean use) { |
68 this.useVersion = use; |
69 this.useVersion = use; |
69 return this; |
70 return this; |
70 } |
71 } |
|
72 |
|
73 public CDSOptions setUseSystemArchive(boolean use) { |
|
74 this.useSystemArchive = use; |
|
75 return this; |
|
76 } |
71 } |
77 } |