Skip to content

Commit e90208e

Browse files
authored
Merge pull request #209 from ansys/LGP/25R2/25R2-mc-java-api
updated formatting. Rearranged toc. Renamed index-all to reference-all.
2 parents 4e10f15 + 5b064c5 commit e90208e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+946
-976
lines changed

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXAnalysis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you also want to support Athena, you should extend `IPHXAthenaAnalysis` inste
3131
### execute
3232
```java
3333
void execute()
34-
throws java.lang.Exception
34+
throws java.lang.Exception
3535
```
3636
Executes the analysis. If the analysis does not run successfully, e.g. the solution does not converge, then an exception should be thrown.
3737

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXComponent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The above functions are used by the "describe" command in ModelCenter Remote Exe
4040
### end
4141
```java
4242
void end()
43-
throws java.lang.Exception
43+
throws java.lang.Exception
4444
```
4545
Notifies the driver that it has ended. The driver should perform any necessary shutdown functions.
4646

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXDriver.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This is the interface that drivers managed by ModelCenter Remote Execution must
3232
### initializeIterations
3333
```java
3434
void initializeIterations()
35-
throws java.lang.Exception
35+
throws java.lang.Exception
3636
```
3737
Initializes the driver to a starting state. This function will be called once before a series of step() calls will be made. The function should reset things like iteration counts to initial values.
3838

@@ -42,7 +42,7 @@ Initializes the driver to a starting state. This function will be called once be
4242
### startIteration
4343
```java
4444
void startIteration()
45-
throws java.lang.Exception
45+
throws java.lang.Exception
4646
```
4747
Performs the first step for an iteration of a driver. The driver should set values for all output reference variables. The client application will load these values and compute new values for the input references.
4848

@@ -52,7 +52,7 @@ Performs the first step for an iteration of a driver. The driver should set valu
5252
### endIteration
5353
```java
5454
boolean endIteration()
55-
throws java.lang.Exception
55+
throws java.lang.Exception
5656
```
5757
Performs the second step for an iteration of a driver. Prior to calling this function, the client application will have set values for all input reference variables. The driver should use these values to determine the next iteration, if any.
5858

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXHaltableComponent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This is a specialized interface for ModelCenter Remote Execution. If a component
2323
### halt
2424
```java
2525
void halt()
26-
throws java.lang.Exception
26+
throws java.lang.Exception
2727
```
2828
Notifies the component to stop doing whatever it is currently doing.
2929

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXMonitorable.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This is the interface that analyses which provide information about running proc
2828
### listProcesses
2929
```java
3030
PHXProcessInfo[] listProcesses()
31-
throws java.io.IOException
31+
throws java.io.IOException
3232
```
3333
Lists all the running processes associated with a component.
3434

@@ -38,7 +38,7 @@ Lists all the running processes associated with a component.
3838
### listMonitorableFiles
3939
```java
4040
java.lang.String[] listMonitorableFiles()
41-
throws java.io.IOException
41+
throws java.io.IOException
4242
```
4343
Lists all items that may be monitored for output as a component is running. Note that this is normally in addition to any PHXRawFile output variables that your component exposes. Because of this, these names must not conflict with any variable names.
4444

@@ -48,7 +48,7 @@ Lists all items that may be monitored for output as a component is running. Note
4848
### getMonitor
4949
```java
5050
java.lang.Object getMonitor(java.lang.String monitorName)
51-
throws PHXNoSuchObjectException
51+
throws PHXNoSuchObjectException
5252
```
5353
Gets a specified monitor. This method can return PHXRawFile objects to publish files for monitoring that don't appear as a regular variable, or PHXMonitorableStream objects to publish random streams of monitor data.
5454

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXRunQueue.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ public interface IPHXRunQueue
1717

1818
### setRunQueue
1919
```java
20-
void setRunQueue(java.lang.String connector, java.lang.String queue)
21-
throws java.lang.Exception
20+
void setRunQueue(java.lang.String connector,
21+
java.lang.String queue)
22+
throws java.lang.Exception
2223
```
2324
Sets the run queue for a component. It is important that this class throws [PHXNoSuchCategoryException](library/PHXNoSuchCategoryException.md) and [ClassNotFoundException](../util/PHXClassNotFoundException.md) in the appropriate cases as they are handled in special ways by the [PHXLibrarianMounter](library/PHXLibrarianMounter.md) and [PHXLibrarianCombiner](library/PHXLibrarianCombiner.md).
2425

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXSelfManager.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ This interface is for components that determine their properties at runtime. The
3333
### getValue
3434
```java
3535
java.lang.String getValue(java.lang.String name)
36-
throws PHXNoSuchObjectException, java.lang.Exception
36+
throws PHXNoSuchObjectException,
37+
java.lang.Exception
3738
```
3839
Function for retrieving a specified value.
3940

