|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.property.ValueProperty
|
+--com.infoteria.asteria.flowlibrary2.property.StringProperty
|
+--com.infoteria.asteria.flowlibrary2.property.FilePathProperty
StringPropertyを拡張してFilePathの設定に特化したクラスです。
HomeModeを設定することにより相対パスを設定されたユーザのHomeDirectoryで補完したパスを取得できます。
| フィールドの概要 | |
static int |
HOME_OWNER
推奨されていません。 setHomeModeで使用するシンボル - ProjectOwner |
static int |
HOME_USER
推奨されていません。 setHomeModeで使用するシンボル - ExecuteUser |
static String |
STR_HOME_OWNER
推奨されていません。 setHomeModeで使用するシンボル - ProjectOwner |
static String |
STR_HOME_USER
推奨されていません。 setHomeModeで使用するシンボル - ExecuteUser |
| コンストラクタの概要 | |
FilePathProperty(String name)
推奨されていません。 FilePathProperty(name, false, true, null) と同じです。 |
|
FilePathProperty(String name,
boolean required)
推奨されていません。 FilePathProperty(name, required, true, null) と同じです。 |
|
FilePathProperty(String name,
boolean required,
boolean mapable)
推奨されていません。 FilePathProperty(name, required, mapable, null) と同じです。 |
|
FilePathProperty(String name,
boolean required,
boolean mapable,
String value)
推奨されていません。 コンストラクタ |
|
| メソッドの概要 | |
void |
assign(Property prop)
推奨されていません。 |
File |
getExistFile(ExecuteContext context)
推奨されていません。 ファイルを取得します。 |
File |
getFile(ExecuteContext context)
推奨されていません。 ファイルを取得します。 |
String |
getFileName(ExecuteContext context)
推奨されていません。 ファイル名を取得します。 |
int |
getHomeMode()
推奨されていません。 HomeModeを取得します。 |
static int |
getHomeModeFromString(String str)
推奨されていません。 文字列のHomeModeをintに変換します。 |
void |
setHomeMode(int value)
推奨されていません。 HomeModeを設定します。 |
void |
setHomeMode(String str)
推奨されていません。 |
| クラス com.infoteria.asteria.flowlibrary2.property.StringProperty から継承したメソッド |
setValue, strValue |
| クラス com.infoteria.asteria.flowlibrary2.property.ValueProperty から継承したメソッド |
clone, getName, getType, getValue, getValueType, init, isMapable, isNull, isRequired, setRequired, setString, toString |
| クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
public static final int HOME_OWNER
public static final int HOME_USER
public static final String STR_HOME_OWNER
public static final String STR_HOME_USER
| コンストラクタの詳細 |
public FilePathProperty(String name)
public FilePathProperty(String name,
boolean required)
public FilePathProperty(String name,
boolean required,
boolean mapable)
public FilePathProperty(String name,
boolean required,
boolean mapable,
String value)
name - プロパティ名required - このプロパティが必須プロパティの場合はtruemapable - このプロパティがMapping可能な場合はtruevalue - デフォルト値| メソッドの詳細 |
public int getHomeMode()
public void setHomeMode(int value)
public void setHomeMode(String str)
public static int getHomeModeFromString(String str)
public String getFileName(ExecuteContext context)
throws PropertyException
PropertyException - HomeMode=ExecuteUserで実行ユーザが設定されていない場合
public File getFile(ExecuteContext context)
throws PropertyException
PropertyException - HomeMode=ExecuteUserで実行ユーザが設定されていない場合
public File getExistFile(ExecuteContext context)
throws PropertyException
PropertyException - HomeMode=ExecuteUserで実行ユーザが設定されていない場合public void assign(Property prop)
Property の記述: ValueProperty 内の assign
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||