All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.env.Environment.class Maven / Gradle / Ivy

????4#com/groupbyinc/flux/env/Environmentjava/lang/ObjectEnvironment.java.Lcom/groupbyinc/flux/common/SuppressForbidden;reasonconfigures paths for the system4com/groupbyinc/flux/common/settings/Settings$Builder	,com/groupbyinc/flux/common/settings/SettingsBuilder4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingPropertyPATH_HOME_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;ALcom/groupbyinc/flux/common/settings/Setting;DEFAULT_PATH_CONF_SETTINGPATH_CONF_SETTINGPATH_SCRIPTS_SETTINGDEFAULT_PATH_DATA_SETTINGSLcom/groupbyinc/flux/common/settings/Setting;>;PATH_DATA_SETTINGDEFAULT_PATH_LOGS_SETTINGPATH_LOGS_SETTINGPATH_REPO_SETTINGPATH_SHARED_DATA_SETTINGPIDFILE_SETTINGsettings.Lcom/groupbyinc/flux/common/settings/Settings;	dataFiles[Ljava/nio/file/Path;dataWithClusterFiles	repoFiles
configFileLjava/nio/file/Path;scriptsFilepluginsFilemodulesFilesharedDataFilebinFilelibFilelogsFilepidFiletmpFile
fileStores[Ljava/nio/file/FileStore;$assertionsDisabledZ1(Lcom/groupbyinc/flux/common/settings/Settings;)V()V68
9java.io.tmpdir;java/lang/System=getProperty&(Ljava/lang/String;)Ljava/lang/String;?@
>Ajava/lang/StringC'com/groupbyinc/flux/common/io/PathUtilsEget;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;GH
FI1(	K	Mexists1(Lcom/groupbyinc/flux/common/settings/Settings;)ZOP
QB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;GS
T"com/groupbyinc/flux/common/StringsV	cleanPathX@
WYjava/lang/IllegalStateException[java/lang/StringBuilder]
^9getKey()Ljava/lang/String;`a
bappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;de
^f is not configuredhtoStringja
^k(Ljava/lang/String;)V6m
\njava/nio/file/Pathp	r	t'(	vconfigxresolve((Ljava/lang/String;)Ljava/nio/file/Path;z{q|	~)(	?scripts?plugins?*(	?	?java/util/List?'com/groupbyinc/flux/cluster/ClusterName?CLUSTER_NAME_SETTING?	??isEmpty()Z????size()I????#$	?%$	?(I)Ljava/lang/Object;G???value?a
??data?	?,(	?	?&$	?	?	?/(	?logs? 	?0(	?bin?-(	?lib?.(	?modules?+(	?builder8()Lcom/groupbyinc/flux/common/settings/Settings$Builder;??
?putf(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;??

?K([Ljava/lang/Object;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;??

?putArrayZ(Ljava/lang/String;Ljava/util/List;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;??

?build0()Lcom/groupbyinc/flux/common/settings/Settings;??

?!"	?homeFileiIthis%Lcom/groupbyinc/flux/env/Environment;	dataPaths$Ljava/util/List;Ljava/util/List;clusterName)Lcom/groupbyinc/flux/cluster/ClusterName;	repoPaths
finalSettings6Lcom/groupbyinc/flux/common/settings/Settings$Builder;()[Ljava/nio/file/Path;()Ljava/nio/file/Path;Ljava/lang/Deprecated;resolveRepoFile=([Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;G?
F?locationLjava/lang/String;resolveRepoURL(Ljava/net/URL;)Ljava/net/URL;java/net/MalformedURLException?java/net/URISyntaxException?file?java/net/URL?getProtocol?a
??equalsIgnoreCase(Ljava/lang/String;)Z??
D?getHosta
?equals(Ljava/lang/Object;)Z
DtoURI()Ljava/net/URI;

?9([Ljava/nio/file/Path;Ljava/net/URI;)Ljava/nio/file/Path;G
FtoUriqjava/net/URItoURL()Ljava/net/URL;
jargetFilea
?!/indexOf(Ljava/lang/String;)I!"
D#	substring(I)Ljava/lang/String;%&
D'(II)Ljava/lang/String;%)
D*
?n??
-toExternalForm/a
?09(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V62
?3pathposjarTailfilePathinternalUrlLjava/net/URL;
normalizedUrlex Ljava/net/MalformedURLException;Ljava/net/URISyntaxException;urlgetFileStore/(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;java/io/IOExceptionB23	D#com/groupbyinc/flux/env/ESFileStoreFgetMatchingFileStoreI(Ljava/nio/file/Path;[Ljava/nio/file/FileStore;)Ljava/nio/file/FileStore;HI
GJassertEquivalentM(Lcom/groupbyinc/flux/env/Environment;Lcom/groupbyinc/flux/env/Environment;)V%?
N%assertEquals9(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)VQR
S&?
U&'?
X')?
[)*?
^*-?
a-.?
d.+?
g+/?
j/0?
m01?
p1actualexpected45	ujava/util/Objectsw
deepEquals'(Ljava/lang/Object;Ljava/lang/Object;)Zyz
x{java/lang/AssertionError}actual  [?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;d?
^?] is different than [ ?]?(Ljava/lang/Object;)V6?
~?Ljava/lang/Object;namejava/lang/Class?desiredAssertionStatus??
??	path.home?	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;??	?simpleStringx(Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?default.path.conf?	path.conf?java/util/function/Function?identity()Ljava/util/function/Function;?????(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V6?
?path.scripts?default.path.data?java/util/Collections?	emptyList()Ljava/util/List;??
??listSetting?(Ljava/lang/String;Ljava/util/List;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?	?	path.data??(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?default.path.logs?	path.logs?	path.repo?path.shared_data?pidfile?java/util/ArrayList?
?9getDefaultFileSystem()Ljava/nio/file/FileSystem;??
F?java/nio/file/FileSystem?
getFileStores()Ljava/lang/Iterable;??
??java/lang/Iterable?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext????next()Ljava/lang/Object;????java/nio/file/FileStore?(Ljava/nio/file/FileStore;)V6?
G?add?
??
??toArray(([Ljava/lang/Object;)[Ljava/lang/Object;??
??3storeLjava/nio/file/FileStore;	allStores0Ljava/util/ArrayList;Ljava/util/ArrayList;	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable
DeprecatedRuntimeVisibleAnnotations
Exceptions
SourceFileInnerClassesRuntimeInvisibleAnnotations!?????????? ?!"#$%$&$'()(*(+(,(-(.(/(0(1(234567???*?:*??,?(:,?+:??Y?,:*?.:????Y?^Y?_?1?g?g?l?4??M?M?1??2;??<=??>]??^???????????1??2;??<=??>]??^????????????p,5(P\??XT6?eG7?m?8?x49:?,;:?<=?<>?????:?b?? ?,?02<>KPX	\
^e
mx?????????F	 ?q?	?D?(?DDD???$?A?B?'??/*?w?????$)??/*???????+*??/*???????/-??/*???????3.??/*???????7+??/*?İ????;/??/*????????0??/*???????F1??/*?L?????K	@A?2*?E?K??5(?_C	LM???*?O+?OP?T*?V+?VW?T*?Y+?YZ?T*?\+?\]?T*?_+?_`?T*?b+?bc?T*?e+?ef?T*?h+?hi?T*?k+?kl?T*?n+?no?T*?q+?qr?T???s??t??2ghi*j8kFlTmbnpo~p?q?r
QR??E?v?A*+?|?9?~Y?^Y?_??g,?g??g*????g+????g?l????? Es?Et?E???
uDv??D?8?	P?????v??Y??S???N??Y??S???u?Y??u???Y??S???s??Y??S?????????Y??S??????????Y??S??????Y??S?????YIJ????Y??S????Ƹ????Y??S??????Y??S??????Y??S??????Y??K?Ѷ׹?L+???+????M*?GY,???W???**??G?????E??.
??@???@???^/3#465@6S7f8i9:?;?<?=?>???@?A?Bmn.o;p>qOr?@?
???"

	@s




© 2015 - 2025 Weber Informatics LLC | Privacy Policy