@@ -49,8 +50,11 @@ Function for retrieving a specified value.
4950

5051
### setValue
5152
```java
52-
void setValue(java.lang.String name, java.lang.String value)
53-
throws PHXNoSuchObjectException, PHXNoSuchWriteableObjectException, java.lang.Exception
53+
void setValue(java.lang.String name,
54+
java.lang.String value)
55+
throws PHXNoSuchObjectException,
56+
PHXNoSuchWriteableObjectException,
57+
java.lang.Exception
5458
```
5559
Function for setting a specified value.
5660

@@ -66,7 +70,8 @@ Function for setting a specified value.
6670
### getPropertyDescriptors
6771
```java
6872
PHXPropertyDescriptor[] getPropertyDescriptors(java.lang.String name)
69-
throws PHXNoSuchObjectException, java.lang.Exception
73+
throws PHXNoSuchObjectException,
74+
java.lang.Exception
7075
```
7176
Function for retrieving the properties of an object.
7277

@@ -96,7 +101,7 @@ Function for retrieving the methods of an object.
96101
### invoke
97102
```java
98103
java.lang.String invoke(java.lang.String methodName)
99-
throws java.lang.Exception
104+
throws java.lang.Exception
100105
```
101106
Invokes the named method.
102107

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXSelfManager2.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ This interface extends [`IPHXSelfManager`](IPHXSelfManager.md) and provides new
3737
### getValue2
3838
```java
3939
java.lang.Object getValue2(java.lang.String name)
40-
throws PHXNoSuchObjectException, java.lang.Exception
40+
throws PHXNoSuchObjectException,
41+
java.lang.Exception
4142
```
4243
Function for retrieving a specified value.
4344

@@ -48,13 +49,16 @@ Function for retrieving a specified value.
4849
- The value to be returned as any type of java Object.
4950

5051
**Throws:**
51-
- `PHXNoSuchObjectException` - thrown if the specified name does not exist
52+
- [`PHXNoSuchObjectException`](PHXNoSuchObjectException.md) - thrown if the specified name does not exist
5253
- `java.lang.Exception` - an exception that may occur
5354

5455
### setValue2
5556
```java
56-
void setValue2(java.lang.String name, PHXStringBuffer value)
57-
throws PHXNoSuchObjectException, PHXNoSuchWriteableObjectException, java.lang.Exception
57+
void setValue2(java.lang.String name,
58+
PHXStringBuffer value)
59+
throws PHXNoSuchObjectException,
60+
PHXNoSuchWriteableObjectException,
61+
java.lang.Exception
5862
```
5963
Function for setting a specified value.
6064

@@ -63,6 +67,6 @@ Function for setting a specified value.
6367
- `value` - the String representation of the value to set
6468

6569
**Throws:**
66-
- `PHXNoSuchObjectException` - thrown if the specified name does not exist
67-
- `PHXNoSuchWriteableObjectException` - thrown if the specified name cannot be modified
70+
- [`PHXNoSuchObjectException`](PHXNoSuchObjectException.md) - thrown if the specified name does not exist
71+
- [`PHXNoSuchWriteableObjectException`](PHXNoSuchWriteableObjectException.md) - thrown if the specified name cannot be modified
6872
- `java.lang.Exception` - an exception that may occur

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXSelfManager3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This interface extends [`IPHXSelfManager2`](IPHXSelfManager2.md) and provides a
3636
### invoke2
3737
```java
3838
PHXInvokeReturn invoke2(java.lang.String methodName)
39-
throws java.lang.Exception
39+
throws java.lang.Exception
4040
```
4141
Invokes the named method.
4242

2025R2/modelCenter_java_api/com/phoenix_int/aserver/IPHXSetupFromFile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This interface defines the contract for components that can be set up or initial
2626
## Method Detail
2727

2828
### setupFromFile
29-
```
29+
```java
3030
public void setupFromFile(java.lang.String fileName)
3131
throws java.io.IOException
3232
```

0 commit comments

Comments
 (0)